MediaWiki

Difference between revisions of "Common.css"

From Guiliani

Line 4: Line 4:
 
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
 
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
 
       <style type="text/css">
 
       <style type="text/css">
        #ca-viewsource { display: none !important; }
 
 
         #ca-history { display:none!important; }
 
         #ca-history { display:none!important; }
        #ca-edit { display:none!important; }
 
        #ca-view { display:none!important; }
 
 
       </style>  
 
       </style>  
 
     <?php } ?>
 
     <?php } ?>

Revision as of 09:25, 12 January 2017

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

<!-- No [view source] tab for anonymous users -->
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
      <style type="text/css">
        #ca-history { display:none!important; }
      </style> 
    <?php } ?>