User:Katbluedog/wikia.js

/****************************/ /* IMPORTED START          */ /****************************/

// Extra Rollback Buttons importScript('MediaWiki:Common.js/extraRollbacks.js'); // END Extra Rollback Buttons // AjaxRollback - works with Extra Rollback Buttons importScript('MediaWiki:Common.js/ajaxRollback.js'); // END AjaxRollback

/* Standard edit summaries*/ importScript('MediaWiki:Common.js/es.js');

/* Tooltips?*/ importScript('MediaWiki:Common.js/tooltips.js');

/* review advertisement */ importScript('MediaWiki:Common.js/review.js');

/* Site Meter */ importScript('MediaWiki:Common.js/sitemeter.js');

/* Ajax Auto-Refresh (courtesy pcj) */ /* Auto updating recent changes opt-in * See w:c:dev:AjaxRC for info & attribution */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev');

/* Count-down Timer */ importScript('MediaWiki:Common.js/countdowntimer.js');

/* Collapsible Tables */ importScript('MediaWiki:Common.js/collapsetables.js');

/* Custom edit buttons */ importScript('MediaWiki:Common.js/CEB.js');

/** Dynamic Navigation Bars (experimental)**/ importScript('MediaWiki:Common.js/Nav.js');

/* other */ importScript('MediaWiki:Common.js/other.js');

/* Display Timer */ importScript('MediaWiki:Common.js/DisplayTimer.js');

/****************************/ /* END OF THE IMPORTED    */ /****************************/

/* Fast Delete see below */ importScriptPage('MediaWiki:Common.js/fastDelete.js');

// ***************************************************************** // Custom automatic delete buttons // ***************************************************************** // Adds customizable one-click deletion buttons to any deletable page. // Requires MediaWiki:Common.js/fastDelete.js in appendScript;

var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Vandalism', 'label': 'Vandalism'}; fdButtons[fdButtons.length] = { 'summary': 'Cleaning up old pages', 'label': 'Clean-Up'}; fdButtons[fdButtons.length] = { 'summary': 'Removing Spam Page', 'label': 'Spam'}; fdButtons[fdButtons.length] = { 'summary': 'Cleaning up un-Edited Stub Page', 'label': 'Old Stub Page'}; // end Custom automatic delete buttons if(wgNamespaceNumber!=-1) addOnloadHook(function { addPortletLink('p-cactions','/wiki/Special:Prefixindex/' + escape(wgPageName),'Subpages','ca-subpages','Show subages of ' + wgPageName); }); //