MediaWiki:RankColor.js: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
No edit summary
mNo edit summary
Line 51: Line 51:
if (wgCanonicalNamespace == 'Special' || wgAction == 'history' || document.URL.indexOf('diff=') > 0 || document.URL.indexOf('oldid=') > 0)
if (wgCanonicalNamespace == 'Special' || wgAction == 'history' || document.URL.indexOf('diff=') > 0 || document.URL.indexOf('oldid=') > 0)
{
{
$(function() {
addOnloadHook(function() {
     highlightpatrollers(document.getElementById('bodyContent').firstChild,
     highlightpatrollers(document.getElementById('bodyContent').firstChild,
                     document.getElementById('bodyContent'));
                     document.getElementById('bodyContent'));
Line 101: Line 101:
if (wgCanonicalNamespace == 'Special' || wgAction == 'history' || document.URL.indexOf('diff=') > 0 || document.URL.indexOf('oldid=') > 0)
if (wgCanonicalNamespace == 'Special' || wgAction == 'history' || document.URL.indexOf('diff=') > 0 || document.URL.indexOf('oldid=') > 0)
{
{
$(function() {
addOnloadHook(function() {
     highlightadmins(document.getElementById('bodyContent').firstChild,
     highlightadmins(document.getElementById('bodyContent').firstChild,
                     document.getElementById('bodyContent'));
                     document.getElementById('bodyContent'));
Line 151: Line 151:
if (wgCanonicalNamespace == 'Special' || wgAction == 'history' || document.URL.indexOf('diff=') > 0 || document.URL.indexOf('oldid=') > 0)
if (wgCanonicalNamespace == 'Special' || wgAction == 'history' || document.URL.indexOf('diff=') > 0 || document.URL.indexOf('oldid=') > 0)
{
{
$(function() {
addOnloadHook(function() {
     highlightbots(document.getElementById('bodyContent').firstChild,
     highlightbots(document.getElementById('bodyContent').firstChild,
                     document.getElementById('bodyContent'));
                     document.getElementById('bodyContent'));