Yes, I noticed a few issues too, they are interesting because they mean some info/tags are missing on the wiki. It will be useful to make an api checker tool based on that.
@plicatibu I think that mp3 in some cases uses the media system in the OS (as there may be hardware to accelerate the playback), but wav uses code (software playback) within Gideros to play. If wav files work then the issue will be specific to mp3.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Edit: it looks like we have indeed the sidebar but it is hidden (it's the little arrow near the gideros logo at the top of the page). So its placement depends on the skin.
The sidebar is already here but the default skin puts it in a place that is not usable. You just need to change the default skin to one of the above. The skins are already installed. Then we can modifiy this https://wiki.giderosmobile.com/index.php/MediaWiki:Sidebar and add all the links we want.
That seems easy, I don't see the problem changing the default skin.
@hgy29 I cannot change the content of the sidebar because it needs special permission. We have the side bar! now needs to modify its content and we are done?!
you can use this wikimedia function: {{Special:PrefixIndex/Bitmap}} To retrieve every page links corresponding to bitmap in this example. Can be used on anything (accelerometer, bitmap, b2,...)
Actually it was me doing some tests! I can't do what you can in the sidebar unluckily, but you can add a category tree (which I did). Now we have to add a category to each API page...
I think changing the default theme has broken the trail thing at the top of the page (now missing) ?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@SinisterSoft I found the trail thing very annoying I am glad it's gone but I think we can add it back if you want (I have to look at the mediawiki help page). @hgy29 it seems you want to mimic the old version but I don't think that will work because gideros is too big. Can I suggest to only link to Main API functions, Plugins functions and maybe LUA functions in the menu bar?
It is all handled by categories, and you can configure the depth, so all is possible. BTW I fixed the breadcrumb plugin so that it works with the new default skin (sorry @MoKaLux )
Actually it was me doing some tests! I can't do what you can in the sidebar unluckily, but you can add a category tree (which I did). Now we have to add a category to each API page...
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@hgy29 the PHP script you provided also has issues with things like FaceBook Instant Games. The namespace is "FBInstant" which does not correspond to any webpage on the wiki, thus it cannot be scraped. The actual wiki page is titled "Facebook_Instant_Games".
@hgy29 the PHP script you provided also has issues with things like FaceBook Instant Games. The namespace is "FBInstant" which does not correspond to any webpage on the wiki, thus it cannot be scraped. The actual wiki page is titled "Facebook_Instant_Games".
FBInstant page created + added GIDEROSOBJ:FBInstant to it.
The wiki is really odd. Some pages when scraped using api.php don't return expected results. ... I've added a check to my scraper and pages that are broken like facebook instant are not processed.
Please let me know if you find other broken things, I'll try to fix them!?
The facebook instant may be a bit of a hack because I added it (!!) and it's not really like any of the other API or plugins (like the Lua enhancements). I tried to make it as similar but it was all done very quickly so we could be in the very first group of officially recognised development kits for Facebook Instants.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
The PHP script that @hgy29 supplied doesn't seem to contain Sprite and Bitmap namespaces. It's a nice script but there's just too much missing stuff to make it truly useful right now.
Besides that however, I'm now able to scrape pretty much any page and reformat it as I like. I'm going to rejig my own method (scraping) to get the navigation menu made and then I think I'll just release it for others to use or mess about with.
Comments
Likes: antix
https://deluxepixel.com
Quick question... has cross origin access been disabled on the wiki? I can't seem to scrape anything anymore.nope, it's working again
I don't know what it looks like, but worth a try I think
https://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Customize_the_sidebar
And the wiki would look like this:
edit: oh I see someone is trying it, cool
{{Special:PrefixIndex/Bitmap}}
To retrieve every page links corresponding to bitmap in this example. Can be used on anything (accelerometer, bitmap, b2,...)
I can't do what you can in the sidebar unluckily, but you can add a category tree (which I did). Now we have to add a category to each API page...
https://deluxepixel.com
@hgy29 it seems you want to mimic the old version but I don't think that will work because gideros is too big.
Can I suggest to only link to Main API functions, Plugins functions and maybe LUA functions in the menu bar?
PS: i really like the new look of the wiki
Likes: plicatibu
BTW I fixed the breadcrumb plugin so that it works with the new default skin (sorry @MoKaLux )
Likes: MoKaLux
Likes: MoKaLux
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
I tested the wiki without the picture but it looks worst without it imho!
let's vote!
+1 for the image
-1 against the image
Likes: MoKaLux
Dislikes: plicatibu, oleg, antix
It's better to do this imho Since all the Main API templates are already done the result would be immediate!
And all sorts of screenshots in wikipedia are usually inserted into the bottom of the article
Also, the right pane should contain a link to the Gideros download page and to the main site
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
I woudn't replace it with anything else though, there's no need for an extraneous mage there.
Personally I don't care for the new font that is being used for the titles either
The entire sidebar on the left is gone also.
Would it not be better to have a page called "playground" or something and get that how you want it before modifying up the main page?
Likes: MoKaLux
https://deluxepixel.com
Facebook Instant Games for example actually returns an HTML div, not the wikitext.
Is this because wikimedia is doing strange things or is it because the page has not been created appropriately?
I've added a check to my scraper and pages that are broken like facebook instant are not processed.
Likes: antix
This facebook thing is a little tricky
Likes: antix
Likes: plicatibu, antix
Likes: MoKaLux
https://deluxepixel.com
The PHP script that @hgy29 supplied doesn't seem to contain Sprite and Bitmap namespaces. It's a nice script but there's just too much missing stuff to make it truly useful right now.
Besides that however, I'm now able to scrape pretty much any page and reformat it as I like. I'm going to rejig my own method (scraping) to get the navigation menu made and then I think I'll just release it for others to use or mess about with.
Likes: SinisterSoft