[MCR] pass $queryFlags into RevisionStore::getTitle
Bug: T183716 Bug: T183717 Bug: T183505 Change-Id: I15e4663902e2cbfe15b0da2e46449330e313bd0d
This commit is contained in:
parent
41a6af704e
commit
4de36baa63
1 changed files with 2 additions and 2 deletions
|
|
@ -1076,7 +1076,7 @@ class RevisionStore implements IDBAccessObject, RevisionFactory, RevisionLookup
|
|||
$pageId = isset( $row->rev_page ) ? $row->rev_page : 0; // XXX: also check page_id?
|
||||
$revId = isset( $row->rev_id ) ? $row->rev_id : 0;
|
||||
|
||||
$title = $this->getTitle( $pageId, $revId );
|
||||
$title = $this->getTitle( $pageId, $revId, $queryFlags );
|
||||
}
|
||||
|
||||
if ( !isset( $row->page_latest ) ) {
|
||||
|
|
@ -1144,7 +1144,7 @@ class RevisionStore implements IDBAccessObject, RevisionFactory, RevisionLookup
|
|||
$pageId = isset( $fields['page'] ) ? $fields['page'] : 0;
|
||||
$revId = isset( $fields['id'] ) ? $fields['id'] : 0;
|
||||
|
||||
$title = $this->getTitle( $pageId, $revId );
|
||||
$title = $this->getTitle( $pageId, $revId, $queryFlags );
|
||||
}
|
||||
|
||||
if ( !isset( $fields['page'] ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue