MediaWiki:Gadgets-definition

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search

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. When targeting a gadget for 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 pages, it may be a good idea to propose it on the Yew Grove first. Gadgets which can be enabled/disabled by the user (on Special:Preferences) should have a description created on Mediawiki:Gadget-gadgetname.

For a list of the gadgets with their descriptions and settings see Special:Gadgets.

Note that targetting only mobile is currently bugged - see mw:Extension:Gadgets#Options and task T173309. For mobile-only gadgets, please target both mobile and desktop, then have the gadget exit out if not mobile. (Alternatively load via mediawiki:mobile.js)

External

  • tooltip[ResourceLoader|targets=desktop,mobile|type=general|hidden]|popper.js|tooltip.js

Core

  • rsw-util[ResourceLoader|dependencies=mediawiki.util|targets=desktop,mobile|type=general|default|hidden]|rsw-util.js
  • exchangePages[ResourceLoader|type=general|default|hidden]|exchangePages.js
  • exchangePages-core[ResourceLoader|dependencies=ext.gadget.rsw-util,oojs-ui-core|type=general|hidden]|exchangePages-core.js
  • GECharts[ResourceLoader|type=general|targets=desktop,mobile|default]|GECharts.js
  • GECharts-core[ResourceLoader|dependencies=ext.gadget.rsw-util,oojs-ui-core,oojs-ui-widgets,oojs-ui-windows|type=general|targets=desktop,mobile|hidden]|GECharts-core.js
  • exchangeCreate[ResourceLoader|type=general|default|hidden|rights=autoconfirmed]|exchangeCreate.js
  • exchangeCreate-core[ResourceLoader|dependencies=ext.gadget.rsw-util,oojs-ui-core,oojs-ui-windows|type=general|hidden|rights=autoconfirmed]|exchangeCreate-core.js
  • charmadd[ResourceLoader|targets=desktop,mobile|type=general|default|hidden]|charmadd.js
  • charmadd-core[ResourceLoader|dependencies=mediawiki.api,ext.gadget.rsw-util,oojs-ui-core,oojs-ui-windows|targets=desktop,mobile|type=general|hidden]|charmadd-core.js
  • cvuform[ResourceLoader|type=general|targets=desktop,mobile|default|hidden]|cvuform.js
  • cvuform-core[ResourceLoader|type=general|dependencies=oojs-ui-core,oojs-ui-windows|targets=desktop,mobile|hidden]|cvuform-core.js
  • titleparenthesis[ResourceLoader|type=general|default|hidden]|titleparenthesis.js|titleparenthesis.css
  • timer[ResourceLoader|type=general|default|hidden]|timers.js
  • warbandstimer[ResourceLoader|type=general|hidden]|warbandstimer.js
  • supplyruntimer[ResourceLoader|type=general|hidden]|supplyruntimer.js
  • tooltips[ResourceLoader|type=general|default|hidden]|tooltips.js
  • highlightTable[ResourceLoader|type=general|targets=desktop,mobile|default|hidden]|highlightTable.js|highlightTable.css
  • highlightTable-core[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util,oojs-ui-core|targets=desktop,mobile|hidden]|highlightTable-core.js
  • checkboxList[ResourceLoader|type=general|targets=desktop,mobile|default|hidden]|checkboxList.js
  • checkboxList-core[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util|targets=desktop,mobile|hidden]|checkboxList-core.js|checkboxList.css
  • autosort[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util,ext.gadget.highlightTable|targets=desktop,mobile|default|hidden]|autosort.js
  • uncheckfileredirects[ResourceLoader|type=general|rights=suppressredirect|default|hidden]|UncheckFileRedirect.js
  • switch-infobox[ResourceLoader|type=general|default|hidden|targets=desktop,mobile]|switch-infobox.js|switch-infobox.css
  • switch-infobox-styles[ResourceLoader|type=styles|default|hidden|targets=desktop,mobile]|switch-infobox.css
  • compare[ResourceLoader|type=general|default|hidden]|compare.js
  • compare-core[ResourceLoader|dependencies=ext.gadget.rsw-util,oojs-ui-core,oojs-ui-windows|type=general|hidden]|compare-core.js|compare.css
  • pengLocations[ResourceLoader|type=general|default|hidden]|pengLocations.js
  • pengLocations-core[ResourceLoader|dependencies=ext.gadget.rsw-util,oojs-ui-core|type=general|hidden]|pengLocations-core.js
  • Less[ResourceLoader|rights=editinterface|dependencies=mediawiki.api|type=general|default|hidden]|Less.js
  • InstantCollapsible[ResourceLoader|default|hidden|dependencies=jquery.makeCollapsible|type=general]|InstantCollapsible.js
  • updates[ResourceLoader|default|hidden|type=general|rights=upload_by_url]|updates.js
  • updates-core[ResourceLoader|hidden|type=general|dependencies=oojs-ui-core,oojs-ui-windows|rights=upload_by_url]|updates-core.js
  • topIcons[ResourceLoader|default|hidden|type=general|dependencies=ext.gadget.rsw-util]|topIcons.js|topIcons.css
  • Username[ResourceLoader|type=general|default|hidden]|Username.js
  • countdown[ResourceLoader|type=general|default|hidden]|countdown.js
  • autocollapse[ResourceLoader|type=general|default|hidden|dependencies=mediawiki.Uri]|autocollapse.js
  • navboxToggle[ResourceLoader|targets=desktop,mobile|dependencies=ext.gadget.rsw-util|type=general|default|hidden]|navboxToggle.js
  • VoS[ResourceLoader|type=general|targets=desktop,mobile|default|hidden]|VoS.js
  • VoS-core[ResourceLoader|type=general|targets=desktop,mobile|hidden|dependencies=oojs-ui-core]|VoS-core.js|VoS.css
  • Charts[ResourceLoader|type=general|targets=desktop,mobile|default]|Charts.js
  • Charts-core[ResourceLoader|type=general|targets=desktop,mobile|hidden|dependencies=ext.gadget.rsw-util]|Charts-core.js
  • portables[ResourceLoader|type=general|targets=desktop,mobile|default|hidden]|portables.js
  • portables-core[ResourceLoader|type=general|targets=desktop,mobile|hidden]|portables-core.js|portables-core.css
  • submitData[ResourceLoader|targets=desktop,mobile|type=general|default|hidden]|submitData.js
  • submitData-core[ResourceLoader|dependencies=mediawiki.api,ext.gadget.rsw-util,oojs-ui-core,oojs-ui-windows|targets=desktop,mobile|type=general|hidden]|submitData-core.js

Calculators

  • calc[ResourceLoader|targets=desktop,mobile|type=general|default|hidden]|calc.js
  • calc-core[ResourceLoader|dependencies=ext.gadget.rsw-util,oojs-ui-core,mediawiki.widgets|targets=desktop,mobile|type=general|hidden]|calc-core.js|calc.css
  • calc2[ResourceLoader|targets=desktop,mobile|type=general|default|hidden]|calc2.js
  • calc2-core[ResourceLoader|dependencies=ext.gadget.rsw-util|targets=desktop,mobile|type=general|hidden]|calc2-core.js
  • killCalc[ResourceLoader|dependencies=ext.gadget.rsw-util|targets=desktop,mobile|type=general|default|hidden]|killCalc.js
  • infoboxQty[ResourceLoader|dependencies=ext.gadget.rsw-util|targets=desktop,mobile|type=general|default|hidden]|infoboxQty.js
  • discalc[ResourceLoader|targets=desktop,mobile|type=general|default|hidden]|discalc.js
  • discalc-core[ResourceLoader|dependencies=oojs-ui-core,oojs-ui-widgets|targets=desktop,mobile|type=general|hidden]|discalc-core.js|discalc.css
  • itemDiscalc[ResourceLoader|targets=desktop,mobile|type=general|default|hidden]|itemDiscalc.js
  • itemDiscalc-core[ResourceLoader|dependencies=ext.gadget.rsw-util,oojs-ui-core,oojs-ui-widgets|targets=desktop,mobile|type=general|hidden]|itemDiscalc-core.js|itemDiscalc.css
  • revocalc[ResourceLoader|type=general|targets=desktop,mobile|default|hidden]|revocalc.js
  • revocalc-core[ResourceLoader|type=general|dependencies=mediawiki.Uri,ext.gadget.rsw-util|targets=desktop,mobile|hidden]|revocalc-core.js|revocalc.css
  • revocalc2[ResourceLoader|type=general|dependencies=mediawiki.Uri,ext.gadget.rsw-util|targets=desktop,mobile|default|hidden|rights=editinterface]|revocalc2.js|revocalc.css
  • questchecker[ResourceLoader|type=general|targets=desktop,mobile|default|hidden]|questchecker.js
  • questchecker-core[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util,oojs-ui-core|targets=desktop,mobile|hidden]|questchecker-core.js
  • armoury[ResourceLoader|type=general|default|hidden|targets=desktop,mobile]|armoury.js
  • armoury-core[ResourceLoader|type=general|dependencies=mediawiki.api,oojs-ui-core,oojs-ui-widgets,oojs-ui.styles.icons-editing-core|hidden|targets=desktop,mobile]|armoury-core.js|equipmentTables.css
  • bestiary[ResourceLoader|type=general|default|hidden|targets=desktop,mobile]|bestiary.js
  • bestiary-core[ResourceLoader|type=general|dependencies=mediawiki.api,oojs-ui-core,oojs-ui-widgets,oojs-ui.styles.icons-editing-core|hidden|targets=desktop,mobile]|bestiary-core.js|bestiary.css
  • kiln[ResourceLoader|type=general|default|hidden]|kiln.js
  • kiln-core[ResourceLoader|type=general|dependencies=mediawiki.api,oojs-ui-core,oojs-ui-widgets|hidden]|kiln-core.js
  • dropDisplay[ResourceLoader|type=general|default|hidden|targets=desktop,mobile]|dropDisplay.js
  • dropDisplay-core[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util,mediawiki.widgets,oojs-ui-core,oojs-ui-widgets,oojs-ui-windows|hidden|targets=desktop,mobile]|dropDisplay-core.js|dropDisplay.css
  • hitcalc[ResourceLoader|type=general|targets=desktop,mobile|default]|hitcalc.js
  • hitcalc-core[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util,mediawiki.widgets,oojs-ui-core,oojs-ui-widgets,oojs-ui-windows,oojs-ui.styles.icons-editing-core|hidden|targets=desktop,mobile]|hitcalc-core.js|hitcalc-core.css
  • perkcalc[ResourceLoader|type=general|default|hidden|targets=desktop,mobile]|perkcalc.js
  • perkcalc-core[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util,mediawiki.widgets,oojs-ui-core,oojs-ui-widgets,oojs-ui-windows,mediawiki.Uri,mediawiki.notify,ext.gadget.tooltip|hidden|targets=desktop,mobile]|perkcalc-data.js|perkcalc-core.js|perkcalc-core.css
  • dynamicMMG[ResourceLoader|type=general|default|hidden|targets=desktop,mobile]|dynamicMMG.js
  • dynamicMMG-core[ResourceLoader|type=general|dependencies=oojs-ui-core,oojs-ui-widgets|hidden|targets=desktop,mobile]|dynamicMMG-core.js|dynamicMMG-core.css
  • popcalc[ResourceLoader|type=general|targets=desktop,mobile|default|hidden]|popcalc.js
  • popcalc-core[ResourceLoader|type=general|targets=desktop,mobile|hidden]|popcalc-core.js|popcalc.css
  • capecustomiser[ResourceLoader|type=general|targets=desktop,mobile|hidden|default]|capecustomiser.js
  • tinycolor2[ResourceLoader|type=general|targets=desktop,mobile|hidden]|tinycolor2.js
  • capecustomiser-core[ResourceLoader|type=general|dependencies=ext.gadget.tinycolor2|targets=desktop,mobile|hidden]|capecustomiser-core.js|capecustomiser.css
  • archcalc[ResourceLoader|type=general|targets=desktop,mobile|hidden|default]|archcalc.js
  • archcalc-core[ResourceLoader|type=general|targets=desktop,mobile|hidden|dependencies=ext.gadget.rsw-util,oojs-ui-core,oojs-ui-windows,mediawiki.widgets,mediawiki.util]|archcalc-data.js|archcalc-core.js|archcalc.css
  • skillplanner[ResourceLoader|type=general|targets=desktop,mobile|hidden|default]|skillplanner.js
  • skillplanner-core[ResourceLoader|type=general|targets=desktop,mobile|hidden|dependencies=ext.gadget.rsw-util,oojs-ui-core,oojs-ui-windows,mediawiki.widgets,mediawiki.util]|skillplanner-core.js|skillplanner.css

Tools

  • dropdown[ResourceLoader|type=general|dependencies=mediawiki.util,mediawiki.api,mediawiki.notify|default]|dropdown.js
  • autocvu[ResourceLoader|type=general|default]|AutoCVU.js
  • batchupload[ResourceLoader|type=general|default|hidden|dependencies=mediawiki.util|rights=upload]|batchupload.js
  • hotcat[ResourceLoader|rights=upload|type=general]|hotcat.js
  • newPage[ResourceLoader|default|type=general|dependencies=ext.gadget.rsw-util|rights=createpage]|newPage.js
  • purge[ResourceLoader|default|type=general|dependencies=ext.gadget.rsw-util,ext.smw.purge,mediawiki.api,mediawiki.notify|hidden]|purge.js
  • ReferenceTooltips[ResourceLoader|default|type=general|dependencies=ext.gadget.rsw-util]|ReferenceTooltips.js|ReferenceTooltips.css
  • massdelete[ResourceLoader|default|hidden|type=general|dependencies=mediawiki.api,mediawiki.util|rights=delete]|massdelete.js
  • contributions[ResourceLoader|type=general|default|dependencies=ext.gadget.rsw-util]|contributions.js
  • editCount[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util]|editCount.js
  • fileDownload[ResourceLoader|type=general|hidden|default]|fileDownload.js
  • LazyQuickTools[ResourceLoader|type=general|dependencies=mediawiki.api|rights=block]|LazyQuickTools.js
  • Preload[ResourceLoader|type=general|hidden|default|dependencies=mediawiki.util|rights=block]|Preload.js
  • sectionAnchors[ResourceLoader|type=general|default]|sectionAnchors.js|sectionAnchors.css
  • QuickDiff[ResourceLoader|type=general]|QuickDiff.js|QDmodal.css
  • Message-names[ResourceLoader|rights=editinterface|type=general|dependencies=mediawiki.util]|Message-names.js

Appearance

  • skinTogglesNew[ResourceLoader|dependencies=mediawiki.util,ext.gadget.rsw-util|targets=desktop|type=general|default|hidden]|skinTogglesNew.js|skinToggles.css
  • utcclock[ResourceLoader|type=general|dependencies=mediawiki.util,mediawiki.api,mediawiki.notify|default]|utcclock.js|utcclock.css
  • relativetime[ResourceLoader|dependencies=mediawiki.util|type=general|default]|relativetime.js
  • colorRC[ResourceLoader|type=styles|targets=desktop,mobile]|colorRC.css
  • readableRC[ResourceLoader|type=general|rights=upload|default]|readableRC.js
  • readableRC-core[ResourceLoader|type=general|dependencies=oojs-ui-core|hidden]|readableRC-core.js|readableRC-core.css
  • toplinksDropdown[ResourceLoader|type=general|peers=toplinksDropdown-styles]|toplinksDropdown.js
  • toplinksDropdown-styles[ResourceLoader|type=styles|hidden]|toplinksDropdown.css
  • stickyTableHeaders[ResourceLoader|type=styles|default]|stickyTableHeaders.css
  • falseSubpage[ResourceLoader|type=general|default|hidden]|falseSubpage.js
  • events[ResourceLoader|type=general|targets=desktop|default|dependencies=mediawiki.util,ext.gadget.rsw-util,mediawiki.api,mediawiki.api.messages]|events.js|events.css
  • oswf[ResourceLoader|type=general|targets=desktop,mobile|default|hidden]|oswf.js
  • oswf-core[ResourceLoader|type=general|targets=desktop,mobile|dependencies=oojs-ui-core,oojs-ui.styles.icons-movement|hidden]|oswf-core.js
  • lazyload[ResourceLoader|type=general|targets=desktop,mobile|default|hidden]|lazyload.js
  • lazyload-core[ResourceLoader|type=general|targets=desktop,mobile|hidden]|lazyload-core.js|lazyload-core.css
  • rsnews[ResourceLoader|type=general|targets=desktop,mobile|dependencies=moment,ext.gadget.rsw-util|default]|rsnews.js|rsnews.css
  • spoiler[ResourceLoader|type=general|targets=desktop,mobile|default]|spoiler.js

Other

  • searchfocus[ResourceLoader|type=general|default]|searchfocus.js
  • sigreminder[ResourceLoader|dependencies=ext.gadget.rsw-util|type=general|default]|sigreminder.js
  • defaultsummaries[ResourceLoader|type=general]|defaultsummaries.js
  • defaultsummaries-core[ResourceLoader|dependencies=oojs-ui-core|type=general|hidden]|defaultsummaries-core.js
  • crob[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util]|crob.js|crob.css
  • book[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util|hidden]|book.js
  • potionify[ResourceLoader|type=general]|potionify.js|potionify.css
  • showAdvancedData[ResourceLoader|type=styles]|showAdvancedData.css
  • gadgetLinks[ResourceLoader|type=general|default]|gadgetLinks.js
  • identicalModels[ResourceLoader|type=general]|identicalModels.js
  • identicalModels-core[ResourceLoader|type=general|dependencies=mediawiki.api|hidden]|identicalModels-core.js
  • nft[ResourceLoader|type=general|default]|nft.js
  • nft-core[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util,oojs-ui-core]|nft-core.js|nft-core.css
  • nftnotice[ResourceLoader|type=general|dependencies=ext.gadget.rsw-util]|nftnotice.js