Jarekt added a comment.

  I am still trying to wrap my head around how to use lexme data, but I also 
have use case similar to Marsupium's use case. I would like to  replace tables 
like c:Data:I18n/MonthCases.tab 
<https://commons.wikimedia.org/wiki/Data:I18n/MonthCases.tab> where we store 
declensions of month names in different languages, so that we can have a 
function like c:Module:DateI18n 
<https://commons.wikimedia.org/wiki/Module:DateI18n>'s MonthCase(month, case, 
lang) (like 146) where, MonthCase(1, "ins", "pl") will give you L1872-F5 
<https://www.wikidata.org/wiki/Lexeme:L1872#L1872-F5>, Polish instrumental 
case, singular of January. I would love to be able to point to Q108 
<https://www.wikidata.org/wiki/Q108> and ask for any language, any grammatical 
case.
  
  Similarly c:Module:I18n/complex_date 
<https://commons.wikimedia.org/wiki/Module:I18n/complex_date> has bunch of 
declensions of various words in various languages, which ideally would not be 
hardcoded there but would come from Lexme data.  So I would second Marsupium's 
desire for a lua function that takes item's q-code and language code and 
provides lexme L-code, which than can be queried for available cases and 
declensions.

TASK DETAIL
  https://phabricator.wikimedia.org/T294637

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jarekt
Cc: Jarekt, Marsupium, Alicia_Fagerving_WMSE, Premeditated, Infovarius, Nikki, 
daniel, So9q, DVrandecic, Jdforrester-WMF, Lucas_Werkmeister_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, 
_jensen, rosalieper, Bodhisattwa, Scott_WUaS, jberkel, Psychoslave, 
Wikidata-bugs, aude, Shizhao, Nemo_bis, Darkdadaah, Addshore, Mbch331, Ltrlg, 
Krenair
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to