User:ClaudineChionh/Scripts/SkinSwitcher

From Wikipedia, the free encyclopedia
SkinSwitcher
DescriptionAllows for easy switching between MediaWiki's default skins
Author(s)Eizen
User:ClaudineChionh
StatusBeta
Version0.2.0
UpdatedNovember 6, 2021; 2 years ago (2021-11-06)
Browser supportDeveloped in Google Chrome
Skin supportVector
Timeless
MonoBook
ApiOutput
SourceUser:ClaudineChionh/Scripts/SkinSwitcher.js
This is the documentation page for the User:ClaudineChionh/Scripts/SkinSwitcher.js user script, which was forked from User:Eizen/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("//en.wikipedia.org/w/index.php?title=User:ClaudineChionh/Scripts/SkinSwitcher.js&action=raw&ctype=text/javascript");