Difference between revisions of "MediaWiki:Common.css"
From The Viking Age Compendium
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | <!-- No [view source] tab for users | + | <!-- No [view source] tab for anonymous users --> |
− | <?php global $wgUser; if( | + | <?php global $wgUser; if( $wgUser->isAnon() ) { ?> |
<style type="text/css"> | <style type="text/css"> | ||
#ca-viewsource { display: none !important; } | #ca-viewsource { display: none !important; } | ||
</style> | </style> | ||
<?php } ?> | <?php } ?> |
Revision as of 10:33, 7 August 2012
/* CSS placed here will be applied to all skins */ <!-- No [view source] tab for anonymous users --> <?php global $wgUser; if( $wgUser->isAnon() ) { ?> <style type="text/css"> #ca-viewsource { display: none !important; } </style> <?php } ?>