Difference between revisions of "MediaWiki:Common.css"

From assela Pathirana
Jump to navigationJump to search
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
<!-- No [view source] tab for anonymous users -->
#ca-nstab-main { display:none!important; }
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
#ca-nstab-user { display:none!important; }
      <style type="text/css">
#ca-talk { display:none!important; }
        #ca-viewsource { display: none !important; }
#ca-view { display:none!important; }
      </style>
#ca-edit { display:none!important; }
    <?php } ?>
#ca-history { display:none!important; }
#ca-watch { display:none!important; }
#ca-unwatch { display:none!important; }
#ca-delete { display:none!important; }
#ca-move { display:none!important; }
#ca-protect { display:none!important; }
#ca-viewsource { display:none!important; }

Revision as of 10:48, 27 December 2021

<!-- No [view source] tab for anonymous users -->
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
      <style type="text/css">
        #ca-viewsource { display: none !important; }
      </style> 
    <?php } ?>