From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

More general info about Gadgets


To setup the gadget (VisualEditor variant) in new project:

  1. Add the source code
    • To turn it as a gadget that user can select in their preferences (requires sysop rights):
      1. create MediaWiki:Gadget-RefToolbarVE.js with the following code:
      2. create MediaWiki:Gadget-RefToolbarVE with short description
      3. add it to MediaWiki:Gadgets-definition
    • To test it (if you aren't sysop):
      1. add the source code to your personal JS (Special:MyPage/common.js).