User:Duskaa/global.js

importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); window.fdButtons = []; window.fdButtons.push(   {        summary: 'Housekeeping',        label: 'House'    },    {        summary: 'Outdated Page',        label: 'Outdated'    },    {        summary: 'Spam Page',        label: 'Spam'    },    {        summary: 'Should have been a blogpost.',        label: 'Blog'    },    {        summary: 'Stolen Format',        label: 'Stolen'    },     {        summary: 'Marked for Deletion',        label: 'Marked for D'    },    {        summary: 'Author Request',        label: 'Request'    },    {        summary: 'Blank Page',        label: 'Blank'    },    {        summary: 'Plagiarized Page',        label: 'Plagiarized.'    },      {        summary: 'Page Contains Little Content',        label: 'Little content'    },    {        summary: 'Redirect Left from Page Move.',        label: 'Leftover Redi.'    },    {        summary: 'Disbanded Group',        label: 'Disbanded' } ); importArticles( { type: 'script', articles: [ // ...       'u:dev:FastDelete/code.js', // ...   ] } ); importArticles({ type: 'script', articles: [ 'u:dev:AjaxBatchDelete/code.2.js', 'u:dev:QuickToolsv2/code.js', 'u:dev:AjaxPatrol/code.js', 'u:dev:QuickDiff/code.js', 'u:dev:WHAM/code.2.js', 'u:dev:Quick_Management/code.js', 'u:dev:DupImageList/code.js', 'w:c:dev:MarkForDeletion/code.js', 'u:dev:MediaWiki:PageMakerPro/code.js', 'u:dev:MediaWiki:FindAndReplace/code.js', 'u:dev:Message/code.js', 'u:dev:AjaxBlock/code.js', 'u:dev:MediaWiki:AnchoredRollback/code.js', 'u:dev:MassProtect/code.js', 'u:dev:MediaWiki:PowerPageMaker/code.js', 'u:dev:MediaWiki:MassRenameRevert/code.js', 'u:dev:ListFiles/code.js', 'u:dev:MediaWiki:MassBlock/code.js'

] });

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);	}); } massCategorizationDelay = 1000; importScriptPage('MediaWiki:MassCategorization/code.js', 'dev');