Actions

MediaWiki

Difference between revisions of "Common.css"

From Montana Tech High Performance Computing

Line 4: Line 4:
  
 
#ca-talk { display:none!important; }
 
#ca-talk { display:none!important; }
 +
global $wgUser;
  
  
        if ( !$wgUser->isAllowed( 'edit' ) ) {
+
if ( !$wgUser->isAllowed( 'edit' ) ) {
 
         #ca-viewsource { display:none !important; };
 
         #ca-viewsource { display:none !important; };
        }
+
}

Revision as of 19:30, 25 August 2017

/* CSS placed here will be applied to all skins */



#ca-talk { display:none!important; }	
global $wgUser;


if ( !$wgUser->isAllowed( 'edit' ) ) {
        #ca-viewsource { display:none !important; };
}