Difference between revisions of "MediaWiki:Common.css"

From XDIMAX Products Wiki
Jump to: navigation, search
(Created page with "CSS placed here will be applied to all skins: <!-- No [view source] tab for users who can not edit --> <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> ...")
 
 
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
<!-- No [view source] tab for users who can not edit -->
+
<!-- No tabs for users who can not edit -->
 
<?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?>
 
<?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?>
 
       <style type="text/css">
 
       <style type="text/css">
         #ca-viewsource { display: none !important; }
+
         #ca-watch { display: none !important; }
 
       </style>  
 
       </style>  
 
     <?php } ?>
 
     <?php } ?>

Latest revision as of 01:18, 27 September 2013

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

<!-- No tabs for users who can not edit -->
<?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?>
      <style type="text/css">
        #ca-watch { display: none !important; }
      </style> 
    <?php } ?>