As a Lexeme creator I want to have Items for lexical categories prioritized in the entity lookup for lexical categories in order to more easily find the correct Item for the Lexical category I am looking for.
Problem:
We want editors to be able to specify the lexical category of the Lexeme they are creating. To make this easier we want to prioritize the Items for lexical categories.
Screenshots/mockups:
https://www.figma.com/file/XoYktoKEBnC0VIf1SRuxJK/Lexicographical-Data-UI?node-id=493%3A3077
BDD
GIVEN a Lexeme lexical category input on Special:New Lexeme
WHEN typing in the lookup
THEN Items representing lexical categories are boosted in the results
Acceptance criteria:
- Items representing lexical categories are boosted in the lexical category input
- Items not representing lexical categories can still be added
- configuration variables to set boosted lexicat are documented
Notes:
- This is the same as for language lookup but with lexical category instead.
- When the user queries, they see the Items that are Lexical categories first and then all the other Items in the Lookup component.
- Create a config list of top ones ( https://w.wiki/56qX (might be the best thing here )
Lydia is leaning towards using these (via a config?):
lexical category Item | lexical category label |
http://www.wikidata.org/entity/Q1084 | noun |
http://www.wikidata.org/entity/Q34698 | adjective |
http://www.wikidata.org/entity/Q24905 | verb |
http://www.wikidata.org/entity/Q380057 | adverb |
http://www.wikidata.org/entity/Q63116 | numeral |
http://www.wikidata.org/entity/Q83034 | interjection |
http://www.wikidata.org/entity/Q4833830 | preposition |
http://www.wikidata.org/entity/Q111029 | root |
http://www.wikidata.org/entity/Q36484 | conjunction |
http://www.wikidata.org/entity/Q36224 | pronoun |
http://www.wikidata.org/entity/Q102047 | suffix |
http://www.wikidata.org/entity/Q134830 | prefix |
http://www.wikidata.org/entity/Q161873 | postposition |
http://www.wikidata.org/entity/Q62155 | affix |
Relates to T307441