[Wikidata-bugs] [Maniphest] T340408: Improve documentation of wikibase.entityselector.search hook

2023-06-25 Thread Nikki
Nikki created this task.
Nikki added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  For wikibase.entityselector.search on 
https://gerrit.wikimedia.org/g/mediawiki/extensions/Wikibase/+/cb2ee2a765af3d7f1164b3cb0c678beb97b6bc7b/docs/topics/hooks-js.md
 it says
  
  > An object containing the following elements is passed as first argument 
:element, term and options. As second argument a function is passed allowing to 
add promises that return additional suggestion items. Those items will replace 
existing items with the same ID and will be placed on top of the list. If an 
item has a property rating then this property will be used for sorting the list 
by it descending (higher rating on top). The range of the rating should be 
between 0-1.
  
  It seems awkwardly phrased and I had to read it several times to understand 
it. The way the arguments are described for wikibase.statement.saved seems much 
clearer.
  
  It doesn't provide enough information for me to understand how to use this 
hook:
  
  - What are "element", "term" and "options"?
  - How should the function passed as the second argument be used?
  - What should the additional suggestions look like?

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

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

To: Nikki
Cc: Nikki, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T340407: Entity lookup for lexemes does not add language tags correctly

2023-06-25 Thread Nikki
Nikki created this task.
Nikki added projects: Wikidata Lexicographical data, Wikidata.

TASK DESCRIPTION
  **Steps to replicate the issue** (include links if applicable):
  
  - Start adding a statement to 
https://www.wikidata.org/wiki/Q4115189?uselang=en
  - Select the property Sandbox-Lexeme
  - Enter the text "ماتا"
  
  **What happens?**:
  
  The results include L481  which 
has two lemmas, one Hindi (`hi`), one Urdu (`ur`).
  
  The generated HTML only includes one `lang` attribute applied to the element 
containing both lemmas, and no `dir` attribute.
  
  The generated HTML (with whitespace added for legibility):
  



माता
 (ماتا)

Hindustani, 
noun


  
  The language code it uses, `und`, is also wrong, probably caused by T230833 
.
  
  **What should have happened instead?**:
  
  The generated HTML should have `lang` and `dir` attribute for each lemma. The 
`lang` attribute should come from the lemma's language code.
  
  The way it displays lemmas is bad and should be changed (T272352 
) so ideally the generated HTML 
would look something like:
  



माता/ماتا

Hindustani, 
noun


  
  but at the very least the generated HTML should be something like:
  



माता
 (ماتا)

Hindustani, 
noun


  
  **Software version** (skip for WMF-hosted wikis like Wikipedia):
  
  **Other information** (browser name/version, screenshots, etc.):
  
  I'm assuming this is different from the lang/dir problem for senses (T330011 
) since for senses it already shows 
all lemmas and does already use one of the lemma language codes.

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

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

To: Nikki
Cc: Nikki, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T339103: Show MUL as last language in Termbox if any MUL terms exist

2023-06-25 Thread gerritbot
gerritbot added a comment.


  Change 932671 had a related patch set uploaded (by Hoo man; author: Hoo man):
  
  [mediawiki/extensions/Wikibase@master] Add MUL as last language in Termbox if 
any MUL term exists
  
  https://gerrit.wikimedia.org/r/932671

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

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

To: hoo, gerritbot
Cc: Manuel, Aklapper, Michael, Isabelladantes1983, Themindcoder, Adamm71, 
Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, 
karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, 
Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T339103: Show MUL as last language in Termbox if any MUL terms exist

2023-06-25 Thread gerritbot
gerritbot added a project: Patch-For-Review.

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

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

To: hoo, gerritbot
Cc: Manuel, Aklapper, Michael, Isabelladantes1983, Themindcoder, Adamm71, 
Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, 
karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, 
Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T339103: Show MUL as last language in Termbox if any MUL terms exist

2023-06-25 Thread gerritbot
gerritbot added a comment.


  Change 932669 had a related patch set uploaded (by Hoo man; author: Hoo man):
  
  [mediawiki/extensions/Wikibase@master] Add MUL as last language in Termbox if 
any MUL term exists
  
  https://gerrit.wikimedia.org/r/932669

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

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

To: hoo, gerritbot
Cc: Manuel, Aklapper, Michael, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T257113: Review list of messages marked as ignored for translation

2023-06-25 Thread hoo
hoo renamed this task from "Reivew list of messages marked as ignored for 
translation" to "Review list of messages marked as ignored for translation".

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

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

To: hoo
Cc: Aklapper, Samantha_Alipio_WMDE, Lydia_Pintscher, hoo, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org