User:IStoleThePies/global.js

batchDeleteDelay = 1000; importScriptPage('MediaWiki:AjaxBatchDelete/code.2.js', 'dev');

$(document).ready(function {   if (mediaWiki.config.get("wgPageName") === "Special:UnusedFiles") {	$(function  { var str = ""; $('.gallerytext > a').each(function {			str += decodeURIComponent(this.href.substring(this.href.indexOf("File"))) + "\n";		}); var $textarea = $(' '); $textarea.val(str); $('.gallery').before($textarea); }); }

window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; importScriptPage('AjaxRC/code.js', 'dev'); importScriptPage('ViewRemoved/code.js', 'dev'); importScriptPage('InactiveUsers/code.js', 'dev'); importArticles({       type: 'script',        articles: [            // ...            'w:c:dev:SignatureCheck/code.js',            // ...        ]    }); importScriptPage("CategoryRenameAuto-update/code.js", "dev"); importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); function UserContribsMenuItem { $('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('My contributions'); $('ul.AccountNavigation li:last-child ul.subnav li:last-child').remove; $('ul.AccountNavigation li:last-child ul.subnav li:last-child').replaceWith('Log out'); }   addOnloadHook(UserContribsMenuItem); });