MediaWiki:Common.css: Difference between revisions

From Openliux
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/css"> #ca-viewsource { display: none !important; } #ca-talk { display:none!important; } #ca-history { display:none!important; } #ca-watch { display:none!important; } #ca-unwatch { display:none!important; } </style> <?php } ?>")
 
No edit summary
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 anonymous users -->
 
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
/* Hide the view source tab */
      <style type="text/css">
#ca-viewsource {
        #ca-viewsource { display: none !important; }
    display: none;
        #ca-talk { display:none!important; }
}
        #ca-history { display:none!important; }
        #ca-watch { display:none!important; }
        #ca-unwatch { display:none!important; }
      </style>
    <?php } ?>

Revision as of 09:41, 25 September 2023

/* CSS placed here will be applied to all skins */

/* Hide the view source tab */
#ca-viewsource {
    display: none;
}