User:Takecommand/global.js

importScriptPage('User:Sannse/forumtools.js', 'community'); importScriptPage('User:Splarka/contribtools.js', 'community'); importScriptPage('FastDelete/code.js', 'dev'); importScriptPage('User:Sannse/Imagelisttools.js', 'community'); importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

// ***************************************************************** // Custom automatic delete buttons // ***************************************************************** // Adds customizable one-click deletion buttons to any deletable page. // Requires w:User:Splarka/fastdelete.js in appendScript; var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Violation of Wikia\'s Terms of Use', 'label': 'bad_content'}; fdButtons[fdButtons.length] = { 'summary': 'Removed by batchOS staff due to potential copyright issues', 'label': 'copyright'}; fdButtons[fdButtons.length] = { 'summary': 'Removed by batchOS staff due to suspected vandalism.', 'label': 'vandalism'}; fdButtons[fdButtons.length] = { 'summary': 'Broken, unused image', 'label': 'broken'}; // end Custom automatic delete buttons if(wgNamespaceNumber!=-1) addOnloadHook(function { addPortletLink('p-cactions','/wiki/Special:Prefixindex/' + escape(wgPageName),'Subpages','ca-subpages','Show subages of ' + wgPageName); }); //WHAM importScriptPage('User:Joeyaa/wham.js','vstf'); //gear fixer (from uberfuzzy) $('a[data-name="customize"]').html( function{ return $(this).parent.find('img').detach } ); //ForcePreview //importScriptURI('https://internal.wikia-inc.com/index.php?title=MediaWiki:ForcePreview.js&action=raw&ctype=text/javascript'); //CU tweak importScriptURI( 'https://internal.wikia-inc.com/index.php?title=MediaWiki:CU.js&action=raw&ctype=text/javascript' );

//Quick user page creation button var grUserPageText = '';

importScriptURI('http://batchos.wikia.com/index.php?title=MediaWiki:GProfile.js&action=raw&ctype=text/javascript');

//

// 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": "Takecommand template", "tagOpen": "", "tagClose": "", "sampleText": "" };

}