Author: dotcom
Description:
It is impossible to set the EDIT_FORCE_BOT flag for non-bot user edits in
Article::doEdit() for new articles because of a typo in RecentChange::notifyNew().
The conditional statement should be like the one in RecentChange::notifyEdit():
( $bot === 'default' ) instead of ( $bot == 'default' ), otherwise the statement
evaluates to true if the bot flag is already true, when the intention is for
that clause to be executed only if the flag has not been set at all.
This problem is present in the trunk, 1.10, 1.9.3, and probably earlier versions.
[Credit to Phlip for pinpointing the problem.]
Version: 1.10.x
Severity: normal
OS: Windows XP
Platform: PC