Dan,
Thanks a lot. That is what I was looking for. However I get one more question. I've
tried to use this expression at
localSetting.php:
------------
if ($this->data['loggedin']) {
$wgDefaultUserOptions ['editsection'] = 0;
} else {
$wgDefaultUserOptions ['editsection'] = 1;
}
------------
And unfortunately it is not working. Could you give me one idea how I should do for make
this expression work.
Thanks again for all your help,
Hope hear from you soon,
mauro.
|-----Original Message-----
|From: mediawiki-l-bounces(a)Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On
Behalf Of Dan
|Davis
|Sent: Monday, October 09, 2006 9:31 PM
|To: MediaWiki announcements and site admin list
|Subject: Re: [Mediawiki-l] [edit] link
|
|> I want to take off the [edit] link on the right part of every title or subtitle of
my pages. I
|think that those links are added to the 'bodytext' in some .php file in some
place. I just don't have
|a clue where this place is located at.:)
|
|Always check DefaultSettings.php for guidance... at least for me, it's
|almost always in there...
|
|# grep -i editsection includes/DefaultSettings.php
| * $wgDefaultUserOptions ['editsection'] = 0;
|
|So, just put '$wgDefaultUserOptions ['editsection'] = 0;' into
|LocalSettings.php, and you should be good to go.
|
|Dan
|_______________________________________________
|MediaWiki-l mailing list
|MediaWiki-l(a)Wikimedia.org
|http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
|
|--
|No virus found in this incoming message.
|Checked by AVG Free Edition.
|Version: 7.1.407 / Virus Database: 268.13.1/466 - Release Date: 10/7/2006
|
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.13.1/466 - Release Date: 10/7/2006