User:Nekky-chan/global.js

// CustomEditButtons by User:AmonFatalis/global.js 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": "“" }; }

// Clock window.DisplayClockJS = { //offset: 120, format: '%2H:%2M:%2S | %d. %b %Y', };

// AjaxRC window.ajaxSpecialPages = ["WikiActivity"]; window.ajaxRefresh = 45000; window.AjaxRCRefreshText = 'AjaxRCRefresh';

// FastCreate window.FCP = { "en": { content: '', summary: 'Creating userpage', label: 'Create userpage', target: 'User:Nekky-chan' },   "de": { content: '', summary: 'Erstelle Benutzerseite', label: 'Benutzerseite erstellen', target: 'Benutzer:Nekky-chan' } } window.FCButtons = [{ label: (window.FCP[mw.config.get('wgContentLanguage')] || window.FCP.en).label, target: (window.FCP[mw.config.get('wgContentLanguage')] || window.FCP.en).target, summary: (window.FCP[mw.config.get('wgContentLanguage')] || window.FCP.en).summary, content: (window.FCP[mw.config.get('wgContentLanguage')] || window.FCP.en).content, placement: '.wds-global-navigation__user-menu .wds-list', }];

// VSTF imports importScriptURI('//internal-vstf.fandom.com/index.php?title=User:Nekky-chan/scripts.js&action=raw&ctype=text/javascript');

// Imports importArticles({   type: 'script',    articles: [        //personal modifications        'u:dev:MediaWiki:FastCreate.js',        'u:dev:Wikimarks/code.js',        'u:dev:!bang/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:MediaWiki:SmoothGlobalNav/code.js',        'u:dev:MediaWiki:CodeQuickLinks/code.js',        'u:dev:UTCClock/code.js',        'u:dev:MultiUpload/code.js',        'u:dev:QuickDiff/code.js',        'u:dev:View Source/code.js',        //requires expanded user rights (sysop, helper)        'u:dev:MediaWiki:ViewRemoved/code.js',        'u:dev:MediaWiki:ViewDeleted/code.js',        'u:dev:MediaWiki:RedirectManagement/code.js',        'u:dev:MediaWiki:BotManagement.js',        //Vanguard        'u:dev:MediaWiki:InfoboxEditorPreview.js',        'u:dev:MediaWiki:VanguardTools.js',        //User namespace        'u:dev:MediaWiki:UserAndIPTools.js',        'u:dev:GlobalEditcount/code.js', 'u:dev:UserAccountAge/code2.js', 'u:dev:MediaWiki:Discussions_Delete_All/code.js', //(global-discussions-moderator) 'u:dev:UnhideUserMasthead/code.js', ] });

// [forked] Quick internal infos by User:机智的小鱼君/global.js $('div.toolbar > :not(div.speech-bubble-message)').append( $('').text('Sitename: '+wgSiteName+' | NS: '+wgNamespaceNumber+' | lang: '+wgContentLanguage+' | Id: '+wgCityId+' | db:'+wgDBname+' | Vertical: '+wgWikiVertical) );