Template:Home header: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:
<script>
<script>
function countVisit(x) {
function countVisit(x) {
     if ( mw.config.get( 'wgUserGroups', [] ).indexOf( 'user' ) !== -1 ) {
     if ( mw.config.get( 'wgUserGroups', [] ).indexOf( 'sysop' ) !== -1 ) {
         var a = 1;
         var a = 1;
     } else {
     } else {