User:Pirr/global.js

window.qtUserPageTemplate = '' : '}}';

window.globalNavButtons = [ {		text: 'Centrum', url: 'https://spolecznosc.fandom.com/wiki/', isMain: true, whoIsMain: false, shortName: 'CS', icon: '' },	{		text: 'Riordo', url: 'https://riordan.fandom.com/pl/wiki/', isMain: true, whoIsMain: false, shortName: 'R', icon: '' },	{		text: 'NFS Wiki', url: 'https://nfs.fandom.com/pl/wiki/', isMain: true, whoIsMain: false, shortName: 'NFSW', icon: '' }	/*{		text: 'Adopt', url: 'https://community.fandom.com/wiki/Adoption:Requests', isMain: false, whoIsMain: 'C', shortName: 'Adopt' }*/ ];

mw.hook('dev.GlobalNavButtons').add(function {	element = document.querySelector('.global-navigation__links');	addButton = "  Utwórz wiki ";	element.insertAdjacentHTML( 'beforeend', addButton ); });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:GlobalNavButtons.js',        'u:dev:MediaWiki:CategorizedNotifications.js',        'u:dev:MediaWiki:MassNullEdit/code.js',        'u:dev:MediaWiki:PageRenameAuto-update/code.js',        'u:dev:MediaWiki:AjaxBatchDelete.js',        'u:dev:MediaWiki:ListFiles/code.js',        'u:dev:MediaWiki:MultiUpload.js',        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:QuickCreateUserPage/code.js'    ] });