From Wikimedia Commons, the free media repository
Jump to: navigation, search
This page is a translated version of a page Commons:Gadget and the translation is 31% complete. Changes to the translation template, respectively the source language can be submitted through Commons:Gadget and have to be approved by a translation administrator.

Other languages:
Deutsch • ‎English • ‎Esperanto • ‎suomi • ‎français • ‎עברית • ‎日本語 • ‎polski • ‎português do Brasil • ‎русский
The Gadget tab of Preferences on French Wikipedia

Gadgets are standard user scripts which extend the functionality of MediaWiki, the software on which Commons runs, and are available to easily install via a user's Preferences. (Other user scripts are available which must be installed manually.) Individual gadgets can be activated or deactivated (some are activated by default) by visiting your Preferences (you must be logged in) and ticking the relevant box. Most gadgets require JavaScript to be enabled in your browser.

פרטים טכניים[edit]

תיאור כללי[edit]

  • MediaWiki:Gadgets-definition מגדיר את כל הסקריפטים אשר יופיעו בהעדפות
    • Gadgets can be restricted to users with certain user rights by adding, for example, rights=delete in the gadget definition. Gadgets are loaded by default (including for users not logged in) by adding default. Gadgets can be restricted to logged-in users with rights=upload.
  • Special:Gadgets מאפשר לראות אילו גדג'אטים קיימים, עם קישורים לקוד שלהם
  • MediaWiki:Common.js אחראי לטעינה של חלק מהסקריפטים באופן אוטומטי



  • {{Gadget-state}} stores some redundant information about gadgets and should be kept up-to-date. Indicating the default-state of a gadget is requested in Bugzilla49501
  • {{Gadget-desc}} standardises descriptions of gadgets (as displayed in Preferences)


Since MediaWiki 1.18, gadgets (and user CSS/JS) are not loaded on certain special pages, for security reasons. This includes Special:Preferences, breaking the previous means of moving gadgets to other parts of the Preferences. See Bugzilla18186. Bugzilla33220 requests a native MediaWiki replacement for what was previously done in Javascript.