User:Fubsy/global.js

window.fdButtons = []; window.fdButtons.push(   {        summary: 'Page has lacked content for too long since creation. If you are still working on the page, please contact me on my wall and I can restore it for you!',        label: 'Stub'    },    {        summary: 'Author Request',        label: 'Request'    },    {        summary: 'Spam',        label: 'Spam'    },    {        summary: 'Discontinued/Disbanded',        label: 'Disband'    },    {        summary: 'Outdated',        label: 'Dated'    },    {        summary: 'The page is about a group or character that is inactive. Only active OCs/groups are allowed as mainspace articles.',        label: 'Inact'    },    {        summary: 'Housekeeping',        label: 'House'    },    {        summary: 'Should have been a blogpost.',        label: 'Blog'    },    {        summary: 'A staff member is currently working to restore your page, no worries, this is just simple maintenance and it will be back up soon!', label: 'Maint' },    {        summary: 'Marked for Deletion', label: 'Marked' },   {        summary: 'Blank Page', label: 'Blank' },   {        summary: 'Discontinued/Disbanded', label: 'Disband' },   {        summary: 'Only content was "WIP" or a border.', label: 'WIP' },   {        summary: 'Page contains extensive amount of plagiarized content.', label: 'Theft' },   {        summary: 'Page is too heavily based off copyrighted content.', label: 'Copy' } ); importArticles( { type: 'script', articles: [ // ...       'u:dev:FastDelete/code.js', // ...   ] } );

window.ajaxPages = ["Some Frequently Updated Page"]; window.ajaxSpecialPages = ["Recentchanges", "WikiActivity", "Watchlist", "Log", "Contributions"]; window.ajaxIndicator = 'http://images2.wikia.nocookie.net/__cb20100609110347/software/images/a/a9/Indicator.gif'; window.ajaxRefresh = 30000; window.AjaxRCRefreshText = 'Auto-refresh'; window.AjaxRCRefreshHoverText = 'Automatically refresh the page';

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:QuickThreads/code.js',        'u:dev:MediaWiki:PageMakerPro/code.js',        'u:dev:NullEditButton/code.js',        'u:dev:MediaWiki:FindAndReplace/code.js',        'u:dev:Message/code.js',        'u:dev:MediaWiki:MassBlock/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:AjaxUndo/code.js',        'u:dev:UTCClock/code.js',        'u:dev:MediaWiki:ViewRemoved/code.js',        'u:dev:AjaxRC/code.js', 'u:dev:AjaxCommentDelete/code.js', 'u:dev:ListFiles/code.js', 'u:dev:CommentPreview/code.js', 'u:dev:PortableCSSPad/code.js', 'u:dev:MediaWiki:MassRename/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');