User:KPHD2/global.js

var config = mw.config.get([	'wgCityId',	'wgContentLanguage',	'wgFormattedNamespaces' ]);

var u = config.wgFormattedNamespaces[2]; var userpage; switch (config.wgContentLanguage) { case 'en': userpage = ''; break; default: userpage = ''; }