Commons:User scripts

(Redirected from Commons:JS)

MediaWiki: 1.38.0-wmf.4 (faf0fdc)
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 createEdit

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

Scripts without il8nEdit


Under constructionEdit

General TalkEdit


Tech News: 2021-41Edit

15:28, 11 October 2021 (UTC)

Users with script experience that may helpEdit

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

See also: Category:Commons JavaScript coders

See alsoEdit



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 stylingEdit