User:SpikeToronto/global.js

// Custom edit buttons importScriptURI('http://admintools.wikia.com/index.php?title=MediaWiki:Common.js/CEB.js'    + '&action=raw&ctype=text/javascript'); // End of custom edit buttons

// Add MyContributions to AccountNavigation in the Wikia skin importScriptURI('http://admintools.wikia.com/index.php?title=MediaWiki:Common.js/accountNavigation.js'    + '&action=raw&ctype=text/javascript'); // End of MyContributions and AccountNavigation

// Add Revision History to Edit button in the Wikia skin importScriptURI('http://admintools.wikia.com/index.php?title=MediaWiki:Common.js/pageHistory.js'    + '&action=raw&ctype=text/javascript'); // End Add Revision History to Edit button in the Wikia skin

// Fix Edit Summary prompt for UNDO // Fixes the fact that the undo function combined with the "no edit summary prompter" // causes problems if leaving the default undo edit summary unchanged. // Added by User:Deskana, code by User:Tra. // See also 8912. $(function {    if (document.location.search.indexOf("undo=") != -1 && document.getElementsByName('wpAutoSummary')[0]) {        document.getElementsByName('wpAutoSummary')[0].value='1';    } }); // End Fix Edit Summary prompt for UNDO

// Add Purge tab, Popups, & Clock Wikia-wide importScriptURI('http://en.wikipedia.org/w/index.php?title=User:SpikeToronto/OtherWiki.js'    + '&action=raw&ctype=text/javascript'); // End Add Purge tab, Popups, & Clock Wikia-wide

// Widen area for Random Page & Wiki Activity .WikiHeader .buttons { width: 290px; } // Widen area for Random Page & Wiki Activity

// Change Wiki Activity to RecentChanges - 2/1/11 function WikiActivity2RecentChanges { $('a.wikia-button[data-id$="wikiactivity"]').replaceWith('Recent Changes'); } addOnloadHook(WikiActivity2RecentChanges); // END Change Wiki Activity to RecentChanges