Commons:User scripts

From Wikimedia Commons, the free media repository
Jump to: navigation, search
[update]

MediaWiki: 1.25wmf12 (d88cea4)
jQuery: 1.11.1 / UI: 1.9.2

Toolbaricon source.svg
Jquery-terminal-emulator-logo.svg

Hi, interested in scripting? We need help, so do not hesitate to ask what you can do. We recommend start testing in your user-namespace.

We have a styleguide. But it is a guide, not a policy. Nevertheless, consider reading the MediaWiki manual.

TO DO[edit]

  • Clarify the copyright situation of user-scripts.
  • standardize scripts' i18n methods → Gadgets 2.0 (mw.msg; example; explanation)
  • Search & Detecting security vulnerable

To create[edit]

These are just suggestions. Feel free to comment in the talk-section.

  • 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.
  • A slideshow-framework using templates and script like Image Annotator or {{ImageStack}} with customizable caption-boxes, slide-effects, drag&slide, preview thumb-bar, ...
  • A script to close undeletion requests like closing deletion requests with MediaWiki:Gadget-DelReqHandler.js (maybe inside delreqhandler)
  • Integrate code for VIC and FPC nomination in MediaWiki:Gadget-QInominator.js.
  • An autotranslate-template creation wizard
  • Refractor MediaWiki: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)
  • Rewrite DerivativeFX as a JavaScript application
  • A tool to visually explore Flickr-Images from streams/sets/… before uploading and allowing to unselect some of them by given criteria

Scripts without il8n[edit]

Broken scripts[edit]

Other[edit]

Under construction[edit]

General Talk[edit]

/talk


Tech News: 2014-52[edit]

16:52, 22 December 2014 (UTC)


Users with script experience that may help[edit]

Wiki-tech-logo.svg This user develops
user scripts;
{{User script developer}}

See also: Category:Commons JavaScript coders

See also[edit]

Learning[edit]

Testing[edit]

You can test any script by running it from your console or put the code in a Special:MyPage/test.js and hit "preview".

Validating and styling[edit]

Tools[edit]

Troubleshooting[edit]