Addshore added a comment.

It might make sense for EntityDocument to have a clear() method in the interface.

Then in EditEntity::clearEntity instead of creating a new Entity you could create a copy() and call clear() which would have special handling for Lexeme (and also special handling for Property, which is currently hard coded in EditEntity)



To: Addshore
Cc: Jakob_WMDE, Addshore, Aklapper, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331
Wikidata-bugs mailing list

Reply via email to