[Mediawiki-l] [edit] link

Dan Davis hokie99cpe+wiki at gmail.com
Tue Oct 10 12:09:11 UTC 2006

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.


More information about the MediaWiki-l mailing list