MediaWiki:Common.css: Difference between revisions

From OneM2M-Hackathon-Dallas-2018
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins  
/* CSS placed here will be applied to all skins


body.mediawiki li#ca-talk { display:none!important; }
body.mediawiki li#ca-history { display:none!important; }


global $wgUser;
*/
 
if ( !$wgUser->isLoggedIn() ) {
body.mediawiki li#ca-talk { display:none!important; }
body.mediawiki li#ca-history { display:none!important; }
}
*/
 
 
 
<?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?>
 
    <style type="text/css">
      #ca-talk { display: none !important; }
      #ca-history { display: none !important; }
    </style>
  <?php } ?>

Latest revision as of 16:38, 16 February 2018

/* CSS placed here will be applied to all skins

	body.mediawiki li#ca-talk { display:none!important; }
	body.mediawiki li#ca-history { display:none!important; }

 */