Difference between revisions of "MediaWiki:Common.css"
Line 8: | Line 8: | ||
<?php } ?> | <?php } ?> | ||
− | + | body.page-Main_Page li#ca-delete { display:none!important; } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 04:11, 23 January 2018
/* CSS placed here will be applied to all skins */ <!-- No [edit] tab for users who can not edit --> <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> <style type="text/css"> #ca-edit { display: none !important; } </style> <?php } ?> body.page-Main_Page li#ca-delete { display:none!important; }