Problem
There are some widely used information templates on mediawiki.org which display some software information that could be easily extracted from the source code, but those templates are currently created and maintained manually. This is inefficient and ineffective - it's a significant amount of manual work and often not done, or not updated when code changes. Example: extension, extension install, hook and config variable templates.
Who would benefit
- Developers who don't need to spend time on creating or updating hook/config var pages whenever they
- Extension maintainers (especially people who routinely change others' extensions) who don't need to track things like required MW version in two different places
- Developers and site admins who will gain access to correct and complete documentation
- Possibly site admins running older MW versions because this would allow a much more user-friendly presentation of MW compatibility information
Proposed solution
- find a place to store structured mw.org infobox data - there are several possible approaches, see T155024: Store structured data needed for MediaWiki documentation for discussion
- write a bot to extract the data from git (extension.json, hooks.txt, DefaultSettings.php phpdoc) and upload it
- fetch the data in the infoboxes
- for hook/configvar pages, make the bot create them automatically with stub content when they don't exist
- run a bot with some regular frequency (e.g. weekly) to update the pages accordingly