Difference between revisions of "MediaWiki:Common.css"

From Fellrnr.com, Running tips
Jump to: navigation, search
User:Fellrnr (User talk:Fellrnr | contribs)
User:Fellrnr (User talk:Fellrnr | contribs)
Line 2: Line 2:
 
#ca-watch { display: none !important; }
 
#ca-watch { display: none !important; }
 
#ca-talk { display: none !important; }
 
#ca-talk { display: none !important; }
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
+
#ca-viewsource { display: none !important; }
      <style type="text/css">
 
        #ca-viewsource { display: none !important; }
 
      </style>
 
    <?php } ?>
 
<?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?>
 
      <style type="text/css">
 
        #ca-viewsource { display: none !important; }
 
      </style>
 
    <?php } ?>
 

Revision as of 15:49, 22 April 2014

/* CSS placed here will be applied to all skins */
#ca-watch { display: none !important; }
#ca-talk { display: none !important; }
#ca-viewsource { display: none !important; }