Jump to content

User:Dentonius/common.js

From Meta, a Wikimedia project coordination wiki

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.
"use strict";

/* global mw, $ */

window.DentoniusTools = {};

window.DentoniusTools.main = function ()
{
    mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Dentonius/scripts/GlobalRecentChanges.js&action=raw&ctype=text/javascript');
    
    // mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Dentonius/scripts/Sandbox.js&action=raw&ctype=text/javascript');
};

if (mw.config.get('wgAction') == "view")
	$(window.DentoniusTools.main);