Soeren.oldag has uploaded a new change for review.
https://gerrit.wikimedia.org/r/205845
Change subject: SpecialConstraintReport::execute() now takes Entity instead of
EntityDocument.
......................................................................
SpecialConstraintReport::execute() now takes Entity instead of EntityDocument.
Change-Id: I8950e7ee1a8b1708df7339c248c85f784ec691d4
---
M specials/SpecialConstraintReport.php
1 file changed, 3 insertions(+), 3 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikidataQualityConstraints
refs/changes/45/205845/1
diff --git a/specials/SpecialConstraintReport.php
b/specials/SpecialConstraintReport.php
index b28b206..9059c92 100755
--- a/specials/SpecialConstraintReport.php
+++ b/specials/SpecialConstraintReport.php
@@ -6,7 +6,7 @@
use DataValues\DataValue;
use Html;
use Wikibase\DataModel;
-use Wikibase\DataModel\Entity\EntityDocument;
+use Wikibase\DataModel\Entity\Entity;
use Wikibase\DataModel\Entity\EntityId;
use Wikibase\DataModel\Entity\ItemId;
use Wikibase\DataModel\Entity\PropertyId;
@@ -93,11 +93,11 @@
/**
* @see SpecialCheckResultPage::executeCheck
*
- * @param EntityDocument $entity
+ * @param Entity $entity
*
* @return string
*/
- protected function executeCheck( EntityDocument $entity ) {
+ protected function executeCheck( Entity $entity ) {
// Run constraint checker
$constraintChecker = new ConstraintChecker( $this->entityLookup
);
$results = $constraintChecker->execute( $entity );
--
To view, visit https://gerrit.wikimedia.org/r/205845
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8950e7ee1a8b1708df7339c248c85f784ec691d4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikidataQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Soeren.oldag <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits