Jump to content

Script Manager

From mediawiki.org
Script Manager screenshot

Script Manager (SM) is a JavaScript gadget for MediaWiki that helps users manage personal user scripts and gadgets across skins and wikis, offering one-click install/uninstall, move between targets (common/global/skin), normalization of imports to canonical mw.loader.load, and clear status feedback via a modern Vue/Codex UI; originally built on ideas from Enterprisey’s Script Installer and enhanced by Iniquity for broader compatibility, i18n, and improved UX.

Key Features

[edit]
  • One‑click install/uninstall: manage personal user scripts, styles and gadgets.
  • Target management: move scripts between common/global/skin pages.
  • Canonical imports: normalize to mw.loader.load.
  • Gadgets panel: enable/disable with live state and section grouping.
  • Accessible UI: Vue 3 + Codex, aria‑live notifications, focus management.
  • Multi‑skin support: Vector, Vector‑2022, Minerva, Timeless, etc.
  • i18n: localization and fallback chain.

Installation and Usage

[edit]

To install the script without gadgets for all Wikimedia wikis, add this to your global.js on Meta:

mw.loader.load( 'https://www.mediawiki.org/w/index.php?title=User:Iniquity/scriptManager.js&action=raw&ctype=text/javascript' ); // [[mw:Script Manager]]

Localization

[edit]

You can help with translating project on the translatewiki.net.

Compatibility

[edit]
  • Wikimedia production only (CORS issues)
  • Supported skins: Vector 2022, Vector, Monobook

Authors

[edit]