User:Aexhell/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:WallGreetingButton/code.js',        'u:dev:MediaWiki:PortableCSSPad/code.js',        'u:dev:MediaWiki:QuickCreateUserPage/code.js',        'u:dev:MediaWiki:ProfileTags/code.js'    ] });

window.WallGreetingButtonProtect = true; window.qtUserPageTemplate = ''; window.qtEnableUserPageOverwrite = true;

(window.dev = window.dev || {}).profileTags = { noHideTags: true };

function changeTags($, mw) { var html = $(".user-identity-header__tag");

html.forEach(function (tag) {       switch (tag.innerHTML) {        case mw.messages.values["userprofile-global-tag-bureaucrat"]:            tag.innerHTML = "Sana";            break;        case mw.messages.values["userprofile-global-tag-sysop"]:            tag.innerHTML = "ONCE";            break;        }    }); }

changeTags;

/*( => {   var html = $(".user-identity-header__tag");

for (let tag of html) { switch(tag.innerHTML) { case mw.messages.values["userprofile-global-tag-bureaucrat"]: tag.innerHTML = "Nyx"; break; case mw.messages.values["userprofile-global-tag-sysop"]: tag.innerHTML = "Delta"; break; default: break; }   } });*/