For an overview of tools available to work with Wikimedia Commons, seeCommons:Tools. Hi, interested in scripting? We need help, so do not hesitate to ask what you can do. We recommend to start testing inyour user common.js. New users seebasic instructions.
We have aJavaScript styleguide, but it is a guide, not a policy. Nevertheless, consider reading theMediaWiki JavaScript coding conventions.
A list of currently available scripts can be found inCategory:User scripts.
These are just suggestions. Feel free to comment in the talk-section.
- A userscript allowing users to click on an "update from online source" button on .tab pages. It should replace the data with new data from its stated online source. For example from an online .csv or .xlx file, or from a JSON rest-API at well-known statistical sites.Tomastvivlaren (talk)23:50, 6 July 2025 (UTC)[reply]
A script to extract data from aen:Template:Graph:Chart oren:Template:Graph:Line wikicode, and convert it to a .tab JSON file.
Done, seegraphDataImport- A script to get a formatted list of uploads, category-members, …
- A plugin to install scripts loaded with &withJS= – URL parameter to the user’s common or skin.js
- A script-installer which is invokable by a template (URL-params maybe) with a step-by-step wizard (done for gadgets →Template:ActivateGadget)
A global-user-page and settings wizard allowing to create and update the userpage on several wikis.
Done- A slideshow-framework using templates and script likeImage Annotator or{{ImageStack}} with customizable caption-boxes, slide-effects, drag&slide, preview thumb-bar, …
- Integrate code for VIC and FPC nomination inMediaWiki:Gadget-QInominator.js.
Anautotranslate-template creation wizard
Done, seeAutotranslateHelper —0x010C~talk~09:40, 4 April 2017 (UTC)[reply]- RefractorMediaWiki:Gadget-LanguageSelect.js: Multiple language-preferences, showing a (+) like HotCat allowing to add a translation (create an input on-the-fly) to push i18n forward
- Script to show 1-3 file examples in parent categories from their child categories (Special:Permalink/84246834#Galleries in Categories)
RewriteDerivativeFX as a JavaScript applicationm:WMDE Technical Wishes/Move files to Commonsphab:T190716- A tool to visually explore Flickr-Images from streams/sets/… before uploading and allowing to unselect some of them by given criteria
A script to allow admins to closeundeletion requests like closing deletion requests withMediaWiki:Gadget-DelReqHandler.js (maybe inside delreqhandler)
Donehereby Perhelion- A tool similar toHelp:QuickDelete but instead of adding deletion templates you can choose to add{{Opaque}},{{Convert to SVG}} or{{BadJPEG}}.
Scripts without il8n
[edit]→/talk
Users with script experience that may help
[edit]→See also:Category:Commons JavaScript coders
You can test any script by running it from your console or put the code in aSpecial:MyPage/test.js and hit “preview”.
Validating and styling
[edit]See alsohttps://greasyfork.org/en/scripts/by-site/wikimedia.org