| hoo updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
See also https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
* What do we return if* Can we do there are multiple Lemmas same for Forms/Senses? Should they just be concatenated or should they hint which spelling variant they have?Yes: `mw.wikibase.getGlosses( senseId )`/`mw.wikibase.getReprensetations( formId )`
* Do you want to be able to select a specific spelling variant's Lemma with another function?What do we return if there are multiple Lemmas? Should they just be concatenated or should they hint which spelling variant they have? We will return everything (equivalent to [[https://www.wikidata.org/wiki/Special:EntityData/L1.json|JSON format]])
* Currently Lua is disabled for access to Lexeme data.* Do you want to be able to select a specific spelling variant's Lemma with another function? How did we do this?For now, Can we re-enable it just bit-by-bit?no.
* Do we care about the ordering of the Lemmas?* Currently Lua is disabled for access to Lexeme data. How did we do this? Can we re-enable it just bit-by-bit? Yes, Nothis is independent from getting whole entities.
...
for example `mw.wikibase.getLemmas() could return an array of Lemmas + language codes (like a term) lexemeId )` would return a table (indexed by language codes) holding tables consisting of the language + the lemma (like in the JSON representation). Like `de => { language => 'de', value => 'Haus' }`.See also https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
...
* Can we do the same for Forms?How do we want to track these data usages? We will initially start with tracking them as other usages, and potentially create a more specific usage type later on (or track them as label usages once WikibaseClient is ready for that).* What do we return if* Can we do there are multiple Lemmas same for Forms/Senses? Should they just be concatenated or should they hint which spelling variant they have?Yes: `mw.wikibase.getGlosses( senseId )`/`mw.wikibase.getReprensetations( formId )`
* Do you want to be able to select a specific spelling variant's Lemma with another function?What do we return if there are multiple Lemmas? Should they just be concatenated or should they hint which spelling variant they have? We will return everything (equivalent to [[https://www.wikidata.org/wiki/Special:EntityData/L1.json|JSON format]])
* Currently Lua is disabled for access to Lexeme data.* Do you want to be able to select a specific spelling variant's Lemma with another function? How did we do this?For now, Can we re-enable it just bit-by-bit?no.
* Do we care about the ordering of the Lemmas?* Currently Lua is disabled for access to Lexeme data. How did we do this? Can we re-enable it just bit-by-bit? Yes, Nothis is independent from getting whole entities.
TASK DETAIL
EMAIL PREFERENCES
To: hoo
Cc: Aklapper, Tpt, hoo, Lydia_Pintscher, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331
Cc: Aklapper, Tpt, hoo, Lydia_Pintscher, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
