Last modified: 2009-08-26 17:42:27 UTC
On page move over redirect, I'm seeing errors where the move may fail with "PHP Fatal error: Call to a member function timestamp() on a non-object in ...includes/Title.php on line 2860" Title.php: function moveOverExistingRedirect( &$nt, $reason = '', $createRedirect = true ) invokes $rcts = $dbw->timestamp( $nt->getEarliestRevTime() ); without first checking that $dbw is a valid object. I've tried substituting: $rcts = ''; if ($dbw != null) $rcts = $dbw->timestamp( $nt->getEarliestRevTime() ); for this code, which allows the move operation to proceed. I'm running the MW 1.16alpha obtained from SVN on August 15th, 2009.
This was fixed in r55230.