Thanks for the advice. Here is what I did:
1. Backup MonoBook.php
2. vi MonoBook.php
3. added this to top of program:
global $wgUser;
if( $wgUser->isLoggedIn() ) {
4. Hit F5 in my web browser after the changes.
However, the action tabs still appear even if the user
is not logged in. Where in MonoBook.php should I add
the line. Am I missing something in the steps above?
From: "Rob Church" <robchur(a)gmail.com>
Subject: Re: [Mediawiki-l] Using different skins for
certain users
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)wikimedia.org>
On 15/06/06, Shannon Adams <shannon_adams68(a)yahoo.com>
wrote:
I want to create/use a skin for users that aren't
logged in that get rid of all of the tabs. Any
advice?
Clone Monobook, then edit the resulting clone and add
a simple check
global $wgUser;
if( $wgUser->isLoggedIn() ) {
above the statements which print out the content
action tabs.
Rob Church
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com