jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/366488 )

Change subject: Cleanup old BC config for JsonUnitStorage
......................................................................


Cleanup old BC config for JsonUnitStorage

This should be merged after wmf.9 is not deployed on wikidata and
there's no chance it will be deployed ever again.

Bug: T171107
Change-Id: Idd33374fb059c890b11a322617a63ec931d1a7cf
---
M wmf-config/Wikibase-production.php
1 file changed, 1 insertion(+), 6 deletions(-)

Approvals:
  Thcipriani: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/Wikibase-production.php 
b/wmf-config/Wikibase-production.php
index 55833c4..5e1214d 100644
--- a/wmf-config/Wikibase-production.php
+++ b/wmf-config/Wikibase-production.php
@@ -105,14 +105,9 @@
 
        if ( $wgDBname === 'wikidatawiki' ) {
                $wgWBRepoSettings['unitStorage'] = [
+                       'class' => '\\Wikibase\\Lib\\Units\\JsonUnitStorage',
                        'args' => [ __DIR__ . '/unitConversionConfig.json' ]
                ];
-               // TODO: remove the conditional once wmf.9 is no longer 
deployed anywhere
-               if ( class_exists( '\\Wikibase\\Lib\\Units\\JsonUnitStorage' ) 
) {
-                       $wgWBRepoSettings['unitStorage']['class'] = 
'\\Wikibase\\Lib\\Units\\JsonUnitStorage';
-               } else {
-                       $wgWBRepoSettings['unitStorage']['class'] = 
'\\Wikibase\\Lib\\JsonUnitStorage';
-               }
        }
 
        $wgWBQualityConstraintsEnableConstraintsImportFromStatements = true;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idd33374fb059c890b11a322617a63ec931d1a7cf
Gerrit-PatchSet: 3
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Smalyshev <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: Thcipriani <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to