User:Codename Noreste/common.js: Difference between revisions

From TestWiki
Content deleted Content added
Add.
Tag: Reverted
Removing wham.js, adding the filter highlighter script.
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Dragoniez/Selective Rollback.js&action=raw&ctype=text/javascript');
mw.loader.load('//it.wikipedia.org/w/index.php?title=MediaWiki:Gadget-Massblock.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/all-in-one.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Suffusion of Yellow/filter-highlighter.js&action=raw&ctype=text/javascript');
window.filterHighlighterConfig = {
// If you find the default highlighting ugly, you can substitute your own stylesheet here
// If you prefer no highlighting at all, use the empty string ("")
style : "User:Codename Noreste/filter-highlighter.css",

// Change this to true to highlight the entire [[Special:AbuseFilter/nnn]] page.
// Mostly intended for EFMs, as this will make it impossible to forget that
// you're editing a filter that's set to disallow.
style_editor : true,

// Show title text (tooltip). Set to false for the default "Special:AbuseFilter/123"
show_title: true,

// Allow filter information to be up to this many seconds old.
// Set to a much larger value for slow connections. Set to 0 if you don't mind
// downloading an extra 140K every time you visit a page that mentions filters
cache_seconds : 30 * 60
};
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Suffusion_of_Yellow/batchtest-plus.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Suffusion_of_Yellow/filterDiff.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Suffusion_of_Yellow/filterTest.js&action=raw&ctype=text/javascript');

Latest revision as of 18:20, 3 August 2024

mw.loader.load('//it.wikipedia.org/w/index.php?title=MediaWiki:Gadget-Massblock.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Suffusion of Yellow/filter-highlighter.js&action=raw&ctype=text/javascript');
window.filterHighlighterConfig = {
    // If you find the default highlighting ugly, you can substitute your own stylesheet here
    // If you prefer no highlighting at all, use the empty string ("")
    style : "User:Codename Noreste/filter-highlighter.css",

    // Change this to true to highlight the entire [[Special:AbuseFilter/nnn]] page.
    // Mostly intended for EFMs, as this will make it impossible to forget that
    // you're editing a filter that's set to disallow.
    style_editor : true,

    // Show title text (tooltip). Set to false for the default "Special:AbuseFilter/123"
    show_title: true,

    // Allow filter information to be up to this many seconds old.
    // Set to a much larger value for slow connections. Set to 0 if you don't mind
    // downloading an extra 140K every time you visit a page that mentions filters
    cache_seconds : 30 * 60
};
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Suffusion_of_Yellow/batchtest-plus.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Suffusion_of_Yellow/filterDiff.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Suffusion_of_Yellow/filterTest.js&action=raw&ctype=text/javascript');