MediaWikiBacklink provides a backlink on MediaWiki pages to their respective mainspace documentation pages. This is a handy tool primarily designed for Fandom Developers Wiki developers who may wish for a quick and easy way to return to a MW page's mainspace page to edit documentation.
The script will work if the typical Fandom Developers Wiki naming conventions are followed, i.e. Discord and MediaWiki:Discord.js. Deviations from the norm will result in a return out of the function. If Fandom Developers Wiki naming conventions are followed on other wikis (like the author's test wiki), the script will operate as intended, though it was primarily designed for the Fandom Developers Wiki.
Installation
Changelog
- 25-07-20
- Addition of UCP support, addition of backup API query for pages lacking backlinks (i.e. MediaWiki:ChatBlockButton/code.3.js), general cleanup
- 13-08-18
- Addition of I18n-js JSON page support
- 10-01-18
- Addition of Module namespace support
- 31-12-17
- Cleanup to enhance readability, removal of extraneous skin-specific styling
- 05-02-17
- Slight cleanup
- 26-12-16
- Initial revision
Text above can be found here (edit)