Difference between revisions of "MediaWiki:Common.css"

From Nordterm Wiki
Jump to navigationJump to search
Line 6: Line 6:
 
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
 
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
 
       <style type="text/css">
 
       <style type="text/css">
 +
        div#mw-fr-revisiontag {display: none}
 
         #ca-viewsource { display: none !important; }
 
         #ca-viewsource { display: none !important; }
 
       </style>  
 
       </style>  
 
     <?php } ?>
 
     <?php } ?>

Revision as of 12:02, 8 August 2012

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

/* div#mw-fr-revisiontag {display: none} */

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