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": "" }; } window.AjaxCommentDeleteConfig = {vocab:{linkText:"AjaxDelete"},fastDelete:"Clean-up"};

window.AdvancedOasisUI = {RCHeader:false,lightbox:false,activity2RC:false};

window.fdButtons = []; window.fdButtons.push({summary:'Clean-up',label:'C'},{summary:'Veralteten Default-Import gelöscht',label:'D'});

anchoredRollbackBot = true;

window.lastEdited = {avatar: false,size: false};

PRAoptions = {editSummary: 'Automatic page link update'}

// check http://dev.wikia.com/wiki/Special:RecentChanges for changes importArticles({   type: 'script',    articles: [    'u:kocka:AjaxCommentDelete/code.js',    'u:dev:AdvancedOasisUI/code.js',    'u:dev:FastDelete/code.js',    'u:dev:AnchoredRollback/code.js',    'u:dev:LastEdited/code.js',    'u:dev:PageRenameAuto-update/code.js',    'u:dev:AutoEditDropdown/code.js',    'u:dev:AjaxDiff/code.js',    'u:dev:ViewRemovedAlways/code.js',    'u:dev:View_Source/code.js',    'u:dev:RevealAnonIP/code.js',    'u:dev:PortableCSSPad/code.js',    'u:dev:ExpandGlobalNavDropdownsOnHover/code.js',    'u:dev:AjaxPatrol/code.js',    'u:dev:QuickToolsv2/code.js',    'u:dev:RecentChangesMultiple/code.2.js',    'u:dev:AjaxBatchDelete/code.2.js',    'u:dev:RedirectManagement/code.js',    'u:dev:AntiSoundcloud/code.js',    'u:dev:AllPagesHideRedirect/code.js',    'u:dev:Thread_Inspection/code.js',    'u:dev:CacheCheck/code.js',    'u:dev:QuickDiff/code.js',    'u:dev:QuickDelete/code.js', 'u:dev:WHAM/code.2.js', 'u:dev:SearchSuggest/code.js', 'u:dev:FindAndReplace/code.js', 'u:dev:SkinSwitchButton/code.js', 'u:dev:PurgeButton/code.js', 'u:dev:BackToTopButton/code.js', 'u:dev:GiveChatModPrompt/code.js', 'u:dev:ListFiles/code.js', 'u:dev:FileUsageAuto-update/code.js', 'u:dev:CategoryRenameAuto-update/code.js', 'u:dev:ColoredColors/code.js', 'u:dev:GlobalChatJS.js', 'u:dev:QQX/code.js', 'u:community:Interwiki.js', 'u:community:User:AmonFatalis/monobook.js' ] });

qtUserPageTemplate = '';

importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Jr_Mime/fastdeleteFix.js&action=raw&ctype=text/javascript'); 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 + ""); } } // Add RC link in global nav $('RecentChanges').appendTo('#globalNavigation');

//Add links to toolbar $('Global.css' +  'Global.js' +   'Zusätzliches JS' +   '<a href="/Special:Mypage/wikia.css">Mypage/wikia.css</a></li>' +   '<a href="/Special:Mypage/chat.js">Mypage/chat.js</a></li>' +   '<a href="/wiki/MediaWiki:Recentchangestext?action=history">MediaWiki:Recentchangestext?</a></li>' +   '<a href="/wiki/Special:Watchlist/raw">Watchlist/raw</a></li>' +   '<a href="/wiki/Special:SpecialPages">SpecialPages</a></li>' +   '<a href="/wiki/Special:DoubleRedirects">DoubleRedirects</a></li>' +   '<a href="/wiki/Special:WikiFeatures">WikiFeatures</a></li>' +   '<a href="/wiki/Special:CSS">CSS</a></li>' +   '<a href="/wiki/MediaWiki:ImportJS">MediaWiki:ImportJS</a></li>' + '<a href="/wiki/Special:JSPages">JSPages</a></li>' + '<a href="/wiki/Special:CheckUserLog">CheckUserLog</a></li>' + '<a href="/wiki/Special:Log/chatconnect">Log/chatconnect</a></li>' + '<a href="/wiki/Special:PrefixIndex">PrefixIndex</a></li>' + '<a href="/wiki/Special:UnusedFiles">UnusedFiles</a></li>' + '<a href="/wiki/Special:ListGroupRights">ListGroupRights</a></li>' + '<a href="/wiki/Special:ListUsers">ListUsers</a></li>' + '<li><a href="/wiki/Special:ListAdmins">ListAdmins</a></li>')   .insertBefore('.WikiaBarWrapper .tools-menu li:first'); console.log('global.js : 1');