User:MusikAnimal/nightpedia
Appearance
nightpedia.js | |
---|---|
Description | Dark mode for WMF wikis |
Author(s) | MusikAnimal with some CSS from AHollender (WMF) |
Status | Stable |
Updated | December 7, 2018 (5 years ago) |
Browsers | Any modern browser |
Skins | All |
Source | User:MusikAnimal/nightpedia.js |
A cheap dark mode for WMF wikis.
Usage
[edit]Look for the "Nightpedia" link in your top toolbar between the "Beta" and the "Watchlist" links. This will toggle the dark mode. Your preference for night mode will be remembered as you browser to other pages. However, because this is only a user script, the styling only gets applied after the page has fully loaded, so there will be brief period where you will see the normal daytime mode.
Installation
[edit]To use Nightpedia on all Wikimedia projects add the following to meta:Special:MyPage/global.js:
mw.loader.load('http://en.wiki.x.io/w/index.php?action=raw&ctype=text/javascript&title=User:MusikAnimal/nightpedia.js');
Or, to use it only on English Wikipedia, add the following to Special:MyPage/common.js:
{{subst:lusc|User:MusikAnimal/nightpedia}}