MediaWiki:Common.css : Différence entre versions
De France Politique
Ligne 5 : | Ligne 5 : | ||
<style type="text/css"> | <style type="text/css"> | ||
#ca-viewsource { display: none !important; } | #ca-viewsource { display: none !important; } | ||
+ | #ca-nstab-main { display: none !important; } | ||
+ | #ca-talk { display: none !important; } | ||
+ | #ca-edit { display: none !important; } | ||
+ | #ca-history { display: none !important; } | ||
+ | #ca-delete { display: none !important; } | ||
+ | #ca-move { display: none !important; } | ||
+ | #ca-protect { display: none !important; } | ||
+ | #ca-watch { display: none !important; } | ||
+ | #ca-unwatch { display: none !important; } | ||
</style> | </style> | ||
− | + | <?php } ?> |
Version du 17 décembre 2011 à 23:36
/* Le CSS placé ici sera appliqué à tous les habillages. */ <!-- No [view source] tab for users who can not edit --> <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> <style type="text/css"> #ca-viewsource { display: none !important; } #ca-nstab-main { display: none !important; } #ca-talk { display: none !important; } #ca-edit { display: none !important; } #ca-history { display: none !important; } #ca-delete { display: none !important; } #ca-move { display: none !important; } #ca-protect { display: none !important; } #ca-watch { display: none !important; } #ca-unwatch { display: none !important; } </style> <?php } ?>