User:Jr Mime/global.js

// Text changes $('[data-canonical="wikiactivity"]').attr('href', '/wiki/Special:RecentChanges'); $('[data-canonical="wikiactivity"]').text('Recent Changes'); if (mw.config.get('wgCanonicalSpecialPageName') === "Movepage") { $('.WikiaPageHeader h1').text('Renaming a file'); $('.AdminDashboardGeneralHeader h1').text('Renaming a file'); }

// Changes WikiaContributer to IP in Article Comments (by Rappy) $('#WikiaArticleComments .edited-by a[href*="/wiki' + '/Special:Contributions"]').each(function {   $(this).html(this.href.substring(this.href.lastIndexOf('/') + 1)); });

// Fast delete buttons var fdButtons = []; fdButtons[fdButtons.length] = {'summary': 'vandalism', 'label': 'V'   }; fdButtons[fdButtons.length] = {'summary': 'spam',            'label': 'S'    }; fdButtons[fdButtons.length] = {'summary': 'cleanup',                                'label': 'C↑'  }; fdButtons[fdButtons.length] = {'summary': 'Violation of the ToU',                'label': 'ToU'};

// Imports importScriptPage('FastDelete/code.js', 'dev'); importScriptURI('http://internal.vstf.wikia.com/wiki/User:Jr_Mime/scripts.js?action=raw&ctype=text/javascript&templates=expand'); window.ajaxPages = ["Special:RecentChanges", "Special:NewPages", "Special:WikiActivity", "Special:AbuseLog", "Spécial:Modifications_récentes", "Especial:Mudanças_recentes", "Natatangi:Mga_huling_binago"]; OFPoptions = {'showlinks': true}; importArticles({   type: "script",    articles: [        // Useful buttons        "u:c:User:Jr Mime/buttons.js",        // WHAM 2        "u:c:User:Jr Mime/WHAM2.js",        // WHAM 1        "w:c:dev:WHAM/code.js",        // Advanced tools        "w:c:dev:QuickTools/advanced.js",        // Auto RC        "w:c:dev:AjaxRC/code.js",        // AjaxBatchDelete        "w:c:dev:AjaxBatchDeleteV2/code.js",        // HotCat        "w:c:answers:MediaWiki:Gadget-HotCat.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",        // Mini Complete        "w:c:dev:MiniComplete/code.js",        // Category Rename Auto update        "w:c:dev:CategoryRenameAuto-update/code.js",        // Auto Welcome (static please) "w:c:rs:User:Quarenon/autowelcome.js", ] });