User:ClaudineChionh/Scripts/SkinSwitcher
Description | Allows for easy switching between MediaWiki's default skins |
---|---|
Author(s) | Eizen User:ClaudineChionh |
Status | Beta |
Version | 0.2.0 |
Updated | November 6, 2021 |
Browsers | Developed in Google Chrome |
Skins | Vector Timeless MonoBook ApiOutput |
Source | User:ClaudineChionh/Scripts/SkinSwitcher.js |
SkinSwitcher is a JavaScript user script that allows users to view a given page in MediaWiki's default skins. At present, these are Vector, Timeless, MonoBook, and ApiOutput.
An options menu/toolbox/toolbar is provided in each skin to make skin switching convenient and easy. For Vector, Timeless, and MonoBook, a toolbox is provided below "Tools" on the left-hand side of the screen, and for ApiOutput, an experimental toolbar is provided across the top of the body of the page.
Please note that this script is still in the beta testing phase. While it will work in most instances, it is in a state of refinement and may still play host to bugs and unexpected behaviors. Likewise, off-Wikipedia usage may be limited in some cases, as not all Wikimedia wikis share the same base toolbox/toolbar elements and CSS ids/classes.
Installation
[edit]You can install this script on this Wikipedia by adding the following to your personal common.js file:
{{subst:lusc|User:ClaudineChionh/Scripts/SkinSwitcher.js}}
which expands to:
mw.loader.load("/w/index.php?title=User:ClaudineChionh/Scripts/SkinSwitcher.js&action=raw&ctype=text/javascript");
Alternatively, you can install the script globally on all Wikimedia wikis by adding the following to your global.js file:
mw.loader.load("//wiki.riteme.site/w/index.php?title=User:ClaudineChionh/Scripts/SkinSwitcher.js&action=raw&ctype=text/javascript");