Jeroen De Dauw has submitted this change and it was merged.

Change subject: fix where we get the EntityIdParser from.
......................................................................


fix where we get the EntityIdParser from.

Change-Id: I020d23b81e351e12811c2830d7292fb0b0ec44fb
---
M repo/includes/api/GetEntities.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jeroen De Dauw: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/repo/includes/api/GetEntities.php 
b/repo/includes/api/GetEntities.php
index 64ca636..545bcb3 100644
--- a/repo/includes/api/GetEntities.php
+++ b/repo/includes/api/GetEntities.php
@@ -38,7 +38,7 @@
        protected $stringNormalizer;
 
        /**
-        * @var \Wikibase\EntityIdParser
+        * @var \Wikibase\Lib\EntityIdParser
         */
        protected $entityIdParser;
 
@@ -46,7 +46,7 @@
                parent::__construct( $main, $name, $prefix );
 
                $this->stringNormalizer = 
WikibaseRepo::getDefaultInstance()->getStringNormalizer();
-               $this->entityIdParser = 
LibRegistry::getDefaultInstance()->getEntityIdParser();
+               $this->entityIdParser = 
WikibaseRepo::getDefaultInstance()->getEntityIdParser();
        }
 
        /**

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I020d23b81e351e12811c2830d7292fb0b0ec44fb
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to