[Mediawiki-l] [edit] link

Mauro do Carmo mauro at carmo.info
Tue Oct 10 19:15:57 UTC 2006


Dan,

Thanks... you are completely right.

I got confused by page caching, so I thought in using some code to enforce what I wanted.

Thanks again...
[]'s
mauro.

|-----Original Message-----
|From: mediawiki-l-bounces at Wikimedia.org [mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Dan
|Davis
|Sent: Tuesday, October 10, 2006 5:09 AM
|To: MediaWiki announcements and site admin list
|Subject: Re: [Mediawiki-l] [edit] link
|
|On 10/10/06, Mauro do Carmo <mauro at carmo.info> wrote:
|> if ($this->data['loggedin']) {
|> $wgDefaultUserOptions ['editsection'] = 0;
|
|I thought you wanted to prevent anonymous users from seeing the links?
|While I don't know whether your code snippet will work in
|LocalSettings or not, it would have had the opposite of what you hope
|to accomplish.
|
|Also, that setting only affects anonymous users and new users. If
|existing users want to see the section edit links, they can go to
|Preferences, Editing and set the 'Enable section editing via [edit]
|links' option.
|
|Dan
|_______________________________________________
|MediaWiki-l mailing list
|MediaWiki-l at 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
 



More information about the MediaWiki-l mailing list