User:GerritH/global.js

// Buttons if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "https://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png", "speedTip": "Weiterleitung", "tagOpen": "#REDIRECT ", "tagClose": "" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "https://upload.wikimedia.org/wikipedia/commons/0/05/Button_Anf%C3%BChrung.png", "speedTip": "Anführungszeichen", "tagOpen": "„", "tagClose": "“" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png", "speedTip": "Adoption", "tagOpen": "" }; } // Create user page qtUserPageTemplate = ''; // AdvancedOasisUI window.AdvancedOasisUI = {RCHeader:false,lightbox:false,activity2RC:false}; // FastDelete window.fdButtons = []; window.fdButtons.push({summary:'Clean-up',label:'C'},{summary:'Veralteten Default-Import gelöscht',label:'D'}); // AjaxCommentDelete window.AjaxCommentDeleteConfig = {vocab:{linkText:"AjaxDelete"},fastDelete:"Clean-up"}; //PurgeButton PurgeButtonText = 'Purge'; //AnchoredRollback anchoredRollbackBot = true; importArticles({   type: 'script',    articles: [    'u:dev:MediaWiki:AdvancedOasisUI/code.js',    'u:dev:MediaWiki:FastDelete/code.js',    'u:kocka:MediaWiki:AjaxCommentDelete/code.js',    'u:dev:MediaWiki:PurgeButton/code.js',    'u:dev:MediaWiki:AutoEditDropdown/code.js',    'u:dev:MediaWiki:AjaxDiff/code.js',    'u:dev:MediaWiki:ViewRemovedAlways/code.js',    'u:dev:MediaWiki:AnchoredRollback/code.js',    'u:dev:MediaWiki:View_Source/code.js',    'u:dev:MediaWiki:Sine/code.js',    'u:dev:MediaWiki:MiniComplete/code.js',    'u:dev:MediaWiki:PortableCSSPad/code.js',    'u:dev:MediaWiki:AjaxPatrol/code.js',    'u:dev:MediaWiki:QuickToolsv2/code.js',    'u:dev:MediaWiki:AjaxBatchDelete/code.2.js',    'u:dev:MediaWiki:ChatHacks.js',    'u:dev:MediaWiki:RedirectManagement/code.js',    'u:dev:MediaWiki:Thread_Inspection/code.js',    'u:dev:MediaWiki:CacheCheck/code.js',    'u:dev:MediaWiki:WHAM/code.2.js', 'u:dev:MediaWiki:MassRenameRevert/code.js', 'u:dev:MediaWiki:SearchSuggest/code.js', 'u:dev:MediaWiki:FindAndReplace/code.js', 'u:dev:MediaWiki:SkinSwitchButton/code.js', 'u:dev:MediaWiki:ListFiles/code.js', 'u:dev:MediaWiki:FileUsageAuto-update/code.js', 'u:dev:MediaWiki:CategoryRenameAuto-update/code.js', 'u:community:User:AmonFatalis/monobook.js', 'u:dev:MediaWiki:ColoredColors/code.js' ] });

importScriptURI( 'http://internal.vstf.wikia.com/index.php?title=MediaWiki:CU.js&action=raw&ctype=text/javascript' ); if (wgCanonicalSpecialPageName === 'Contributions') { importStylesheetURI('http://internal.vstf.wikia.com/index.php?title=MediaWiki:NiceButtons.css&action=raw&ctype=text/css'); var usernamej2 = $('input[name="target"]').val, usernamej = usernamej2.replace(/_/g,'+'); if(usernamej.match(/^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/)) { $('#contentSub >a:first').before("" + usernamej + ""); } }