jenkins-bot has submitted this change and it was merged.

Change subject: Minor tweak in PopulateInterwiki
......................................................................


Minor tweak in PopulateInterwiki

Change-Id: I2f6fc0139b3ffa6ab70420207710ef0e23fbceed
---
M client/maintenance/populateInterwiki.php
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Hoo man: Looks good to me, approved
  WikidataJenkins: Verified
  jenkins-bot: Verified



diff --git a/client/maintenance/populateInterwiki.php 
b/client/maintenance/populateInterwiki.php
index 2ac2e5a..1f618cf 100644
--- a/client/maintenance/populateInterwiki.php
+++ b/client/maintenance/populateInterwiki.php
@@ -65,9 +65,8 @@
                );
 
                // todo: is valid
-               if ( !empty ( $this->source ) ) {
+               if ( !empty( $this->source ) ) {
                        try {
-                               // make sure this has the '?'
                                $baseUrl = rtrim( $this->source, '?' ) . '?';
                        } catch( Exception $e ) {
                                $this->error( "Error: Invalid api source" );

-- 
To view, visit https://gerrit.wikimedia.org/r/153701
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2f6fc0139b3ffa6ab70420207710ef0e23fbceed
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: WikidataJenkins <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to