User:Lenni009/global.js

/**window.CustomHeaderLinks = [ {       text: 'Patrol pages', href: mw.util.getUrl('Spezial:PatrolPanel') }, ];

importArticles({	type: 'script',   	articles: [        		'u:dev:MediaWiki:MassEdit/code.js',		'u:dev:MediaWiki:UCXSearchBar.js',        'u:dev:MediaWiki:MassNullEdit/code.js',		        'u:dev:MediaWiki:NullEditButton/code.js',	        'u:dev:MediaWiki:PatrolPanel.js',     //        'u:dev:MediaWiki:CustomHeaderDropdown.js',            'u:dev:MediaWiki:MobilePreview.js',        		] });

/* Scrolling functions */ $(function{	$("html").css("scroll-behavior", "smooth");	/* Add button to scroll back to top when sticky header is visible */	$("#WikiaBar").before(" ↑ ");	$(".nms-back-to-top").click(function{ document.getElementsByClassName("community-header-wrapper")[0].scrollIntoView; });	/* Add link to scroll to categories section in bottom-right toolbar */	$("#WikiaBar .tools li:last-of-type").before("Categories"); }); function scrollToCats{ $(".page-footer__categories.wds-is-collapsed .wds-collapsible-panel__header").click; document.getElementsByClassName("page-footer")[0].scrollIntoView; }