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 ); });

window.CategorizedNotificationsConfig = [ {		icon: 'bell', title: 'Announcements', types: ['announcement'] },	{		icon: 'envelope', title: 'Messages', types: ['message-wall-post', 'message-wall-reply', 'talk-page-message'] },	{		icon: 'comment', title: 'Comments', types: ['article-comment-reply', 'article-comment-at-mention', 'article-comment-reply-at-mention'] },	{		icon: 'blocks', title: 'Discussions', types: ['discussion-reply', 'discussion-upvote-post', 'post-at-mention', 'thread-at-mention'] },	{		icon: 'more', title: 'Miscellaneous', types: ['DEFAULT'] } ];

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'    ] });