User:Teteban41/global.js

/*  I am really BAD in JavaScript, I just use this subpage to do some testing. If you notice any errors, please let me know by message. And don't make fun, I'm trying to learn ;_;

var qtUserPageTemplate = ''; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:QuickCreateUserPage/code.js',        'u:dev:MediaWiki:MassEdit/code.js',        'u:dev:MediaWiki:MastheadGender/code.js',    ] });

// MastheadGender var homme = 'homme'; var femme = 'femme'; var traduction; var $frMG = $(' ', {               'class': 'tag user-identity-header__tag MastheadGender',                text: traduction            });

if (text === 'male') { var traduction = homme; return frMG; } if (text === 'female') { var traduction = femme; return frMG; }

// Thank you User:Ninofr for the scipt! document.body.innerHTML = document.body.innerHTML.replace(/\s*(?:.(?!<\/use>))+.<\/use>\s*<\/svg>/, '');