A Wikipedia gadget is a JavaScript and/or a CSS snippet that can be enabled simply by checking an option in your Wikipedia preferences. The gadgets functionality is provided by the MediaWiki extension Extension:Gadgets.
Gadgets should generally pass the following conditions:
Gadgets must work if just included with no further configuration. They can be configurable via monobook.js, but must work unconfigured.
Gadgets must be compatible with all major browsers, i.e. they must not terminate with errors.
Gadgets should be functional in most major browsers (cross-browser compatibility). Exceptions must be clearly stated.
Duplication of gadgets should only be made if it's reasonable.
Collections of scripts should be applied as own entities. (No collection of scripts dumped as a gadget, unless the collection is specially defined as an own entity.)
Gadgets requiring permissions must be marked, and must fail gracefully if the permissions aren't present.
Gadgets only working in some skins must be marked as such, if that data is available.
The following header is to be added to the gadget files:
/* _____________________________________________________________________________
* | |
* | === WARNING: GLOBAL GADGET FILE === |
* | Changes to this page affect many users. |
* | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
* |_____________________________________________________________________________|
*
* Imported from version XXXX as of DATE from [[SCRIPT_SOURCE]]
* SHORT_DESCRIPTION, see [[SCRIPT_HOME_PAGE]]
*/
Parts of this විකිපීඩියා පිටුව (those related to section) need to be updated. වත්මන් සිදුවීම් වලින් සහ නවතම තොරතුරු වලින් මෙම විකිපීඩියා පිටුව යාවත් කාලීන කිරීමට කාරුණික වන්න. (April 2010)
Using this script allows you to easily navigate diffs, articles' histories and articles themselves. A feature-rich drop down menu offers various functions to jump to a certain revision which is situated before or after the selected revision. Besides default parameters, configurable requests can be done. Further, the default setting can be personalized.