MediaWiki

Common.css: Difference between revisions

From Guiliani

Created page with "→‎CSS placed here will be applied to all skins: <!-- No [view source] tab for anonymous users --> <?php global $wgUser; if( $wgUser->isAnon() ) { ?> <style type="tex..."
 
No edit summary
Line 5: Line 5:
       <style type="text/css">
       <style type="text/css">
         #ca-viewsource { display: none !important; }
         #ca-viewsource { 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 07:20, 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; }
        #ca-history { display:none!important; }
        #ca-edit { display:none!important; }
        #ca-view { display:none!important; }
      </style> 
    <?php } ?>