විකිපීඩියා:Gadget

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.

General criteria for Gadgets

Gadgets should generally pass the following conditions:

  1. Gadgets must work if just included with no further configuration. They can be configurable via monobook.js, but must work unconfigured.
  2. Gadgets must be compatible with all major browsers, i.e. they must not terminate with errors.
  3. Gadgets should be functional in most major browsers (cross-browser compatibility). Exceptions must be clearly stated.
  4. Duplication of gadgets should only be made if it's reasonable.
  5. 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.)
  6. Gadgets requiring permissions must be marked, and must fail gracefully if the permissions aren't present.
  7. Gadgets only working in some skins must be marked as such, if that data is available.

Proposals

Proposals: Discuss the addition of user scripts as gadgets.
Evaluation: Evaluate existing WikiProject User scripts scripts as potential gadgets.

Installation

Gadgets can be installed after discussion at Wikipedia:Gadget/proposals by administrators in the following way:

  1. Add the header below and the script code to MediaWiki:Gadget-scriptname.js
  2. Optionally, add the header below and CSS code to MediaWiki:Gadget-scriptname.css
  3. Add a script description to MediaWiki:Gadget-scriptname. Please link to the script home and/or help page and state browser requirements if needed.
  4. Add to MediaWiki:Gadgets-definition under the appropriate heading
    * scriptname|scriptname.js[|scriptname.css|otherscript.js|...]
  5. Update the table of installed gadgets below

The gadget should now appear on Special:Gadgets.

Comments

Comments or warnings can be added to the gadget description templates in two ways:

  • noinclude tag (visible on description page with links): <noinclude> comment </noinclude>
  • HTML comments (visible in source text only): <!-- comment -->

Comments added in this way will be automatically discarded during the page creation process.

Header

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]] */

Currently installed gadgets

NameFunctionScript:
Homepage, Source, Maintainer
Gadget:
Version, Description, Script, CSS
addsection +මාධ්‍යවිකි:Gadget-addsection-plus?
 ?
User:Random832
?
 ?
MediaWiki:Gadget-addsection-plus.js
LeftEditLinksමාධ්‍යවිකි:Gadget-lefteditlinksUser:Drilnoth/lefteditlinks.js/doc
User:Drilnoth/lefteditlinks.js
User:Drilnoth, User:Cacycle
June 27, 2009
MediaWiki:Gadget-lefteditlinks
MediaWiki:Gadget-lefteditlinks.js
Article assessmentමාධ්‍යවිකි:Gadget-metadataUser:Pyrospirit/metadata
User:Pyrospirit/metadata.js
User:Pyrospirit
17:47, 4 May 2008
MediaWiki:Gadget-metadata
MediaWiki:Gadget-metadata.js
BlackskinUse a black background with green text on the Monobook skin?
 ?
User:Prodego
?
MediaWiki:Gadget-Blackskin
MediaWiki:Gadget-Blackskin.css
Comments in Local Timeමාධ්‍යවිකි:Gadget-CommentsInLocalTimeWikipedia:Comments in Local Time
User:Gary King/comments in local time.js
User:Gary King
MediaWiki:Gadget-CommentsInLocalTime
MediaWiki:Gadget-CommentsInLocalTime.js
Drop-down menusමාධ්‍යවිකි:Gadget-dropdown-menusUser:Haza-w/Drop-down menus
User:Haza-w/cactions.js
User:Haza-w
4 February 2009, 15:39 UTC
MediaWiki:Gadget-dropdown-menus
MediaWiki:Gadget-dropdown-menus.js
MediaWiki:Gadget-dropdown-menus.css
Edittop (?)Adds an [edit] link for the lead section of a page.?
User:Alex Smotrov/edittop.js
User:Alex Smotrov
2007-06-19T04:28:52
MediaWiki:Gadget-edittop
MediaWiki:Gadget-edittop.js
Exlinks (?)Opens external links in a new tab/window.?
 ?
 ?
?
MediaWiki:Gadget-exlinks
MediaWiki:Gadget-exlinks.js
GoogleTransGoogleTrans, opens a translation popup for the selected text or the word under the cursor when pushing the shift buttonUser:Endo999/GoogleTrans
User:Endo999/GoogleTrans.js
User:Endo999
?
MediaWiki:Gadget-GoogleTrans
MediaWiki:Gadget-GoogleTrans.js
Javascript Standard LibraryA compatibility library for browsers that lack full support of JavaScript 1.6.?
 ?
User:AzaToth
?
MediaWiki:Gadget-JSL
MediaWiki:Gadget-JSL.js
Modern skin compatibilityCompatibility function to run scripts only tested on Monobook on the new Modern skin (required for TW, etc).?
 ?
 ?
?
MediaWiki:Gadget-modernskin-thunks
MediaWiki:Gadget-modernskin-thunks.js
Navigation popupsProvides easy access to article previews and several Wikipedia functions in popup windows which appear when you hover the mouse over links.Wikipedia:Tools/Navigation_popups
User:Lupin/popups.js
User:Lupin
Sat Mar 10 21:40:16 UTC 2007
MediaWiki:Gadget-Navigation_popups
MediaWiki:Gadget-popups.js
MediaWiki:Gadget-navpop.css
RemoveAccessKeysDisables browser access keys on Wikipedia pages.Wikipedia:Tools/Disable access keys
Wikipedia:WikiProject User scripts/Scripts/removeAccessKeys
 ?
?
MediaWiki:Gadget-removeAccessKeys
MediaWiki:Gadget-removeAccessKeys.js
UTC Live Clock (?)A clock in the personal toolbar that shows the current time in UTC, and provides a purge link.?
 ?
User:AzaToth
?
MediaWiki:Gadget-UTCLiveClock
MediaWiki:Gadget-UTCLiveClock.js
wikEdA full-featured text editor for Firefox, Mozilla, Google Chrome, Webkit, and SafariwikEd
User:Cacycle/wikEd.js
User:Cacycle
(Loads current version)
MediaWiki:Gadget-wikEd
MediaWiki:Gadget-wikEd.js
-
revisionjumperUsing 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.revisionjumper
de:User:DerHexer/testrevisionjumper.js
User:DerHexer
1.2.3
MediaWiki:Gadget-revisionjumper
MediaWiki:Gadget-revisionjumper.js
-
NoSmallFontsDisables smaller font sizes of elements such as Infoboxes, Navboxes and References lists.?
 ?
User:Edokter
?
 ?
MediaWiki:Gadget-NoSmallFonts.css
ProveItProveIt, a powerful GUI tool for viewing, editing, adding, and inserting references (screenshot, working demo).ProveItMediaWiki:Gadget-ProveIt
MediaWiki:Gadget-ProveIt.js

See also

"https:https://www.search.com.vn/wiki/index.php?lang=si&q=විකිපීඩියා:Gadget&oldid=428630" වෙතින් සම්ප්‍රවේශනය කෙරිණි
🔥 Top keywords: මුල් පිටුවකාලස් පුයිජ්දෙමොන්විශේෂ:ගවේෂණයසිංහල අලුත් අවුරුද්දසූනන් ඇඟ වැටීමේ ඵලාඵලසිංහල සහ හින්දු අලුත් අවුරුද්දවැදි ජනයාසිංහල අවුරුද්ද සමඟ බැඳුණු ජන ක්‍රීඩාශ්‍රී ලංකා රුපියලඅධ්‍යාපනයඒ.ටී. ආරියරත්නශ්‍රී ලංකාවේ ආදි වාසීන්විකිපීඩියා:Contact usආදිවාසීන්සෞරග්‍රහ මණ්ඩලයසිංහල ජනකවිරුවන්වැලිසෑයස්ත්‍රී ස්වයං වින්දනයශ්‍රී ලංකාවසිංහල භාෂාවසර්වෝදයශ්‍රී ලංකාවේ සර්පයෝශ්‍රී පාදස්ථානයපංච කල්‍යාණලිංගික සංසර්ගයමත්ද්‍රව්‍යප‍්‍රාථමික අධ්‍යාපනයසාකච්ඡාව:මුල් පිටුවවිකිපීඩියා:Administrators' noticeboardමහා මංගල සුත්‍රයමල්සිංහල අක්ෂර මාලාවදුටුගැමුණු රජසීගිරියශ්‍රී ලංකාවේ මත්ද්‍රව්‍ය ප්‍රශ්නයශ්‍රී දළදා මාළිගාවඉන්දියාවදෙවන ලෝක යුද්ධයසිංහල හෝඩි