User:JayJayJohnson/global.js

// importArticles( {    type: 'script',    articles: [        'u:dev:MiniComplete/code.js',        'u:dev:FastDelete/code.js',        'w:c:dev:RevealAnonIP/usercode.js',   // adding RevealAnonIP/usercode.js to the array        'w:c:dev:AjaxBatchDelete/code.js',        'w:c:dev:AjaxPatrol/code.js',        'w:c:dev:FastOldImageDelete/code.js',        'w:c:dev:PurgeButton/code.js',        'w:c:dev:AdvancedOasisUI/code.js'    ] } ); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'spam'}; fdButtons[fdButtons.length] = { 'summary': 'Vandalism', 'label': 'vandalism'}; fdButtons[fdButtons.length] = { 'summary': 'Broken image', 'label': 'broken'}; if(wgNamespaceNumber!=-1) addOnloadHook(function { addPortletLink('p-cactions','/wiki/Special:Prefixindex/' + escape(wgPageName),'Subpages','ca-subpages','Show subages of ' + wgPageName); }); //gear fixer (from uberfuzzy) $('a[data-name="customize"]').html( function{ return $(this).parent.find('img').detach } ); //

// now custom edit buttons if ( mwCustomEditButtons ) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",		"tagClose": "", "sampleText": "Insert text" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png", "speedTip": "Strike", "tagOpen": " ", "tagClose": " ", "sampleText": "Strike-through text" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/1/13/Button_enter.png", "speedTip": "Line break", "tagOpen": " ", "tagClose": "", "sampleText": "" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png", "speedTip": "Comment visible only for editors", "tagOpen": "", "sampleText": "Insert comment here" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/7/74/Button_enter.png", "speedTip": "JayProfile", "tagOpen": "", "tagClose": "", "sampleText": "" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://i.imgur.com/oXBaLf2.png", "speedTip": "Signature", "tagOpen": "", "tagClose": "", "sampleText": "" + "" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://i.imgur.com/oXBaLf2.png", "speedTip": "Signature", "tagOpen": "", "tagClose": "", "sampleText": "Please sign your messages with four tildes ( " + " )." }; } importScriptPage('AjaxRC/code.js', 'dev'); var ajaxRefresh = 10000; ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions","Special:WikiActivity"];