MaxSem has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/374671 )
Change subject: DB_SLAVE -> DB_REPLICA
......................................................................
DB_SLAVE -> DB_REPLICA
Change-Id: I4fe57b6f30ae63cfffb1346df1814f841df8610c
---
M includes/ApiQueryMapData.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Kartographer
refs/changes/71/374671/1
diff --git a/includes/ApiQueryMapData.php b/includes/ApiQueryMapData.php
index 57030c5..0543cd5 100644
--- a/includes/ApiQueryMapData.php
+++ b/includes/ApiQueryMapData.php
@@ -23,7 +23,7 @@
return;
}
- $dbr = wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_REPLICA );
$this->addTables( 'page_props' );
$this->addFields( [ 'pp_page', 'pp_value' ] );
$this->addWhere( [ 'pp_page' => array_keys( $titles ),
'pp_propname' => 'kartographer' ] );
--
To view, visit https://gerrit.wikimedia.org/r/374671
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4fe57b6f30ae63cfffb1346df1814f841df8610c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Kartographer
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits