PageStore: Pass query flags to getPageById() too

Follows-up 8ba4aad647,
073c90e176.

Bug: T289717
Bug: T195069
Change-Id: I7b3c9c891d235d641cc623d518bb7ad78b297c5b
This commit is contained in:
Bartosz Dziewoński 2021-08-26 17:58:19 +02:00
parent 81897f50b8
commit 3f897fdd8f

View file

@ -212,7 +212,7 @@ class PageStore implements PageLookup {
if ( $page->exists() ) {
// if we have a page ID, use it
$id = $page->getId( $this->wikiId );
return $this->getPageById( $id );
return $this->getPageById( $id, $queryFlags );
}
}