Irene Eglin wrote:
> Hi
>
> You can do that in the Skin (for example: /mediawiki/skins/MonoBook.php)
> with this, an anonymous user will not see the viewsource- and history-tabs.
>
>           <?php global $wgUser; if( $wgUser->isAnon() ) { ?>
>           <style>
>                   #ca-viewsource { display: none !important; }
>                   #ca-history { display: none !important; }
>
>           </style>
>

If you are going hide with CSS, use MediaWiki:Common.css, don't patch 
the code for that!
(an yes, use Lockdown for protecting the real actions)


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to