Miraheze Dev Scripts

To use one of these scripts, copy the line of code listed below (mw.loader.load(...)) to either your User:<username>/common.js page (single-user installation) or MediaWiki:Common.js (site-wide installation) page on your wiki.

The state of these scripts is tentative and may change at any time. Always verify the code that you are executing on your wiki or userpage.

The contents of the scripts listed here are originally listed under the Creative Commons Attribution-Share Alike License 3.0 (Unported) (CC BY-SA) license. Be sure that you are not violating any terms of the license when you are reusing, modifying, or redistributing the scripts listed below.

NoNameAuthorsDescriptionRestrictionsLoad Script
1
AjaxUndo
  • Grunny
  • Cqm
  • KockaAdmiralac
  • ccxtwf / CoolMikeHatsune22 (port)
Script for adding an Ajax undo link on history pages and diffs.

None

mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/AjaxUndo/gadget-impl.js");
2
Countdown
  • Splarka
  • Eladkse
  • Pecoes
  • Asaba
  • ccxtwf / CoolMikeHatsune22 (port)
Script that creates a countdown clock

None

mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/Countdown/gadget-impl.js");
3
FandoomUiUtilsDorui
  • Doru
For building complex element trees with few expressions

None

mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/FandoomUiUtilsDorui/gadget-impl.js");
4
FandoomUiUtilsModal
  • Noreplyz
  • KockaAdmiralac
Makes creation of Fandom modals easier.

None

mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/FandoomUiUtilsModal/gadget-impl.js");
5
FandoomUiUtilsQdmodal
  • OneTwoThreeFall
Minimalist flexbox-based modal library

None

mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/FandoomUiUtilsQdmodal/gadget-impl.js");
6
FandoomUiUtilsUijs
  • KockaAdmiralac
Allows easier creation of DOM elements

None

mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/FandoomUiUtilsUijs/gadget-impl.js");
7
FandoomUtilsI18nLoader
  • Cqm
  • OneTwoThreeFall
  • ccxtwf / CoolMikeHatsune22
Library for loading i18n messages. Fork of i18n-js.

None

mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/FandoomUtilsI18nLoader/gadget-impl.js");
8
HTMLAudioPlayer5
  • Manuel de la Fuente
  • KockaAdmiralac
  • Macklin
  • ccxtwf / CoolMikeHatsune22 (port)
Play audio files with a native HTML5 player

None

mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/HTMLAudioPlayer5/gadget-impl.js");
9
PowertoolsPlacement
  • ccxtwf / CoolMikeHatsune22
Convenience script for placing links to loaded userscripts in a shared portlet. Works across skins.

None

mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/PowertoolsPlacement/gadget-impl.js");
10
PreloadTemplates
  • leviathan_89
  • Grunny
  • KockaAdmiralac
  • ccxtwf / CoolMikeHatsune22 (port)
Allows inserting a pre-made syntax of a template selected from a list directly within the source editor.

Restricted to the following pages/user groups:

Actions

  • edit
mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/PreloadTemplates/gadget-impl.js");
11
ViewSource
  • Pecoes
  • ccxtwf / CoolMikeHatsune22 (port)
Adds a "View source" link to the "Edit" menu

Restricted to the following pages/user groups:

Actions

  • view
mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/ViewSource/gadget-impl.js");
12
AjaxBatchDelete
  • Splarka
  • Grunny
  • KnazO
  • KockaAdmiralac
  • ccxtwf / CoolMikeHatsune22 (port)
Allows deleting a list of pages in a form and protecting them too.

Restricted to the following pages/user groups:

Rights

  • sysop
  • bureaucrat
  • global-admin
mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/AjaxBatchDelete/gadget-impl.js");
13
AjaxBatchUndelete
  • UltimateSupreme
  • Nerfmaster8
  • Noreplyz
  • ccxtwf / CoolMikeHatsune22 (port)
Allows batch undeletion of pages.

Restricted to the following pages/user groups:

Rights

  • sysop
  • bureaucrat
  • global-admin
mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/AjaxBatchUndelete/gadget-impl.js");
14
AjaxBatchRedirect
  • MonkeysHK
  • ccxtwf / CoolMikeHatsune22 (port)
Allows redirecting a list of pages in a form.

None

mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/AjaxBatchRedirect/gadget-impl.js");
15
MassCategorization
  • KnazO
  • Dorumin
  • ccxtwf / CoolMikeHatsune22 (port)
Categorization (add/remove/replace) on multiple pages in a list fashion, similar to AjaxBatchDelete.

Restricted to the following pages/user groups:

Rights

  • autoconfirmed
  • bot
  • sysop
  • bureaucrat
mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/MassCategorization/gadget-impl.js");
16
MassNullEdit
  • KnazO
  • DarthKitty
  • OneTwoThreeFall
  • ccxtwf / CoolMikeHatsune22 (port)
Null edit multiple pages from a list.

None

mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/MassNullEdit/gadget-impl.js");
17
MassProtect
  • KnazO
  • TheGoldenPatrik1
  • ccxtwf / CoolMikeHatsune22 (port)
Protect multiple pages from a list

Restricted to the following pages/user groups:

Rights

  • sysop
  • bureaucrat
  • global-admin
mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/MassProtect/gadget-impl.js");
18
MassRename
  • KnazO
  • TheGoldenPatrik1
  • ccxtwf / CoolMikeHatsune22 (port)
Rename multiple pages in a list fashion, similar to AjaxBatchDelete

Restricted to the following pages/user groups:

Rights

  • sysop
  • bureaucrat
  • global-admin
mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/MassRename/gadget-impl.js");
19
PageRenameAuto-update
  • Jr Mime
  • Foodbandlt
  • KockaAdmiralac
  • ccxtwf / CoolMikeHatsune22 (port)
Automatically updates page links, transclusions and category members throughout the wiki upon renaming a page.

Restricted to the following pages/user groups:

Rights

  • sysop
  • bureaucrat
  • global-admin
mw.loader.load("https://cdn.jsdelivr.net/gh/ccxtwf/MirahezeDevScripts@v0.0.5/dist/PageRenameAuto-update/gadget-impl.js");