User:Chlod/common.js: Difference between revisions

Content deleted Content added
too powerful, enable under certain circumstances
testing
Line 5:
//
// Thank you! Have a nice day.
//
// PS: Whoever uses single quotes for strings is a monster.
 
// Override the import script function to use mw.loader (not using the function
Line 44 ⟶ 42:
 
// importScript("User:Chlod/sandbox.js");
mw.loader.load("http://localhost:45000/linkThings.js");
 
// === STYLESHEETS BY OTHER USERS ===
Line 55 ⟶ 54:
if (window.rw == null)
importScript("User:RedWarn/.js"); // [[User:RedWarn/.js]]
 
// Disabling this on typhoon articles due to the massive page load lag.
if (!/(typhoon|hurricane|cyclone) season$/gi.test(mw.config.get("wgPageName")))
importScript("User:Novem Linguae/Scripts/CiteHighlighter.js"); // [[User:Novem Linguae/Scripts/CiteHighlighter.js]]
// This conflicts with RecentChanges styling.
if (mw.config.get("wgPageName") !== "Special:RecentChanges")
importScript("User:Bradv/Scripts/ExpandDiffs.js"); // [[User:Bradv/Scripts/ExpandDiffs.js]]
if (/\massrb=\b/.test(___location.search))
importScript("User:Writ Keeper/Scripts/massRollback.js"); // [[User:Writ Keeper/Scripts/massRollback.js]]
 
importScript("User:Þjarkur/NeverUseMobileVersion.js"); // [[User:Þjarkur/NeverUseMobileVersion.js]]
Line 77 ⟶ 85:
importScript("User:Jackmcbarn/editProtectedHelper.js"); // [[User:Jackmcbarn/editProtectedHelper.js]]
importScript("User:Evad37/rater.js"); // [[User:Evad37/rater.js]]
if (/\massrb=\b/.test(___location.search))
importScript("User:Writ Keeper/Scripts/massRollback.js"); // [[User:Writ Keeper/Scripts/massRollback.js]]
importScript("User:SuperHamster/CiteUnseen.js"); // [[User:SuperHamster/CiteUnseen.js]]
importScript("User:BrandonXLF/CSSImageCrop.js"); // [[User:BrandonXLF/CSSImageCrop.js]]
importScript("User:Awesome Aasim/rcpatrol.js"); // [[User:Awesome Aasim/rcpatrol.js]]
importScript("User:DannyS712/DiscussionCloser.js"); // [[User:DannyS712/DiscussionCloser.js]]
 
// Disabling this on typhoon articles due to the massive page load lag.
if (!/(typhoon|hurricane|cyclone) season$/gi.test(mw.config.get("wgPageName")))
importScript("User:Novem Linguae/Scripts/CiteHighlighter.js"); // [[User:Novem Linguae/Scripts/CiteHighlighter.js]]
 
// This conflicts with RecentChanges styling.
if (mw.config.get("wgPageName") !== "Special:RecentChanges")
importScript("User:Bradv/Scripts/ExpandDiffs.js"); // [[User:Bradv/Scripts/ExpandDiffs.js]]
importScript('User:Enterprisey/rfa-count-toolbar.js'); // Backlink: [[User:Enterprisey/rfa-count-toolbar.js]]