Steps to replicate the issue (include links if applicable):
- go to https://www.wikifunctions.org/view/en/Z19232
- enter the word "pun" into the field under lexeme next to the colorful Wikidata icon
- select e.g. the English noun
- run the function
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.
