MastheadGender
Description
Shows user's gender on the top of their
masthead
MastheadGender adds a tag on the top of the mastheads of users depending on the gender they have set in their preferences . If they haven't set their gender, the tag won't appear.
Installation
Add this to MediaWiki:ImportJS :
dev:MastheadGender/code.js
importArticles
:
Add this JavaScript on your wiki (or add the highlighted text to your existing import statement):
importArticles ({ type : 'script' , articles : [ 'u:dev:MediaWiki:MastheadGender/code.js' , ] });
Local:
Special:MyPage/common.js
Importing multiple scripts? This quick guide shows how to combine the imports. For personal use, note that personal JS must be enabled for your account. If the script requires configuration through MediaWiki:Common.js for sitewide use, don't forget to contact Fandom Staff to get it enabled on your wiki, if it isn't already enabled.
Text above can be found
here (edit )