User:Cap123/Sandbox.js

var groups = mw.config.get("wgUserGroups"); if (wgPageName == 'Special:Vandalism') {

function Sandbox(username) { this.username = username; } mySandbox = { username: 'Cap123' }; function alerter { alert(mySandbox.username); }