| Lucas_Werkmeister_WMDE created this revision. Lucas_Werkmeister_WMDE added a reviewer: Magnus. Lucas_Werkmeister_WMDE added a project: Wikidata. Lucas_Werkmeister_WMDE requested review of this revision. | View Revision
Canonical Decomposition is not the form of strings used by Wikibase (Wikibase uses Canonical Composition), and it is not usually the form in which user input is received ([some browsers][1] explicitly normalize inputs to Canonical Composition, and other input is also usually in a normalized form), so if we only Decompose one half of the values when comparing them, we will usually end up reporting a mismatch. This manifests itself as an error (“base statement not found”) when attempting to add a statement with qualifiers whose value contains
umlauts: when attempting to add the qualifiers, QuickStatements will be unable to locate the statement it just added.
The fix for this is simple: normalize both sides when comparing strings. In that case, it also doesn’t matter which normalization form we use.
Cc: Magnus, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
