User:Manyman/global.js

/* */ if( wgNamespaceNumber != -1 && !window.CSSLoad  ) { addOnloadHook( addCSS ); } function addCSS { switch( skin ) { case 'wikiaphone': importStylesheetURI('http://community.wikia.com/index.php?title=User:Manyman/wikiaphone.css&action=raw&ctype=text/css''); } }

/* Navigation pop-ups */ importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript');

/* Auto-refresh */ ajaxPages = ['Special:RecentChanges','Special:Watchlist','Special:Log','Special:Contributions','Forum:Comunity_Central_Forum']; AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; importScriptPage('AjaxRC/code.js');

/* Find and Replace */ importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Zocky/SearchBox.js&action=raw&ctype=text/javascript');

/* SkinSwitch */ importScriptPage('SkinSwitchButton/beta.js');

/* VDA Lite */ importScriptPage('MediaWiki:VDAlite.js');

/* Quick preview */ importScriptPage('User:Quarenon/quickpreview.js');

/* Deletify */ importScriptPage('User:Grunny/autodel2.js', 'firefly');

/* Mass Rollback */ importScriptPage('User:Quarenon/massrollback.js', 'runescape');

/* Revert link in RC */ importScriptPage('User:Quarenon/rcrollback.js', 'runescape');

/* Rollback Summary */ importScriptPage('User:Grunny/rollbackSummary.js', 'firefly');

/* Batch Delete */ importScriptPage('User:Grunny/bdel.js', 'firefly');

/* Fast Delete */ importScriptPage('FastDelete/code.js', 'dev');

var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Spam/Vandalism', 'label': 'Vandalism/Spam'}; fdButtons[fdButtons.length] = { 'summary': 'Housekeeping', 'label': 'Housekeeping'}; fdButtons[fdButtons.length] = { 'summary': 'Deletion request', 'label': 'Author request'}; fdButtons[fdButtons.length] = { 'summary': ' ', 'label': 'No reason'};

/* Edit button on Answers */ importScriptPage('AnswersEditButton/code.js', 'dev');

/* History button on Answers */ importScriptPage('AnswersHistoryButton/code.js', 'dev');

/* Talk button on Answers */ importScriptPage('AnswersTalkButton/code.js', 'dev');

/* PurgeButton */ PurgeButtonText = 'Purge'; importScriptPage('PurgeButton/code.js', 'dev');

/* Toolbox */ importScriptPage('Toolbox/code.js', 'manyman');

/* This bit is Joeyaa's - adds links to anons in comments */ $('.details span[title]').each(function{       var t = $(this),        title = $(this).attr('title');        t.html('' + title + ''); });

/* Tests */ importScriptPage('Tests/code.js', 'manyman');

/* VDA */ importScriptPage('MediaWiki:VDAbeta.js', 'vda'); $(function {    VDA.load('RV');    VDA.load('VW'); }); /* */