User:Jean-Frédéric/Script graduation process

From Wikidata
Jump to navigation Jump to search

Definitions[edit]

User script
located as subpage in User namespace User:Example/AwesomeScript.js. Enabled in common.js (see also mw:User scripts).
Gadgets
located in the MediaWiki namespace. Enabled in Special:Preferences. Can also be enabled by default (see alsometa:Gadgets).

Graduation guideline proposal[edit]

Interface administrators have latitude to move any user script to gadget, either on their own initiative or on request, so long as the original author does not oppose the move. Once moved, the script becomes the shared responsibility of the community, and interface administrators will process any {{Edit request}}.

Rationale[edit]

User scripts can transform the editing experience, be adopted by hundred of users − yet they have drawbacks:

  1. discoverability − seems to be known mostly by word of mouth
  2. ease of installation − users have to edit their common.js
  3. maintenance
    • the original author is generally the only one maintaining it ; they can be slow to process suggested changes. There is little shared sense of ownership.
    • this leads occasionally to hard forks or extensions (example)

Future work[edit]

A process to make a gadget enabled by default would also be worthwhile. Should be tackled in a separate proposal.