Author: r.carter
Description:
It appears that the wgWhitelistEdit directive fails to have any effect in
MediaWiki 1.4.10.
I have tracked the problem to EditPage.php
Lines: 55
if ( !$wgUser->getID() && $wgWhitelistEdit ) { $this->userNotLoggedInPage(); return;
Lines: 206
if ( !$wgUser->getID() && $wgWhitelistEdit ) { $this->userNotLoggedInPage(); return;
It seems that the boolean should use || rather than && to have the desired
effect. I have modified my version of the scipt and it seems to work. Prior to
this I could edit regardless of whether I was logged in or not.
Running on Red Hat Linux.
MediaWiki (http://wikipedia.sf.net/): 1.4.10 PHP (http://www.php.net/): 4.3.9 (apache) MySQL (http://www.mysql.com/): 4.0.23a-log
Version: 1.4.x
Severity: normal
OS: Linux
Platform: Macintosh