Snowolf

Show if wiki is global sysop

Feb 26th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Stick this in your global.js
  2. // Shows the number of active sysops and if the wiki is a global sysop wiki, uses data from the toolserver
  3. // Data will be shown in the top left corner on the logo
  4. // by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Active_sysops>
  5.  
  6. mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/active_sysops.js&action=raw&ctype=text/javascript');
  7.  
  8. if(typeof(activeSysopsConfig) === 'undefined') activeSysopsConfig = {};
  9. activeSysopsConfig.markWikisActiveSysops = true;
  10. activeSysopsConfig.markWikisGS = true;
Advertisement
Add Comment
Please, Sign In to add comment