Snippets/CSS link highlight

From mediawiki.org
Jump to navigation Jump to search
How to use Snippets
List of Snippets
Crystal Clear action run.png
CSS link highlight
Language(s): CSS
Compatible with: MediaWiki all+ (all)

Description[edit]

This small CSS code shows redirects and desambiguation pages with a color code.

This helps to visually troubleshoot internal links. It works while reading pages, and with any page editor, or preview mode.

Usage[edit]

It should work for all types and versions of MediaWiki.

Code[edit]

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

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

Notes[edit]

You must be logged in, of course, to see the effect.

See also[edit]