jenkins-bot has submitted this change and it was merged.
Change subject: Use repo wiki database for WikiPageEntityMetaDataLookup in
client
......................................................................
Use repo wiki database for WikiPageEntityMetaDataLookup in client
otherwise things badly break, since wb_entity_per_page
does not exist in the client database.
Change-Id: If62411e1ca6641a3926a764a7ca00e03d3cda744
(cherry picked from commit daadb520e609b87e2c766d7d851203ca5a0237e2)
---
M client/includes/store/sql/DirectSqlStore.php
1 file changed, 4 insertions(+), 1 deletion(-)
Approvals:
Aude: Looks good to me, approved
jenkins-bot: Verified
diff --git a/client/includes/store/sql/DirectSqlStore.php
b/client/includes/store/sql/DirectSqlStore.php
index dbbf3f4..35e1704 100644
--- a/client/includes/store/sql/DirectSqlStore.php
+++ b/client/includes/store/sql/DirectSqlStore.php
@@ -459,7 +459,10 @@
public function getEntityPrefetcher() {
if ( $this->entityPrefetcher === null ) {
$this->entityPrefetcher = new
PrefetchingWikiPageEntityMetaDataAccessor(
- new WikiPageEntityMetaDataLookup(
$this->entityIdParser )
+ new WikiPageEntityMetaDataLookup(
+ $this->entityIdParser,
+ $this->repoWiki
+ )
);
}
--
To view, visit https://gerrit.wikimedia.org/r/204262
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If62411e1ca6641a3926a764a7ca00e03d3cda744
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: wmf/1.26wmf2
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits