Board Thread:Support Requests - Getting Technical/@comment-13172292-20130917230016

Is this the right coding to get the page Adminsonly to only allow admins? I know people can just disable the javascript, but it's better than nothing....I put the coding in Wikia.js. If its wrong, can you please change it? $( function ( $, mw, window) {     if ( mw.config .get ( 'wgPageName' ) === <span class="st0" style="color:rgb(51,102,204);">'Adminsonly' <span class="br0" style="color:rgb(0,153,0);">) <span class="br0" style="color:rgb(0,153,0);">{ <span class="kw1" style="font-weight:bold;color:rgb(0,0,102);">var groups <span class="sy0" style="color:rgb(51,153,51);">= wgUserGroups.<span class="me1" style="color:rgb(102,0,102);">join <span class="br0" style="color:rgb(0,153,0);">( <span class="st0" style="color:rgb(51,102,204);">' ' <span class="br0" style="color:rgb(0,153,0);">) <span class="sy0" style="color:rgb(51,153,51);">; <span class="kw1" style="font-weight:bold;color:rgb(0,0,102);">if <span class="br0" style="color:rgb(0,153,0);">( groups.<span class="me1" style="color:rgb(102,0,102);">indexOf <span class="br0" style="color:rgb(0,153,0);">( <span class="st0" style="color:rgb(51,102,204);">'sysop' <span class="br0" style="color:rgb(0,153,0);">) <span class="sy0" style="color:rgb(51,153,51);">> <span class="sy0" style="color:rgb(51,153,51);">- <span class="nu0" style="color:rgb(204,0,0);">1 <span class="br0" style="color:rgb(0,153,0);">) <span class="br0" style="color:rgb(0,153,0);">{ $<span class="br0" style="color:rgb(0,153,0);">( <span class="st0" style="color:rgb(51,102,204);">'.WikiaArticle' <span class="br0" style="color:rgb(0,153,0);">) .<span class="me1" style="color:rgb(102,0,102);">html <span class="br0" style="color:rgb(0,153,0);">( <span class="br0" style="color:rgb(0,153,0);">) <span class="sy0" style="color:rgb(51,153,51);">;  alert<span class="br0" style="color:rgb(0,153,0);">( <span class="st0" style="color:rgb(51,102,204);">'This page is reserved for use by Administrators only!' <span class="br0" style="color:rgb(0,153,0);">) <span class="sy0" style="color:rgb(51,153,51);">; <span class="br0" style="color:rgb(0,153,0);">} <span class="br0" style="color:rgb(0,153,0);">} <span class="br0" style="color:rgb(0,153,0);">} <span class="br0" style="color:rgb(0,153,0);">( <span class="kw1" style="font-weight:bold;color:rgb(0,0,102);">this .<span class="me1" style="color:rgb(102,0,102);">jQuery <span class="sy0" style="color:rgb(51,153,51);">, <span class="kw1" style="font-weight:bold;color:rgb(0,0,102);">this .<span class="me1" style="color:rgb(102,0,102);">mediaWiki <span class="sy0" style="color:rgb(51,153,51);">, <span class="kw1" style="font-weight:bold;color:rgb(0,0,102);">this <span class="br0" style="color:rgb(0,153,0);">) <span class="br0" style="color:rgb(0,153,0);">) <span class="sy0" style="color:rgb(51,153,51);">; <ac_metadata title="Coding help"> </ac_metadata>