User:Super Miron/global.js

/* import chat options */ var options=document.createElement('script'); options.setAttribute('src','https://raw.github.com/sactage/wikia-js-snippets/master/ChatOptions.js'); options.type='text/javascript';

document.getElementsByTagName('head')[0].appendChild(options);

/* 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");	}); } // monobook if ($("body.ns-1201.skin-monobook #Wall .replies .hide").length > 0) { $(".BreadCrumbs:first").prepend('Review all messages\n'); $('#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, };

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: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:c:User:Super Miron/ChatTop.js',        'u:cod:User:Madnessfan34537/multikick.js',    ] }); importArticles({   type: 'script',    articles: [        'u:wikimarks:Client.js',        'u:monchbox:MediaWiki:Torus.js',    ] });