User:Vastmine1029/common.js

console.log("Test");

function main { var config = mw.config.get([		'wgUserName',       'wgUserGroups',        'wgVersion',        'wgCanonicalSpecialPageName'    ]);

console.log("profileUserId: " + mw.config.get('profileUserId')); console.log("User Groups for " + config.wgUserName + ": " + config.wgUserGroups.join); }

main;