Putting this up on my site because I’d like not to have to research this again. Ad rem: If a page is throwing a 500 error, but other pages on the wiki are otherwise available, chances are something in the code is causing the MediaWiki to misbehave. So, API time:
- Retrieve the wikitext through API:
https://zelda.fandom.com/index.php?title=Wind_Temple&action=raw - Save that text somewhere or just keep the page open.
- Open a working page then paste a fragment of the wikitext and hit preview.
- The goal here is to check which part of the wikitext is causing the error.
- Once you’ve isolated the error, fix it. In my case, the error was a bad template call.
- The 500’d page is likely not editable through normal means, so that means more API time Mr Frodo!
- To submit an edit through API, use the edit function together with your CSRF token.
- I strongly recommend using Special:APISandbox to make this merely tedious, not rage inducing.
- Lather, rinse, repeat.
At least, that’s how it worked for this particular issue.
Leave a Reply