User:Chlod/global.js
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Awesome_Aasim/noeditredlinks.js&action=raw&ctype=text/javascript' ); // Backlink: [[w:User:Awesome Aasim/noeditredlinks.js]]
// mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Enterprisey/copy-section-link.js&action=raw&ctype=text/javascript' ); // Backlink: [[w:User:Enterprisey/copy-section-link.js]]
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Mxn/CommentsInLocalTime.js&action=raw&ctype=text/javascript' ); // Backlink: [[w:User:Mxn/CommentsInLocalTime.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&bcache=1&maxage=259200&action=raw&ctype=text/javascript');
if ([
"en.wikipedia.org",
"commons.wikimedia.org"
].indexOf(window.location.hostname) === -1)
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal.js&action=raw&ctype=text/javascript');
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Chlod/Scripts/GoToTitle.js&action=raw&ctype=text/javascript' ); // Backlink: [[w:User:Chlod/Scripts/GoToTitle.js]]
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Chlod/Scripts/SectionLink.js&action=raw&ctype=text/javascript' ); // Backlink: [[w:User:Chlod/Scripts/SectionLink.js]]
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Blablubbs/rbk.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Blablubbs/rbk.js]]
// This conflicts with RecentChanges styling.
if (mw.config.get("wgPageName") !== "Special:RecentChanges")
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Bradv/Scripts/ExpandDiffs.js&action=raw&ctype=text/javascript"); // [[User:Bradv/Scripts/ExpandDiffs.js]]
// common.js link at hotbar.
mw.util.addPortletLink(
"p-personal",
"/wiki/Special:MyPage/common.js",
"common.js",
"pt-cjs",
"Open your common.js file.",
null,
"#pt-logout"
);