Commons:User Scripts

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

MediaWiki: 1.18wmf1 (r107965)
jQuery: 1.6.4

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.

Contents

[edit] TO DO

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

[edit] To create

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
  • A rename-link for files for registred users not being admins, filemovers. First display the policy, then a "select-reasons" with a few traps. If a trap is triggered, set a cookie to deactivate.
  • A global-user-page and settings wizard allowing to create and update the userpage on several wikis.
  • A notification-script using JSONP to notify uploaders in their home-wiki if they request so and you "the tagger" is logged in there.
  • 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)

[edit] Scripts without il8n

[edit] Broken scripts

[edit] Other

[edit] Under construction

[edit] General Talk

Start a new section



[edit] Users with script experience that may help

[edit] See also

[edit] Learning

[edit] Testing

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

[edit] Validating and styling

[edit] Tools

Personal tools
Variants
Actions
Navigation
Participate
Toolbox
In Wikipedia