User:Mitch 1 2/uncyclopedia.js

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

Note: After saving, you have to bypass your browser's cache to see the changes.

  • Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button, or press Ctrl+F5.
  • Firefox: hold down the Shift key while clicking Reload; alternatively press Ctrl+F5 or Ctrl-Shift-R.
  • Opera, Konqueror and Safari users can just click the Reload button.
  • Chrome: press Ctrl+F5 or Shift+F5
//<nowiki>

// *cough*
if (wgUserName != "Thekillerfroggy")
{
    // [[Wikipedia:Wikipedia:WikiProject_User_scripts/Scripts/Six_tabs]]
    document.write('<script type="text/javascript" src="' +
                   'http://en.wikipedia.org/w/index.php?title=Wikipedia:WikiProject_User_scripts/Scripts/Six_tabs' +
                   '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}

// Fork of Spang's uncyclopedia.js
importScript('User:Mitch_1_2/sp.js');

if (wgNamespaceNumber != -1) addOnloadHook(function() { addPortletLink('p-cactions','/wiki/Special:Prefixindex/' + wgPageName + '/','subpages','ca-subpages'); });

// Only applies to non-sysops
if (!("sysop" in wgUserGroups))
{
    importScript('User:Mitch_1_2/QVFD.js'); // QVFD script
}

//</nowiki>