Select all nedded fields for Title::newFromRow() when fetch a revision from the database.
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 2 Jun 2012 16:36:48 +0000 (18:36 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 2 Jun 2012 16:39:20 +0000 (18:39 +0200)
commit799a291c7016463d38b220c9cfa628f9a7d2cbe7
tree29ff89b11a788e9d0ba25c4daf51bede45001c5a
parent07a74791957857227b027e7e3bb404b04ee4b274
Select all nedded fields for Title::newFromRow() when fetch a revision from the database.

Otherwise MW will throw an exception with the message "LinkCache doesn't currently know about this title"
when accessing redirect or len items of these Title objects, e.g. in Special:RevisionDelete.

Change-Id: I07978145df78bddac894bdac087c5d62b03759b3
includes/Revision.php