User:Hans5958/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:TVMH.js',        'u:dev:MediaWiki:JWB/load.js',    	'u:dev:MediaWiki:PPDataModule.js',        'u:dev:MediaWiki:Nuke/code.js',        'u:dev:MediaWiki:HydraRevived.js',    ] });

/* Extras for HydraRevived */

if (document.querySelector('.page-header__languages ul')) { var languagesHtml = ' Languages   ' var languagesTemplate = document.createElement('template'); languagesTemplate.innerHTML = languagesHtml.trim var languagesEl = document.querySelector('.community-header-wrapper .fandom-community-header__local-navigation ul.wds-tabs').appendChild(languagesTemplate.content.firstChild) languagesEl.querySelector('.wds-collapsible-panel__content').appendChild(document.querySelector('.page-header__languages ul').cloneNode(true)) }