In Mediawiki 1.71 in LocalSettings.php i set
$wgDefaultUserOptions['editsection'] = 0;
But anonymos users still see [edit].
I got it worked in an older mediawiki-version. Are there still further things to do. Dit there change something in Mediawiki 1.71
Thx, HeinJ
HeinzJ schrieb:
In Mediawiki 1.71 in LocalSettings.php i set
$wgDefaultUserOptions['editsection'] = 0;
But anonymos users still see [edit].
I got it worked in an older mediawiki-version. Are there still further things to do. Dit there change something in Mediawiki 1.71
Thx, HeinJ
Found a solution.
Parser.php function initialiseFromUser has to be changed from
$this->mEditSection = $user->getOption( 'editsection' );
to
if ($user->getID()) { $this->mEditSection = $user->getOption( 'editsection' ); } else { $this->mEditSection = 0; }
mediawiki-l@lists.wikimedia.org