User:Withersoul 235/common.js

// Custom Imports

importArticles({   type: 'script',    articles: [        'u:kocka:MediaWiki:Matrix.js'    ] });

// User Tags

window.UserTagsJS = { modules: { mwGroups: new Array(           "authenticated",            "bot-global",            "checkuser",            "checkuser-global",            "council",            "content-reviewer",            "fandom-editor",            "lookupcontribs",            "lookupuser",            "request-to-be-forgotten-admin",            "restricted-login",            "restricted-login-auto",            "restricted-login-exempt",            "reviewer",            "rollback",            "translator",            "util",            "vanguard",            "voldev",            "vstf"        ), newuser: false, nonuser: true, autoconfirmed: true, explode: {"sysop": ["bureaucrat"]}, custom: { "CTest115New": ["bot", "chatmoderator", "content-moderator", "threadmoderator"], "Ursuul": ["global-discussions-moderator"], "TyA": ["voldev"], "Tono555": ["vanguard"], "Nekky-chan": ["vanguard"], "Kopczp94": ["vanguard"] }   },    tags: { "lookupuser":                   {u: "Lookupuser"}, "lookupcontribs":               {u: "Lookupcontribs"}, "content-reviewer":             {u: "Content Reviewer"}, "restricted-login":             {u: "Restricted Login"}, "restricted-login-auto":        {u: "Restricted Login-Auto"}, "restricted-login-exempt":      {u: "Restricted Login-Exempt"}, "fandom-editor":                {u: "Fandom Editor", order: 4}, "checkuser":                    {u: "CheckUser"}, "util":                         {u: "Util"}, "sysop":                        {order: 1}, "reviewer":                     {order: 2}, "translator":                   {order: 3}, "wiki-manager":                 {order: 5}, "content-team-member":          {order: 6}, "global-discussions-moderator": {order: 7}, "content-volunteer":            {order: 8}, "vanguard":                     {order: 9}, "voldev":                       {order: 10}, "chatmoderator":                {order: 11}, "content-moderator":            {order: 12}, "threadmoderator":              {order: 13}, "rollback":                     {order: 14} }, };

importScriptPage("MediaWiki:UserTags/code.js", "dev");

var gender = $(".MastheadGender").text;

if (gender == "Female") mw.util.addCSS(".MastheadGender {background: pink !important}"); else if (gender == "Male") mw.util.addCSS(".MastheadGender {background: rgb(66, 148, 230) !important}");

importScriptPage("MastheadGender/code.js", "dev");