Snippets/CSS link highlight
Appearance
< 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]- You can activate it centrally for all the sister projects on m:Special:MyPage/global.css
- Or specifically for one wiki in Special:MyPage/common.css
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.