User:SilverMarsh/global.js

/* Monchomans chat hacks */

importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

function WallHistory { if (wgCanonicalNamespace == 'Thread') { $('#WallBrickHeader').append('View History'); }	if (wgCanonicalNamespace == 'Message_Wall' && wgAction != 'history') { $('.WikiaMainContent').prepend(' View History '); } } addOnloadHook(WallHistory);

/*Adds Fast Delete buttons to pages*/ importScriptPage( 'FastDelete/code.js', 'dev' ); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'Spam' }; fdButtons[fdButtons.length] = { 'summary': 'Category for deletion', 'label': 'Deletion' }; fdButtons[fdButtons.length] = { 'summary': 'Housekeeping', 'label': 'Maint' }; fdButtons[fdButtons.length] = { 'summary': 'Vandalism', 'label': 'Vandal' }; fdButtons[fdButtons.length] = { 'summary': 'Duplicate Page/Image', 'label': 'Dupe' }; fdButtons[fdButtons.length] = { 'summary': 'Should be a blog', 'label': 'Blog' }; /*End Fast Delete*/

/*Auto Refresh toggle for wiki activity*/ importScriptPage( 'AjaxRC/code.js', 'dev' ); ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions","Special:WikiActivity"]; AjaxRCRefreshText = 'Auto-refresh'; /*End AjaxRC*/