User:Super Miron/global.js

/* the ability to review deleted messages in the forum */ /* manual removal - the ability to view a removed message by clicking it */ $(document).ready(function {	$("#Wall .replies .hide").attr("title","Click here to view this message").attr("style","cursor: hand; cursor: pointer;");	$("#Wall .replies .hide").mousedown(function { $(this).removeClass("hide").removeAttr("title").removeAttr("style"); }); }); /* absolute removal - the ability to review all removed messages at once */ // oasis if ($("body.ns-1201.skin-oasis #Wall .replies .hide").length > 0) { $("#my-tools-menu").prepend(' Review all messages\n'); $('#my-tools-menu .overflow a[data-name="undeleteBoardThreadMessages"]').click(function {		$("#Wall .replies .hide").removeClass("hide").removeAttr("title").removeAttr("style");	}); }

///////////IMPORTS window.AdvancedOasisUI = { accountNavFollowedPages: true, accountNavWatchlist: true, categoryRedlink: true, RCHeader: true, lightbox: true, randomPageLimitedTo: '', activity2RC: true, userLang: true, };

window.ajaxPages = [ "Special:Contributions", "Special:Log", "Special:RecentChanges", "Special:Watchlist", "Special:WikiActivity" ];

var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'spam', 'label': 'spam' }; fdButtons[fdButtons.length] = { 'summary': 'copyright violation', 'label': 'copyvio' }; fdButtons[fdButtons.length] = { 'summary': 'not related', 'label': 'unrelated' }; fdButtons[fdButtons.length] = { 'summary': 'advertisement', 'label': 'ad' }; fdButtons[fdButtons.length] = { 'summary': 'author request', 'label': 'request' };

importArticles({   type: 'script',    articles: [        'u:dev:QuickToolsv2/code.js',        'u:dev:AdvancedOasisUI/code.js',        'u:dev:MessageBlocker/code.js',        'u:dev:MarkForDeletion/code.js',        'u:dev:RevealAnonIP/code.js',        'u:dev:DisplayClock/code.js',        'u:dev:PortableCSSPad/code.js',        'u:dev:PurgeButton/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:AjaxBatchDelete/code.js',        'u:dev:AjaxPatrol/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:HideRail/code.js',        'u:dev:FloatingToc/code.js',        'u:dev:FastDelete/code.js',        'u:dev:WHAM/code.js',        'u:c:User:Monchoman45/ChatHacks.js',        'u:c:User:Joeytje50/ChatPMs.js',        'u:cod:User:Madnessfan34537/multikick.js',    ] });

if ( wgPageName == "Special:Chat" ) { importScriptPage('User:Super Miron/global-chat.js','c'); };