Jump to content

User:Wutsje/global.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.
//global js, loaded on every wiki

/**
 * Forces left-to-right layout and editing on RTL wikis.
 * @see https://meta.wikimedia.org/wiki/Force_ltr
 * @update-token [[File:pathoschild/forceltr.js]]
 */
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.forceltr.js');

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/active_sysops.js&action=raw&ctype=text/javascript');
if(mw.config.get('wgDBname') in { dewiki:1, enwiki:1, eswiki:1, ptwiki:1, nlwiki:1, ruwiki:1, frwiki:1, plwiki:1, itwiki:1, jawiki:1, svwiki:1, zhwiki:1, metawiki:1 , commonswiki:1 } ) {
        window.disable_activeSysops = true;
}