Jump to content

MediaWiki/MediaWiki CSS color coding

From Wikimedia Belgium

It can be very useful to enable MediaWiki/MediaWiki CSS color coding.

Tip: edit m:Special:MyPage/global.css (valid for all Wikimedia websites; you only need to encode this once).

A small CSS style can do wonderful things with your websites.

.mw-disambig {
	background-color:#AFEEEE;
}

.mw-redirect {
	background-color:wheat;
}

When there are problems on a Wikipedia page, it will be visually indicated (disambiguation, redirect).

Notes

  1. Most of the times a disambiguation, or even a redirect, is bad practice.
  2. Sometimes a redirect is OK when a future lemma could/would/might be created.