MediaWiki

Common.css: Difference between revisions

From Guiliani

No edit summary
No edit summary
Line 2: Line 2:




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

Revision as of 07:38, 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-viewsource { display: none !important; }
      </style> 
    <?php } ?>