You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Tool:Extjsonuploader: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Nintendofan885
(Update Toolforge URL)
imported>Samwilson
(update with new JSON output info)
Line 3: Line 3:
|title        = Extension JSON uploader
|title        = Extension JSON uploader
|description  = A tool for collecting and uploading extension data to mediawiki.org
|description  = A tool for collecting and uploading extension data to mediawiki.org
<!-- |website      = https://extjsonuploader.toolforge.org/ -->
|website      = https://extjsonuploader.toolforge.org/
|keywords    = bot, extensions
|keywords    = bot, extensions
|author      = [[User:Brian Wolff|Brian Wolff]]
|author      = [[User:Brian Wolff|Brian Wolff]]
Line 11: Line 11:
|phabricator  = tool-extjsonuploader
|phabricator  = tool-extjsonuploader
}}
}}
'''extjsonuploader''' is a tool for collecting extension data and uploading it to mediawiki.org in a format that templates can use.
'''extjsonuploader''' is a tool for collecting extension data and uploading it to mediawiki.org in formats that templates and other consumers can use.


Currently it collects the contents of [[mw:Manual:Extension.json/Schema|extension.json]] and uploads it as Lua tables to [[mw:Module:ExtensionJson|Module:ExtensionJson]] as [[mw:User:Bawolff bot|User:Bawolff bot]]. The data is loaded in [[mw:Template:Extension]] via <code>[[mw:Extension:Scribunto/Lua_reference_manual#mw.loadData|mw.loadData]]</code>.
It collects the contents of [[mw:Manual:Extension.json/Schema|extension.json]] and uploads it as Lua tables to [[mw:Module:ExtensionJson|Module:ExtensionJson]] (as [[mw:User:Bawolff bot|User:Bawolff bot]]). This data is loaded in [[mw:Template:Extension]] via <code>[[mw:Extension:Scribunto/Lua_reference_manual#mw.loadData|mw.loadData]]</code>.
 
It also makes the same data available on the web as https://extjsonuploader.toolforge.org/ExtensionJson.json

Revision as of 10:00, 15 August 2021

Toolforge tools
Crystal Clear app package utilities.png Extension JSON uploader
Website https://extjsonuploader.toolforge.org/
Description A tool for collecting and uploading extension data to mediawiki.org
Keywords bot, extensions
Author(s) Brian Wolff
Maintainer(s) Brian Wolff, Gergő Tisza (View all)
Source code labs/tools/extjsonuploader (Github mirror, code review)
License GNU General Public License 2.0 or later
Issues Open tasks · Report a bug

extjsonuploader is a tool for collecting extension data and uploading it to mediawiki.org in formats that templates and other consumers can use.

It collects the contents of extension.json and uploads it as Lua tables to Module:ExtensionJson (as User:Bawolff bot). This data is loaded in mw:Template:Extension via mw.loadData.

It also makes the same data available on the web as https://extjsonuploader.toolforge.org/ExtensionJson.json