MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<!-- No [view source] tab for users who can not edit --> |
<!-- No [view source] tab for users who can not edit --> |
||
<?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> |
<?php global $wgUser; if( $wgUser->isAnon() || !$wgUser->isAllowed('edit') ) { ?> |
||
<style type="text/css"> |
<style type="text/css"> |
||
#ca-viewsource { display: none !important; } |
#ca-viewsource { display: none !important; } |
Revision as of 01:07, 27 July 2012
<!-- No [view source] tab for users who can not edit --> <?php global $wgUser; if( $wgUser->isAnon() || !$wgUser->isAllowed('edit') ) { ?> <style type="text/css"> #ca-viewsource { display: none !important; } </style> <?php } ?>