WMDE-leszek has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/316809

Change subject: Fix typo in variable name. Drop unused imports.
......................................................................

Fix typo in variable name. Drop unused imports.

Change-Id: I35545275eca60c5869a8fb90a7962b4ba627335c
---
M WikibaseLexeme.entitytypes.php
M src/WikibaseLexeme.hooks.php
2 files changed, 1 insertion(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseLexeme 
refs/changes/09/316809/1

diff --git a/WikibaseLexeme.entitytypes.php b/WikibaseLexeme.entitytypes.php
index ea188e3..3e33eba 100644
--- a/WikibaseLexeme.entitytypes.php
+++ b/WikibaseLexeme.entitytypes.php
@@ -26,7 +26,6 @@
 use Wikibase\Lexeme\DataModel\Services\Diff\LexemePatcher;
 use Wikibase\Lexeme\Services\LexemeServices;
 use Wikibase\Lexeme\View\LexemeView;
-use Wikibase\Repo\WikibaseRepo;
 use Wikibase\View\EditSectionGenerator;
 use Wikibase\View\EntityTermsView;
 
diff --git a/src/WikibaseLexeme.hooks.php b/src/WikibaseLexeme.hooks.php
index cda90d3..a745b76 100644
--- a/src/WikibaseLexeme.hooks.php
+++ b/src/WikibaseLexeme.hooks.php
@@ -6,7 +6,6 @@
 use Wikibase\Lexeme\DataModel\Lexeme;
 use Wikibase\Sense\DataModel\Sense;
 use Wikibase\Form\DataModel\Form;
-use Wikibase\Repo\WikibaseRepo;
 
 /**
  * MediaWiki hook handlers for the Wikibase Lexeme extension.
@@ -41,7 +40,7 @@
                $config = MediaWikiServices::getInstance()->getMainConfig();
 
                # Sense and Form will be added later.
-               $entites = [ 'Lexeme' ];
+               $entities = [ 'Lexeme' ];
                foreach ( $entities as $entity ) {
                        // Setting the namespace to false disabled automatic 
registration.
                        $entityNamespace = $config->get( $entity . 'Namespace' 
);

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I35545275eca60c5869a8fb90a7962b4ba627335c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseLexeme
Gerrit-Branch: master
Gerrit-Owner: WMDE-leszek <[email protected]>

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

Reply via email to