Difference between revisions of "MediaWiki:Common.css"

From flowpedia.com
Jump to: navigation, search
(Created page with "CSS placed here will be applied to all skins: <!-- No [history] tab for anonymous users --> <?php global $wgUser; if( $wgUser->isAnon() ) { ?> <style type="text/cs...")
 
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
+
<!-- No [view source] tab for anonymous users -->
 
 
<!-- No [history] 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 10:43, 15 August 2017

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