User:SpikeToronto/global.js

/* From MediaWiki:COMMON.js at Admin Tools Wiki */

/* Test if an Element has a Certain Class */ importScriptPage('MediaWiki:Common.js/elementClass.js', 'admintools'); /* END Test if an Element has a Certain Class */

/* Cookie accessor functions */ importScriptPage('MediaWiki:Common.js/cookieAccessor.js', 'admintools'); /* END Cookie accessor functions */

/* Custom edit buttons */ importScriptPage('MediaWiki:Common.js/CEB.js', 'admintools'); /* END of custom edit buttons */

var autoCollapse = 2; var collapseCaption = "hide"; var expandCaption = "show"; var maxHeight = 300;

/* Dynamic Navigation Bars */ importScriptPage('MediaWiki:Common.js/navigationbars.js', 'admintools'); /* END Dynamic Navigation Bars */

/* Dynamic Navigation Bars (2) */ importScriptPage('MediaWiki:Common.js/navigationbars2.js', 'admintools'); /* END Dynamic Navigation Bars (2) */

/* Collapsible Tables */ importScriptPage('MediaWiki:Common.js/collapsibleTables.js', 'admintools'); /* END of Collapsible Tables */

/* Standard Edit Summaries */ importScriptPage('MediaWiki:Common.js/standardeditsummaries.js', 'admintools'); /* END of Standard Edit Summaries */

/* Ajax auto-refresh */ var ajaxPages = ["Special:RecentChanges", "Special:Watchlist", "Special:Following", "Special:Log", "Special:Contributions", "Special:AbuseLog"]; var AjaxRCRefreshText = 'Auto-refresh'; importScriptPage('MediaWiki:Common.js/ajaxrefresh.js', 'admintools'); /* END of ajax auto-refresh */

/* Added SiteNotice Functionality */ importScriptPage('MediaWiki:Common.js/sitenotice.js', 'admintools'); /* END of added SiteNotice functionality */

/* Fix Edit Summary Prompt for UNDO */ importScriptPage('MediaWiki:Common.js/undoSummary.js', 'admintools'); /* END Fix Edit Summary Prompt for UNDO */

/* Skin Redirect Code */ importScriptPage('MediaWiki:Common.js/skinRedirect.js', 'admintools'); /* END of Skin Redirect Code */

/* Extra Rollback Buttons */ importScriptPage('MediaWiki:Common.js/extraRollbacks.js', 'admintools'); /* END Extra Rollback Buttons */

/* AjaxRollback - works with Extra Rollback Buttons */ importScriptPage('MediaWiki:Common.js/ajaxRollback.js', 'admintools'); /* END AjaxRollback */

/* Adds QuickPreview */ importScriptPage('MediaWiki:Common.js/quickPreview.js', 'admintools'); /* END Adds QuickPreview */

/* Adds PopupsNavigation */ importScriptPage('MediaWiki:Common.js/popupsNav.js', 'admintools'); /* END Adds PopupsNavigation */

// From MediaWiki:WIKI.js at Admin Tools Wiki

// Add Special:Contributions, Special:Watchlist, & Special:Following to AccountNavigation in Wikia skin importScriptPage('MediaWiki:Common.js/accountNavigation.js', 'admintools'); // END Add Special:Contributions, Special:Watchlist, & Special:Following to AccountNavigation in Wikia skin

// Add link back to Revision History from Diffs importScriptPage('MediaWiki:Common.js/historyDiff.js', 'admintools'); // END Add link back to Revision History from Diffs

// Restoring Special:Upload functionality importScriptPage('MediaWiki:Common.js/uploadPhoto.js', 'admintools'); // END Restoring Special:Upload functionality

// Change PHOTOS to IMAGES importScriptPage('MediaWiki:Common.js/photosImages.js', 'admintools'); // END Change PHOTOS to IMAGES

// Change Wiki Activity to RecentChanges in Wikia skin - 2/1/11 importScriptPage('User:SpikeToronto/wikia.js/wikiActivity.js', 'admintools'); // END Change Wiki Activity to RecentChanges in Wikia skin

// From MediaWiki:MONOBOOK.js at Admin Tools Wiki

// Add BotContribs tab to RecentChanges, etc. importScriptPage('MediaWiki:Monobook.js/botContribs.js', 'admintools'); // END Add BotContribs tab to RecentChanges, etc.

// Adds [show]/[hide] Button to Navigation Bars importScriptPage('MediaWiki:Monobook.js/showHide.js', 'admintools'); // END Adds [show]/[hide] Button to Navigation Bars

// Adds PURGE Tab importScriptPage('MediaWiki:Monobook.js/addPurge.js', 'admintools'); // END Adds PURGE Tab

// Adds DisplayClock importScriptPage('MediaWiki:Monobook.js/displayClock.js', 'admintools'); // END Adds DisplayClock

// FastDelete Buttons for Administrators importScriptPage('MediaWiki:Monobook.js/fastDelete.js', 'admintools'); // END FastDelete Buttons for Administrators

// Patch for MWSggest, in case broken importScriptPage('MediaWiki:Monobook.js/mwSuggest.js', 'admintools'); // END Patch for MWSggest, in case broken