jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/380117 )
Change subject: build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
......................................................................
build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I90d2696ee78e6647bdc034c55fcab5896ea76f3d
---
M ContributionScores.php
M ContributionScores_body.php
M composer.json
3 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
Umherirrender: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ContributionScores.php b/ContributionScores.php
index 508e4d6..8bc5c20 100644
--- a/ContributionScores.php
+++ b/ContributionScores.php
@@ -59,7 +59,7 @@
}
$user = User::newFromName( $usertext );
- $dbr = wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_REPLICA );
if ( $user instanceof User && $user->isLoggedIn() ) {
global $wgLang;
diff --git a/ContributionScores_body.php b/ContributionScores_body.php
index aba2370..1fe0ae0 100644
--- a/ContributionScores_body.php
+++ b/ContributionScores_body.php
@@ -32,7 +32,7 @@
$opts = explode( ',', strtolower( $options ) );
- $dbr = wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_REPLICA );
$userTable = $dbr->tableName( 'user' );
$userGroupTable = $dbr->tableName( 'user_groups' );
diff --git a/composer.json b/composer.json
index 7c63cad..6394fcf 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
{
"require-dev": {
"jakub-onderka/php-parallel-lint": "0.9.2",
- "mediawiki/mediawiki-codesniffer": "0.12.0",
+ "mediawiki/mediawiki-codesniffer": "13.0.0",
"jakub-onderka/php-console-highlighter": "0.3.2"
},
"scripts": {
--
To view, visit https://gerrit.wikimedia.org/r/380117
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I90d2696ee78e6647bdc034c55fcab5896ea76f3d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContributionScores
Gerrit-Branch: master
Gerrit-Owner: Libraryupgrader <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits