Gadgets
-
- Last edited 6 years ago by IdaK
-
-
- No status information
Extension: Gadgets
Overview | |||
---|---|---|---|
Description: | provides a way for users to pick JavaScript or CSS based "gadgets" that other wiki users provide. | ||
State: | stable | Dependency: | MediaWiki |
Developer: | Stephanie Amanda Stevens | License: | - |
Type: | MediaWiki | Category: | Infrastructure |
Edition: | BlueSpice free, BlueSpice pro | ||
Features
The Gadgets extension provides a way for users to pick JavaScript or CSS based "gadgets" that other wiki users provide.
Gadgets are made up of JavaScript and/or CSS snippets located on pages in the MediaWiki namespace. Each gadget is defined by a line in MediaWiki:Gadgets-definition, providing a name and description for the gadget, and a list of the JS and CSS snippets that it uses (see the Usage section below).
Since Gadgets reside in the MediaWiki namespace (the list defining the gadgets as well as the actual code snippets), only sysops (aka wiki admins) can edit the code. This is as it should be: only users especially trusted by the wiki community should be able to edit JavaScript code that is used by other users, since JavaScript can easily be used to hijack accounts or spy on people.
Technical background
Gadgets is a free MediaWiki extension.
Functionality of Gadgets
The list of available gadgets is defined on MediaWiki:Gadgets-definition. Once created with at least one valid gadget, gadgets defined there show up in the "Gadgets" section of Special:Preferences, so users can pick the gadgets they would like to use. An overview of the gadgets defined by MediaWiki:Gadgets-definition is also shown on Special:Gadgets, along with links to the respective system messages, for easy editing. Statistics for non-default gadget usage can be seen at Special:GadgetUsage.
References
For the full guide on how to use this extension refer to extension official page on https://www.mediawiki.org/wiki/Extension:Gadgets