User:ClaudineChionh/Scripts/SkinSwitcher
{{infobox user script
| name = SkinSwitcher
| desc = Allows for easy switching between MediaWiki's default skins
| author = Eizen
User:ClaudineChionh
| updated = {{start date and age|2021|11|06}}
| status = Beta
| version = 0.2.0
| source = User:ClaudineChionh/Scripts/SkinSwitcher.js
| skins = Vector
Timeless
MonoBook
ApiOutput
| browsers = Developed in Google Chrome
| logo =
| screenshot =
| screenshot-caption =
}}
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 {{mono|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
You can install this script on this Wikipedia by adding the following to your personal common.js file:
{{tlxs|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");