Page MenuHomePhabricator

reassignEdits.php fails, giving "User '127.0.0.1' not found"
Closed, ResolvedPublic

Description

Author: todd.pederzani

Description:
On two 1.9.2 MediaWiki installs the reassignEdits maintenance script fails with
the error "User '127.0.0.1' not found.", even when trying different parameters
varying the to and from parameters. The hosts are different: one has PHP 5.2.0
and MySQL 4.1.15 and the other host has PHP 5.1.6 and MySQL 5.0.24. Both were
upgraded from 1.6.x; I hope this is not an issue particular to my configurations.


Version: 1.9.x
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz8933

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:30 PM
bzimport set Reference to bz8933.
bzimport added a subscriber: Unknown Object (MLST).

list-mediawiki2 wrote:

I also had this issue and tracked down the problem to initialiseUser in reassignEdits.inc.php. Replacing the $user-

loadFromdatabase() call with just load() solves the problem.