Commons:User scripts

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

MediaWiki: 1.42.0-wmf.19 (fa0add5)
jQuery: 3.6.0 / UI: 1.12.1

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 (new users see basic instructions here).

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

A list of currently available scripts can be found at Category:User scripts.

TO-DO[edit]

To create[edit]

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

Scripts without il8n[edit]

Other[edit]

Under construction[edit]

General Talk[edit]

/talk

Users with script experience that may help[edit]

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]

Commons[edit]