Commons:User scripts

[update]

MediaWiki: 1.46.0-wmf.22 (f04e8f1)
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:Commons user scripts.

To-do

To create

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

Scripts without i18n

Other

Under construction

General Talk

/talk

Users with script experience that may help

This user develops
user scripts;
{{User script developer}}

See also: Category:Commons JavaScript coders

See also

Learning

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”.

Validating and styling

Tools

Troubleshooting

Category:Commons JavaScript Category:User scripts#%20
Category:Commons JavaScript Category:User scripts