Hi sorry here it is:
<!-- No [view source] tab for anonymous users -->
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
<style>
#ca-viewsource { display: none !important; }
</style>
<?php } ?>
But nothing happens. I can still see the [view source] tab even when im an
anonymous user.
On Thu, Mar 25, 2010 at 11:54 AM, Huib Laurens <sterkebak(a)gmail.com> wrote:
Hi,
I think you forgot to add the code.
Best,
Huib
2010/3/24, Makelesi Kora-Gonelevu <makelesik(a)gmail.com>om>:
Hi im trying to hide the [view source] tab from
annonymous users to my
wiki.
i pasted the following code in the MediaWiki:Common.css page but nothing
happens.
Any suggestions would be greatly appreciated.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
"The soldiers graves are great preachers of peace...."
http://commons.wikimedia.org/wiki/User:Abigor
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l