MediaWiki:Common.css: Difference between revisions

From Fujihara Seminar
Jump to navigation Jump to search
(Created page with "→‎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/cs...")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<?php global $wgUser; if( !$wgUser->isLoggedIn() ) { ?>
/* 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">
<style type="text/css">
#ca-viewsource { display: none !important; }
#ca-viewsource { display: none !important; }

Latest revision as of 01:14, 27 July 2012

<?php global $wgUser; if( !$wgUser->isLoggedIn() ) { ?>
      <style type="text/css">
        #ca-viewsource { display: none !important; }
      </style> 
    <?php } ?>