Page MenuHomePhabricator

The N'Ko language cannot be looked up by its English name in the languages search box on Mobile web
Open, MediumPublic

Assigned To
None
Authored By
Amire80
Dec 2 2019, 2:20 PM
Referenced Files
F44383878: image.png
Wed, Apr 3, 9:58 PM
F44383825: image.png
Wed, Apr 3, 9:58 PM
F44383798: image.png
Wed, Apr 3, 9:58 PM
F31461891: Screenshot_20191207-182957.png
Dec 7 2019, 6:04 PM
F31461879: nt.png
Dec 7 2019, 6:04 PM
F31461892: Screenshot_20191207-182922.png
Dec 7 2019, 6:04 PM
F31461877: nq.png
Dec 7 2019, 6:04 PM
F31461875: N.png
Dec 7 2019, 6:04 PM

Description

To reproduce:

  1. Go to https://en.m.wikipedia.org/wiki/Martin_Luther_King_Jr.
  2. Tap the languages button (文Α).
  3. Type n'ko in the search box.
    1. Expected: A row with the title "ߒߞߏ" is supposed to appear.
    2. Observed: Nothing appears.

With other languages, it works: I can type an English name or a native name, and they appear. But it doesn't work with N'Ko (ISO code nqo).

This language does appear if I just scroll down.

Event Timeline

I cannot reproduce this for N, Nq, Nqo and ߒߞߏ...

NNqߒߞߏ
N.png (1×720 px, 82 KB)
nq.png (1×720 px, 63 KB)
nt.png (1×720 px, 34 KB)

The search yielded no result for n'ko, but the reason for that is not peculiar to N'Ko language. The issue seems to be with the apostrophe (for the few languages that have it)

Uzbek language does have apostrophe in the name oʻzbek and so searching oʻz yielded no result. Search with the ISO code uz produced result.

o'zuz
Screenshot_20191207-182957.png (1×720 px, 58 KB)
Screenshot_20191207-182922.png (1×720 px, 39 KB)

I have not tested beyond these... if there's any language with apostrophe in its name it would be good to test it too.

Device: Mobile
Mozilla/5.0 (Linux; Android 9; TECNO KB7j)
AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/78.0.3904.96

@Edtadros - could you take a look and try to test through some languages with apostrophes within their names?

Aklapper added a subscriber: Edtadros.

Removing task assignee due to inactivity, as this open task has been assigned for more than two years. See the email sent to the task assignee on February 06th 2022 (and T295729).

Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome.

If this task has been resolved in the meantime, or should not be worked on ("declined"), please update its task status via "Add Action… 🡒 Change Status".

Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.

Aklapper renamed this task from The N'Ko language cannot be looked up in the languages search box on Mobile web to Languages with apostrophe in their name cannot be looked up in Languages search box on Mobile web.Sep 1 2022, 9:47 AM

The apostrophe is probably not related. N'Ko uses a ' character, and it's in the English name of the language, while Uzbek uses the ʻ ("modifier turned comma") character, and it's in the native name. And I'm able to find Uzbek using the string oʻz.

The only other language I could find that has an apostrophe in its English name is Pa'O, code blk, native name "ပအိုဝ်ႏဘာႏသာႏ". If I go to https://en.m.wikipedia.org/wiki/Nitrogen#/languages and search for pa'o, I find it.

Amire80 renamed this task from Languages with apostrophe in their name cannot be looked up in Languages search box on Mobile web to The N'Ko language cannot be looked up in the languages search box on Mobile web.Sep 1 2022, 8:37 PM
Amire80 renamed this task from The N'Ko language cannot be looked up in the languages search box on Mobile web to The N'Ko language cannot be looked up by it's English name in the languages search box on Mobile web.
Amire80 updated the task description. (Show Details)
ori renamed this task from The N'Ko language cannot be looked up by it's English name in the languages search box on Mobile web to The N'Ko language cannot be looked up by its English name in the languages search box on Mobile web.Sep 1 2022, 8:39 PM

Can you provide more information on where you replicated this? Maybe it's OS or browser specific but I don't see why it would be :/...

ovasileva triaged this task as Medium priority.Wed, Mar 27, 4:46 PM
ovasileva moved this task from Incoming to Groomed on the Web-Team-Backlog board.

By going to https://en.m.wikipedia.org/wiki/Martin_Luther_King_Jr.#/languages I get this:

image.png (800×600 px, 14 KB)
image.png (800×600 px, 25 KB)

But with a different apostrophe (n’ko, not n'ko) or the language code it works:

image.png (800×600 px, 14 KB)

The code should probably normalise all kinds of apostrophes (and something probably needs to be done about the text getting cut off by input).