User:Samuel Najdowski/global.js

/* This is all chat hacks, AFK feature, chat box clear, ping feature, multiple PMs */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); // Auto RC var AjaxRCRefreshText = 'Auto-refresh'; var AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges", "Special:NewPages", "Special:WikiActivity", "Special:AbuseLog", "Spécial:Modifications_récentes", "Especial:Mudanças_recentes", "Natatangi:Mga_huling_binago"]; // "User talk:" Will go on its page, and not in the edit page // BROKEN FUNCTION START /* function tplinks { $('a.new').each(function {   if ($(this).attr('title').substring(0, 10) == "User talk:") {        var t_href = $(this).attr('href');        $(this).attr('href', t_href.substring(0, t_href.indexOf('?')));    } }); // Collapsed comments in Special:RecentChanges if (wgPageName == "Special:RecentChanges") { $('[class="mw-collapsible-toggle mw-collapsible-toggle-collapsed"]').removeClass("mw-collapsible-toggle-collapsed"); } } */ // BROKEN FUNCTION END // List Admins quick link $('#my-tools-menu').prepend(' List Admins'); // Red link fixer V2 $.getScript('https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/WantedPagesBatchRedlinks.js'); // Imports // BROKEN VARIABLE START /////////// // var ajaxCallAgain = [tplinks]; // // BROKEN VARIABLE END ///////////// OFPoptions = {'showlinks': false}; importArticles({   type: "script",    articles: [        // Useful buttons        "u:c:User:Jr Mime/buttons.js",        // Advanced tools        "w:c:dev:QuickTools/advanced.js",        // Auto RC        "w:c:dev:AjaxRC/code.js",        // Undo+        "w:c:rs:User:Suppa_chuppa/undoplus.js",        // Template button        "w:c:mlp:User:Jr Mime/MarkForTemplate/General.js",        // Kill Tool        "w:c:answers:User:The Mol Man/Annihilate.js",        // Kill Tool V2 //      "w:c:dev:Sonicboom/code.js",        // HotCat        "w:c:answers:MediaWiki:Gadget-HotCat.js",        // WHAM        "w:c:dev:WHAM/code.js",        // File uglyness fix        "w:c:dev:NoImageLightbox/code.js",        // Wikimarks        "w:c:wikimarks:Client.js",        // Cheating template        "w:c:a:User:Jr Mime/MarkForTemplate.js",        // CSS pad        "w:c:dev:PortableCSSPad/code.js",        // Cache script "w:c:dev:CacheCheck/code.js", // Old files "w:c:dev:OldFilePages/code.js", // File Usage Auto update "w:c:dev:FileUsageAuto-update/code.js", // Hide rail "w:c:dev:HideRail/code.js", // Mini Complete "w:c:dev:MiniComplete/code.js", // Category Rename Auto Update "w:c:dev:CategoryRenameAuto-update/code.js" ] });