Difference between revisions of "MediaWiki:Common.css"
From DMC Documentation
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | <?php global $wgUser; if( | + | <?php global $wgUser; if($wgUser->isAllowed('edit') ) { ?> |
<style type="text/css"> | <style type="text/css"> | ||
#ca-talk { display:none!important; } | #ca-talk { display:none!important; } |
Revision as of 13:01, 10 October 2020
/* CSS placed here will be applied to all skins */ <?php global $wgUser; if($wgUser->isAllowed('edit') ) { ?> <style type="text/css"> #ca-talk { display:none!important; } #ca-nstab-main { display:none!important; } #ca-view { display:none!important; } #ca-history { display:none!important; } #ca-watch { display: none !important; } </style> <?php } ?>