Page MenuHomePhabricator

[Task] Make sure Wikibase extensions don't use Entity class
Closed, ResolvedPublic

Description

It is really important that all extensions of Wikibase (Quality extensions, PropertySuggestor, ...) and components that use Wikibase code (MobileFrontend, Math, ...) don't use the long deprecated Entity class as we are going to remove it in the next DataModel release.

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
DuplicateNone
OpenFeatureNone
OpenFeatureNone
DuplicateNone
ResolvedNone
ResolvedNone
ResolvedNone
DuplicateNone
InvalidLydia_Pintscher
OpenNone
OpenNone
StalledNone
OpenNone
ResolvedAddshore
Resolvedthiemowmde
ResolvedAddshore
ResolvedBene
ResolvedNone

Event Timeline

Am 01.03.2016 um 19:14 schrieb Physikerwelt:

Physikerwelt added a comment.

Grep returned one match in the math extension
https://gist.github.com/physikerwelt/ea594a57e62d9af84327#file-mathmlrdfbuildertest-php-L11
@bene do you know how this can be updated?

That's just a reference to the Wikibase\DataModel\Entity namespace, not to the
Entity class. No problem there.

Bene renamed this task from [Task] Make sure Wikibase extensions don't use Entity to [Task] Make sure Wikibase extensions don't use Entity class.Mar 2 2016, 11:04 AM

Change 274658 had a related patch set uploaded (by Thiemo Mättig (WMDE)):
Favor EntityDocument over Entity when possible

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

Please also review https://gerrit.wikimedia.org/r/274431, which is pretty much required to be able to do more meaningful changes to the WikibaseQualityConstraints extension.

Change 274717 had a related patch set uploaded (by Thiemo Mättig (WMDE)):
Replace all remaining usages of Entity with EntityDocument

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

Change 274709 had a related patch set uploaded (by Thiemo Mättig (WMDE)):
Replace all remaining usages of Entity with EntityDocument

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

Change 274717 merged by jenkins-bot:
Replace all remaining usages of Entity with EntityDocument

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

Change 274658 merged by jenkins-bot:
Favor EntityDocument over Entity when possible

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

Change 274709 merged by jenkins-bot:
Replace all remaining usages of Entity with EntityDocument

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

Is this now complete for all extensions?

thiemowmde moved this task from Review to Done on the Wikidata-Sprint-2016-03-01 board.