Bureaucrats, editor, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
47,390
edits
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1:
This page contains the definitions for all gadgets on the wiki. In most cases, code that could be placed in Common.js should be made into a module here instead for granularity and better support for mobile, etc.
Edits to this page should be done with care. Gadgets are by default enabled on both desktop and mobile; ensure that the gadget '''works''' on mobile properly by debugging it on mobile devices. Some mobile devices do not allow JavaScript to run, or do not run it by default, so there should always be a fallback option for those that do not have JS enabled. For scripts that are intended for use on a lot of
==Core==
* rsw-
* Less[ResourceLoader|rights=editinterface|dependencies=mediawiki.api|type=general|skins=vector|default|hidden]|Less.js|Less.css
* switch-infobox[ResourceLoader|dependencies=ext.gadget.rsw-
* switch-infobox-styles[ResourceLoader|type=styles|default|hidden]|switch-infobox.css
* exchangePages[ResourceLoader|type=general|default|hidden]|exchangePages.js
* exchangePages-core[ResourceLoader|dependencies=ext.gadget.rsw-
* GECharts[ResourceLoader|type=general|default]|GECharts.js
* GECharts-core[ResourceLoader|dependencies=ext.gadget.rsw-
* compare[ResourceLoader|type=general|skins=vector|default|hidden]|compare.js
* compare-core[ResourceLoader|dependencies=ext.gadget.rsw-
<!-- * youtube[ResourceLoader|dependencies=ext.gadget.rsw-
* autosort[ResourceLoader|dependencies=ext.gadget.rsw-
* uncheckfileredirects[ResourceLoader|type=general|rights=suppressredirect|default|hidden|dependencies=mediawiki.Uri]|UncheckFileRedirect.js
* highlightTable[ResourceLoader|type=general|default]|highlightTable.js
* highlightTable-core[ResourceLoader|type=general|dependencies=ext.gadget.rsw-
* titleparenthesis[ResourceLoader|type=general|default|hidden]|titleparenthesis.js|titleparenthesis.css
* tooltips[ResourceLoader|type=general|default|hidden]|tooltips.js
* topIcons[ResourceLoader|default|hidden|type=general|skins=vector|dependencies=ext.gadget.rsw-
* Username[ResourceLoader|type=general|default|hidden]|Username.js
* countdown[ResourceLoader|type=general|default|hidden]|countdown.js
* autocollapse[ResourceLoader|type=general|default|hidden|skins=vector|dependencies=mediawiki.Uri]|autocollapse.js
* checkboxList[ResourceLoader|type=general|default|hidden]|checkboxList.js
* checkboxList-core[ResourceLoader|type=general|dependencies=ext.gadget.rsw-
* Charts[ResourceLoader|type=general|default]|Charts.js
* Charts-core[ResourceLoader|type=general|hidden|dependencies=ext.gadget.rsw-
* navbox-tracking[ResourceLoader|type=general|hidden|default]|navbox-tracking.js
* sidebar-tracking[ResourceLoader|skins=vector|type=general|hidden|default]|sidebar-tracking.js
* wikisync[ResourceLoader|type=general|default]|wikisync.js
* wikisync-core[ResourceLoader|dependencies=ext.gadget.rsw-
* smwlistsfull[ResourceLoader|type=general|hidden|default]|smwlistsfull.js
* smwlistsfull-core[ResourceLoader|type=general|hidden|dependencies=oojs-ui-core,mediawiki.widgets,jquery.tablesorter,mediawiki.Uri]|smwlistsfull-core.js|smwlistsfull.css
* tooltipPopup[ResourceLoader|type=general|hidden]|tooltipPopup.js
* tooltipPopup-core[ResourceLoader|type=general|hidden]|tooltipPopup-core.js|tooltipPopup.css
* jsonDoc[ResourceLoader|type=general|hidden|default|dependencies=mediawiki
* articlefeedback[ResourceLoader|type=general|skins=vector|hidden|default]|articlefeedback.js
* articlefeedback-core[ResourceLoader|type=general|skins=vector|dependencies=mediawiki.api,ext.gadget.rsw-
* articlefeedback-tools[ResourceLoader|type=general|skins=vector|dependencies=mediawiki.api,oojs-ui-core,oojs-ui-windows|hidden]|articlefeedback-tools.js
==Calculators==
* calc[ResourceLoader|type=general|default]|calc.js
* calc-core[ResourceLoader|dependencies=ext.gadget.rsw-
* infoboxQty[ResourceLoader|dependencies=ext.gadget.rsw-
* calculatorNS[ResourceLoader|dependencies=mediawiki
* dropDisplay[ResourceLoader|type=general|default|hidden]|dropDisplay.js
* dropDisplay-core[ResourceLoader|type=general|dependencies=ext.gadget.rsw-
* mmgkc[ResourceLoader|type=general|default|hidden]|mmgkc.js
* mmgkc-core[ResourceLoader|type=general|dependencies=oojs-ui-core,oojs-ui-widgets,oojs-ui.styles.icons-interactions|hidden]|mmgkc-core.js|mmgkc.css
Line 57:
==User==
* autowelcome[ResourceLoader|actions=edit|dependencies=ext.gadget.rsw-
* contributions[ResourceLoader|type=general|skins=vector|default|dependencies=ext.gadget.rsw-
* editCount[ResourceLoader|type=general|skins=vector|dependencies=ext.gadget.rsw-
* code-snippets[ResourceLoader|actions=edit|type=general|skins=vector|dependencies=mediawiki
==Appearance==
* skinTogglesNew[ResourceLoader|dependencies=mediawiki
* skinTogglesNew-prompt[ResourceLoader|skins=vector|type=general|hidden]|skinTogglesNew-prompt.js|skinToggles-prompt.css
* skinTogglesMobile[ResourceLoader|dependencies=mediawiki
* utcclock[ResourceLoader|type=general|skins=vector|dependencies=mediawiki
* relativetime[ResourceLoader|actions=edit,view|dependencies=mediawiki
* toplinksDropdown[ResourceLoader|type=general|skins=vector|peers=toplinksDropdown-styles]|toplinksDropdown.js
* toplinksDropdown-styles[ResourceLoader|type=styles|skins=vector|hidden]|toplinksDropdown.css
Line 86:
* headerTargetHighlight[ResourceLoader|type=styles|default]|headerTargetHighlight.css
* redirect-mobilediff[ResourceLoader|type=general|skins=vector|default]|redirect-mobilediff.js
* stickyheader[ResourceLoader|type=general|skins=vector|dependencies=mediawiki
==Tools==
* abuseLogRC[ResourceLoader|type=general|namespaces=-1|rights=abusefilter-log-private]|abuseLogRC.js
* abuseLogRC-core[ResourceLoader|type=general|namespaces=-1|dependencies=oojs-ui-core,mediawiki.api|hidden]|abuseLogRC-core.js|abuseLogRC-core.css
* dropdown[ResourceLoader|type=general|skins=vector|dependencies=mediawiki
* newPage[ResourceLoader|default|type=general|skins=vector|dependencies=ext.gadget.rsw-
* purge[ResourceLoader|default|type=general|skins=vector|dependencies=ext.gadget.rsw-
* hotcat[ResourceLoader|rights=upload]|hotcat.js
* ReferenceTooltips[ResourceLoader|default|type=general|skins=vector|dependencies=mediawiki.cookie,jquery.client]|ReferenceTooltips.js|ReferenceTooltips.css
* fileDownload[ResourceLoader|type=general|hidden|default]|fileDownload.js
* batchupload[ResourceLoader|type=general|skins=vector|default|dependencies=mediawiki
* LazyAdminTools[ResourceLoader|type=general|rights=block]|LazyAdminTools.js
* LazyAdminTools-core[ResourceLoader|type=general|dependencies=mediawiki.api,oojs-ui-core|hidden]|LazyAdminTools-core.js|LazyAdminTools-core.css
* QuickDiff[ResourceLoader|type=general|skins=vector|dependencies=mediawiki.Uri,mediawiki
* Message-names[ResourceLoader|rights=editinterface|type=general|skins=vector|dependencies=mediawiki
* oswf[ResourceLoader|type=general|default|hidden]|oswf.js
* oswf-core[ResourceLoader|type=general|dependencies=oojs-ui-core,oojs-ui.styles.icons-movement|hidden]|oswf-core.js
Line 112:
* searchfocus[ResourceLoader|type=general|skins=vector|default]|searchfocus.js
* sigreminder[ResourceLoader|type=general|skins=vector|actions=edit|default]|sigreminder.js
* sigreminder-core[ResourceLoader|dependencies=ext.gadget.rsw-
* defaultsummaries[ResourceLoader|dependencies=oojs-ui-core|actions=edit|skins=vector]|defaultsummaries.js|defaultsummaries.css
* showAdvancedData[ResourceLoader|type=styles]|showAdvancedData.css
* gadgetLinks[ResourceLoader|type=general|namespaces=8]|gadgetLinks.js
* crob[ResourceLoader|actions=view|type=general|dependencies=ext.gadget.rsw-
* clippy[ResourceLoader|type=general|skins=vector]|clippy.js|clippy.css
* switch-infobox-sandbox[ResourceLoader|dependencies=ext.gadget.rsw-
* GECharts-sandbox-loader[ResourceLoader|type=general]|GECharts-sandbox-loader.js
* GECharts-sandbox[ResourceLoader|dependencies=ext.gadget.rsw-
* wikisync-dev[ResourceLoader|type=general]|wikisync-dev.js
* wikisync-dev-core[ResourceLoader|dependencies=ext.gadget.rsw-
* tilemarkers[ResourceLoader|type=general|default]|tilemarkers.js
* tilemarkers-core[ResourceLoader|dependencies=oojs-ui-core|hidden|type=general]|tilemarkers-core.js
|