- Highlights unpatrolled Recent Changes entries with a yellow background - easier to see.
- To install, add the following code to your User JS or MediaWiki:Common.js (for everyone)
function highlightUnpatrolled() {
if (wgCanonicalNamespace == 'Special' && wgCanonicalSpecialPageName == 'Recentchanges' ) {
var colLI = document.getElementsByTagName('li');
for(var i=0; i<colLI.length; i++) {
var colSPAN = colLI[i].getElementsByTagName('span');
if ( colSPAN.length > 0 ) {
if (colSPAN[0].className == 'unpatrolled') {
colLI[i].style.backgroundColor = '#FFFF99';
}
}
}
}
}
addOnloadHook(highlightUnpatrolled);