/* * Admin Area * Made for Club Penguin Wiki * By Cap123 */ var ShoutOuts; var groups = mw.config.get("wgUserGroups"); if(wgPageName == 'Special:AdminArea') { if ((!groups.indexOf("sysop")) { /* If you want to add certain users add after (!groups.indexOf("sysop"): && mw.config.get(allowedUser); Then at the begging of the code add: var allowedUser = "UserName's Here"; NOTE: This only allows one user to access the adminPanel. */ document.getElementById('mw-content-text').innerHTML = '

ShoutOuts


' + ShoutOuts + '

'; } else { document.getElementById('mw-content-text').innerHTML = '

Access Denied'


You must have Sysop (Administrator) Privileges to access the Admin Area.

'; } else { return; } } if ((!groups.indexOf("sysop")) {document.write(''); } else { return; }