Bene created this task. Bene added a subscriber: Bene. Bene added projects: Wikidata-Sprint-2015-04-21, Wikidata, Wikibase-DataModel, Patch-For-Review. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION We need a remove method on StatementList in several places in Wikibase Repository. `Item` has a `setStatements` method but there is no guarantee that every other entity class will have such a method. Entity doesn't provide such a method either (and we are perhaps dropping that class anyways). `StatementListProvider` does only have a method to obtain a `StatementList`, not to set one (which makes sense as it is a provider). Therefore, we have to add a `removeStatement` method to `StatementList` to be able not only to add, but also to remove statements from such a list. There is a patch on Github already: https://github.com/wmde/WikibaseDataModel/pull/470 TASK DETAIL https://phabricator.wikimedia.org/T98143 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bene Cc: Bene, Aklapper, Wikidata-bugs, aude _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs