Jump to content

ᱵᱮᱵᱷᱟᱨᱤᱭᱟᱹ:Sadhuguru/nightpedia

ᱣᱤᱠᱤᱯᱤᱰᱤᱭᱟ, ᱨᱟᱲᱟ ᱜᱮᱭᱟᱱ ᱯᱩᱛᱷᱤ ᱠᱷᱚᱱ

ᱪᱷᱟᱸᱪ:Infobox user script

A cheap dark mode for WMF wikis.

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.

To use Nightpedia on all Wikimedia projects add the following to meta:Special:MyPage/global.js:

mw.loader.load('https://en.wikipedia.org/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}}