Jump to content

Snippets/CSS link highlight

From mediawiki.org
How to use Snippets
List of Snippets
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]