Extension:Gadgets/Gadgets 2.0

Gadgets 2.0 is a broad overhaul of the Gadgets extension to make it more powerful and user-friendly. See ResourceLoader/Version 2 Design Specification for more information.

Features

 * A Gadget Manager interface making it easy to create, edit, or delete gadgets from a wiki
 * New Gadget and Gadget_definition namespaces (along with associated content models and user rights)
 * Simple interface for exporting gadgets
 * Multi-language support for Gadgets via localized messages

Gadget Manager
Gadgets 2.0 will feature a completely revamped Special:Gadgets page. This page will allow users to not only view the configured gadgets, but also create, edit, and delete them. It will replace MediaWiki:Gadgets-definition as the interface for managing the gadgets on a wiki.

Temporary method until Gadgets 2.0 code is merged
To try out the new Gadgets 2.0 interface, you'll need to check out the RL2 branch of the Gadgets repo. If you have already cloned the existing Gerrit repo for Gadgets, you can do this by running the following command from the repo: git checkout -b RL2 origin/RL2

You will then need to update your LocalSettings.php config with the following: $wgGadgetsRepoClass = "GadgetDefinitionNamespaceRepo";

Migrating existing gadgets
To migrate your existing gadgets, run the  script. This will move your existing gadget JS and CSS pages into the Gadget namespace and will create new gadget definitions in the Gadget_definition namespace.