Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)
You are not logged in.
If you haven't noticed, I've set up a Wiki as well, which you can find here: http://gbdev.gg8.se/wiki/articles/Main_Page
My goal is to keep the Wiki as idy as possible, and one part of that plan is to se templates for stuff like artile series, for quick navigation. The Wiki software used is MediaWiki, and I discovered something was wrong. It did not support conditional statements like #if, which was needed for some templates on Wikipedia. So, instead of adding articles I've been trying to find out how to make that work for a few hours. at last I found out that what I needed was the ParserFunctions extension.
Now I've added it, and hopefully I'll start adding some articles tomorrow.
Offline
Heck yeah! Ill try to put some info in if needed?
Offline
smendrick the magician wrote:
Heck yeah! Ill try to put some info in if needed?
Do so. You need to register an account and get it activated by me though. (Spam precaution)
Offline
I've done a sample page on the ADD instruction. Is this the type of thing we're working for?
Offline
Hey, noob here. I updated the Pan Docs on the wiki with the Overview items (About, Technical Data, Memory Map). Hope they layout's alright.
Offline
Hey I will help update the wiki with my knowledge too. I know this is a really old thread sorry. Just letting you guys know.
Offline
The wiki needs to be updated to the latest version
Offline
Just noticed my account was deleted. While I do not post on the forums, I do contribute to the wiki, so please do not delete it again.
Thank you in advance.
Last edited by Mantidactyle (2016-10-28 00:34:29)
Offline
My forum password works, but not on the wiki.
Why ?
Offline
I was looking for a way to automatically mirror some of the resources we have, so that (for example) people who want to refer to Pan Docs while offline for extended periods don't have to rely on the outdated copy that comes with NO$GMB. I know MediaWiki has an API that I can use to retrieve article lists, wiki text, etc., at less server processing cost than having to go through the main front end.
https://www.mediawiki.org/wiki/API:Main_page
So I looked at the wiki's version page
https://gbdev.gg8.se/wiki/articles/Special:Version
It says there should be an endpoint for the MediaWiki API at
https://gbdev.gg8.se/wiki/api.php
But that page is "404 Not Found". Here are examples of what it should look like from other MediaWiki sites that I have used:
https://wiki.nesdev.com/w/api.php
https://pineight.com/mw/api.php
https://allthetropes.org/w/api.php
https://www.mediawiki.org/w/api.php
Moreover the 404 page at /wiki/api.php looks different from the 404 page elsewhere:
https://gbdev.gg8.se/example-404
Could someone clarify what's causing the 404 on /wiki/api.php?
Offline
PinoBatch wrote:
It says there should be an endpoint for the MediaWiki API at
https://gbdev.gg8.se/wiki/api.php
This is my doing. Because I know with myself that I have a slow update cycle for MediaWiki and other software on the server, I decided to disable the MW API to reduce the possible attack surface in the long term. After investigating which, if any, vulnerabilities are known for this version and possibly upgrading the MW version, I can restore api.php.
PinoBatch wrote:
Moreover the 404 page at /wiki/api.php looks different from the 404 page elsewhere:
https://gbdev.gg8.se/example-404
This is true, but actually unrelated. Any URL that doesn't point to either a file that physically exists, or to a path under /wiki/ or /files/ will be handled by the Wordpress installation that resides in the root. A better comparison would be https://gbdev.gg8.se/wiki/example-404 (The actual article URLs are rewritten from /wiki/articles/* and not /wiki/* so the latter would 404 rather than be handled by MW.)
Last edited by nitro2k01 (2019-10-30 19:18:29)
Offline