daniel added a comment.

@JeroenDeDauw I did get that, but that only works for things that exist on the 
Entity level. Or you need to have setters for *every* part of the model on the 
Entity level. Item::addBadgeToSiteLink( $siteId, $badge ), 
Item::addReferenceToStatement( $hash, $reference ), etc. Which in turn means 
that everything that modifies badges would have to operate on Items, even 
though it shouldn't have to know about entities at all.

Yes, possible, but awkward.


TASK DETAIL
  https://phabricator.wikimedia.org/T126152

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: adrianheine, daniel, JeroenDeDauw, thiemowmde, Aklapper, Bene, 
StudiesWorld, Izno, Luke081515, Wikidata-bugs, aude, Mbch331



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to