[Wikidata-bugs] [Maniphest] [Edited] T170779: Wikidata search suggestions do not display on screen if character whose decomposition contains nukta is present in search query

2017-10-27 Thread Mahir256
Mahir256 updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...Wikidata's search functionality, wbsearchentities, returns the proper JSON response given a search containing the aforementioned characters, but the results are not rendered properly at all. In particular, the warning "//The value passed for "search" contains invalid or non-normalized data. Textual data should be valid, NFC-normalized Unicode without C0 control characters other than HT (\t), LF (\n), and CR (\r).//" is attached to the results. This causes either 1) the waiting icon to remain indefinitely, if it is a new search query, or 2) the previous results to remain, if it is a modification to another search query. A screenshot of 1) is presented below.

{F10470366}

To see 1) for yourself, you can change your interface language to Bengali, copy the text "বিষয়শ্রেণী:" ("Category:" in Bengali) and paste it into Wikidata's search box, and see no category pages pop up. Change the "য়" in that word to "য + ়", after removing the two spaces and the plus from that quotation, and such category pages will appear. To see 2) for yourself, change the "য + ়" back to "য়" and add "উইকিপিডিয়া" (Wikipedia) to the end, and the results shown will not changeTASK DETAILhttps://phabricator.wikimedia.org/T170779EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mahir256Cc: debt, Liuxinyu970226, TJones, PokestarFan, daniel, thiemowmde, Aftabuzzaman, Mahir256, Aklapper, Lahi, GoranSMilovanovic, QZanden, EBjune, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T170779: Wikidata search suggestions do not display on screen if character whose decomposition contains nukta is present in search query

2017-07-24 Thread Mahir256
Mahir256 updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...This does not appear to be an issue with all characters for which a decomposition exists in the Unicode standard, as searches such as "Cañada" (where the "ñ" decomposes into "n + U+0303") do return suggestions properly, without any warning attached to the JSON response.

It appears that all of the characters I have mentioned are part of [[ http://www.unicode.org/Public/10.0.0/ucd/CompositionExclusions.txt | this list of characters excluded from composition per the Unicode Standard ]], and that they [[http://www.unicode.org/Public/10.0.0/ucd/DerivedNormalizationProps.txt | cannot ever occur in their respective normalization forms]]—if that information is in any way helpful.TASK DETAILhttps://phabricator.wikimedia.org/T170779EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mahir256Cc: PokestarFan, daniel, thiemowmde, Aftabuzzaman, Mahir256, Aklapper, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs