Page MenuHomePhabricator

Cannot select Lexeme beyond the first among homographs
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

Screenshot 2024-10-16 at 16.00.24.png (1×1 px, 175 KB)

What happens?:
The result is 5

What should have happened instead?:
The result should be 2

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
The English noun should have two forms, as per https://www.wikidata.org/wiki/Lexeme:L14301

The English verb, which for me appears first in list, has 5 forms:
https://www.wikidata.org/wiki/Lexeme:L332631

It seems that selector does a text-based match and always hits the first Lexeme among homographs.

It is thus not possible to select the Malay adverb, the English noun, the Aragonese noun, or the Dagbani adverb, per name.

Workaround: it is always possible to select them directly by LID.

Event Timeline

Jdforrester-WMF subscribed.

It's possible that this is caused from Codex, as the "value"s are the same and so they're not mutually distinguishable for the selection logic?

Change #1081093 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Do not go into blur match strategy when lexeme value has been selected

https://gerrit.wikimedia.org/r/1081093

Change #1081093 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Do not go into blur match strategy when lexeme value has been selected

https://gerrit.wikimedia.org/r/1081093