Added 'page_id' to the fields returned by Revision::selectPageFields() so that the...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 31 Jan 2012 10:26:22 +0000 (10:26 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 31 Jan 2012 10:26:22 +0000 (10:26 +0000)
commitc6e1f399a59db03b72886e6b7b24e703df0349f2
treefe92b696a4c6185304c876cff99dbfc8042608ce
parent312e0aacb6bb47ae4efa451f3be28b803d866df9
Added 'page_id' to the fields returned by Revision::selectPageFields() so that the Title object created in Revision::__construct() already knows its id and it doesn't have to issue another DB query to load it (happens e.g. in api.php?action=parse&oldid=... calls)
includes/Revision.php