Aude has uploaded a new change for review.
https://gerrit.wikimedia.org/r/204251
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
---
M client/includes/store/sql/DirectSqlStore.php
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/51/204251/1
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/204251
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If62411e1ca6641a3926a764a7ca00e03d3cda744
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits