Last modified: 2010-05-15 15:37:34 UTC
When I rename a page, the redirect is not created properly. There is an entry in the revision table, but with rev_page=0. The problem probably lies in Title::moveToNewTitle (and Title::moveOverExistingRedirect): $dbw->insert( 'revision', array( 'rev_id' => $dbw->nextSequenceValue('rev_rev_id_seq'), 'rev_comment' => $comment, 'rev_user' => $wgUser->getID(), 'rev_user_text' => $wgUser->getName(), 'rev_timestamp' => $now, 'inverse_timestamp' => $won ), $fname ); rev_page is missing here.
Fixed now. The redirect article was created correctly but innaccessible cause of the missing rev_page.
The same problem still exists in moveOverExistingRedirect. And there is an additional bug in that function: The old redirect is not deleted completely, only the entry in the "page" table, not the entries in the "revision" and "text" tables.
Please test with current code and confirm if it's still there.
Seems to be OK now.