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": "“" }; } // More stuff by User:AmonFatalis/global.js $(function { var qstring = (window.location.search) ? '&' : '?',    li3 = mw.html.element('li', {id: 'mca'}, new mw.html.Raw(mw.html.element('a', {href: (window.location.href).replace(/#.*/, '') + qstring + 'mcache=writeonly',}, ('writeonly'))));    $('.tools').append(li3); });

// 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:de.nekkytest:User:Nekky-chan/fandom-pride.js',        '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:UTCClock/code.js',        'u:dev:MultiUpload/code.js',        'u:dev:QuickDiff/code.js',        'u:dev:View Source/code.js',        'u:dev:MediaWiki:MobileEditor.js',        'u:dev:MediaWiki:EditConflictAlert/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 $('.tools').append( $('').text('NS: '+wgNamespaceNumber+' | lang: '+wgContentLanguage+' | Id: '+wgCityId+' | db:'+wgDBname+' | Vertical: '+wgWikiVertical) );