MediaWiki:Common.js

Revision as of 10:28, 8 January 2015 by Dragonjet (talk | contribs) (Import new scripts)

Note: After saving, 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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
// Show IP instead of "A wikia contributor"
window.RevealAnonIP = {
    permissions : ['user']
};

// Close Article Comment Threads
window.CloseThread = [155447,158452];

// Import external scripts
importArticles({
    type: "script",
    articles: [
        "User:CDRW/js/Popups.js",
        "w:c:dev:BackToTopButton/code.js",
        "https://apis.google.com/js/platform.js",
        "w:c:dev:RevealAnonIP/code.js",
        "w:c:dev:Countdown/code.js",
        "User:Dragonjet/scripts/CloseThread.js"
    ]
});

// Google+ JS
mw.loader.load('https://apis.google.com/js/platform.js');