MediaWiki:Common.css — различия между версиями
Материал из Department of Theoretical and Applied Mechanics
Wikiadmin (обсуждение | вклад) |
Wikiadmin (обсуждение | вклад) |
||
Строка 5: | Строка 5: | ||
<?php global $wgUser; if( $wgTitle->isProtected('edit') && !$wgUser->isAllowed('edit') ) { ?> | <?php global $wgUser; if( $wgTitle->isProtected('edit') && !$wgUser->isAllowed('edit') ) { ?> | ||
<style type="text/css"> | <style type="text/css"> | ||
− | body.page-Заглавная_страница_тест li#ca- | + | body.page-Заглавная_страница_тест li#ca-talk { display: none !important; } |
</style> | </style> | ||
<?php } ?> | <?php } ?> |
Версия 18:15, 19 января 2012
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
<!-- No [view source] tab for users who can not edit -->
<?php global $wgUser; if( $wgTitle->isProtected('edit') && !$wgUser->isAllowed('edit') ) { ?>
<style type="text/css">
body.page-Заглавная_страница_тест li#ca-talk { display: none !important; }
</style>
<?php } ?>