On 10/10/06, Mauro do Carmo <mauro(a)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