Jump to content

Commons:User scripts

From Wikimedia Commons, the free media repository
[update]

MediaWiki: 1.46.0-wmf.3 (880eded)
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 to start testing in your user common.js. New users see basic instructions.

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

A list of currently available scripts can be found in 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]

See also https://greasyfork.org/en/scripts/by-site/wikimedia.org