Tool talk:Extjsonuploader
Appearance
Rendered with Parsoid
Latest comment: 3 months ago by Skierpage in topic is it filling in Template:Extension on mw.org?
is it filling in Template:Extension on mw.org?
This data is loaded in mw:Template:Extension via
mw.loadData
.
Very cool, but does the tool actually insert/update infobox data on mw.org, or is a user or script actually doing this step? Passive voice leaves it unclear. I checked a few extensions' history and didn't see any "Teh awesome Extjsonuploader bot updated this extension's infobox template so it matches the extension's source code. DRY!" edit summaries -- Skierpage (talk) 01:03, 1 August 2024 (UTC)
- I think I figured it out:
- The Extension template on MediaWiki invokes mw:Module:Extension to autofill itself, which invokes mw:Module:ExtensionJson which relies on this Extjsonuploader to populate it with the data.
↑ If that's approximately right, maybe add the above sentence here and to the documentation of these templates and module. -- Skierpage (talk) 01:12, 1 August 2024 (UTC)- @Skierpage: Yep, the bot updates the module, which is then used by the template. So no edits appear on the extensions' pages when any data is updated (which is slightly annoying sometimes). There's been discussion about switching it around so that there's one Lua module per extension, so at least people could watch only those bits they're interested in (and it'd also get around the size limitation of the big single module; that's the main motivation for splitting). Sam Wilson 02:19, 1 August 2024 (UTC)
- I updated this and mw:Template:Extension. -- Skierpage (talk) 00:17, 4 August 2024 (UTC)