User:DarthKitty/global.js

(function {    'use strict';

// Remove empty paragraph tags from my shared "references" infobox, until // staff implement a proper fix. Hiding these elements with CSS isn't good // enough, because their very existence makes certain built-in selectors // invalid. //   // @see User:DarthKitty/references document.querySelectorAll(       '.portable-infobox[data-item-name="User:DarthKitty/references"] p:empty'    ).forEach(function (node) {        node.remove;    });

importArticles({       type: 'script',        articles: [            'u:dev:MediaWiki:MassNullEdit/code.js',            'u:dev:MediaWiki:SkinSwitchButton/code.js'        ]    }); });