[Wikidata-bugs] [Maniphest] T265485: Termbox SSR should only be called with valid term languages

2020-10-15 Thread Pablo-WMDE
Pablo-WMDE added a comment.


  In my understanding this is indeed describing the same problem as T231007 
, just with different ways of 
discovering the issue and ideas for a solution.
  The main challenge, in my eyes, is not so much technical in nature but how to 
create a pleasant user experience around handling requested invalid languages. 
As such it makes sense to join forces between the tickets and try for some 
answers by product.

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

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

To: Pablo-WMDE
Cc: Pablo-WMDE, Aklapper, Michael, Akuckartz, darthmon_wmde, 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
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T265485: Termbox SSR should only be called with valid term languages

2020-10-14 Thread Michael
Michael updated the task description.

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

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

To: Michael
Cc: Aklapper, Michael, Akuckartz, darthmon_wmde, 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
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T265485: Termbox SSR should only be called with valid term languages

2020-10-14 Thread Michael
Michael updated the task description.

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

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

To: Michael
Cc: Aklapper, Michael, Akuckartz, darthmon_wmde, 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
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T265485: Termbox SSR should only be called with valid term languages

2020-10-14 Thread Michael
Michael updated the task description.

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

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

To: Michael
Cc: Aklapper, Michael, Akuckartz, darthmon_wmde, 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
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T265485: Termbox SSR should only be called with valid term languages

2020-10-14 Thread Michael
Michael updated the task description.

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

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

To: Michael
Cc: Aklapper, Michael, Akuckartz, darthmon_wmde, 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
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T265485: Termbox SSR should only be called with valid term languages

2020-10-14 Thread Michael
Michael created this task.
Michael added projects: Wikidata-Termbox, Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Termbox seems to be called occasionally with languages that do not exist and 
are sometimes not even valid. This seems to cause two different errors in our 
logs:
  
  **Error 1:**
  `Asked for data in a language that itself is not existing.`
  
  The incidence of this error is rather low with 30 events in the last 7 days 
and 111 events in the last 6 weeks.
  
  F32384617: image.png 
  
  The language code most requested is by far `und`. Sometimes there are others 
like `qzz`, `zzz`, `qqx`, `tokipona`,  `fractrice`, `frauteur`.
  
  see logstash 

  
  **Error 2:**
  `Request errors`
  With the following error object in the logs:
  
{
  "path": "language",
  "message": "should match pattern \"^[a-z]{2}[a-z0-9-]*$\"",
  "location": "query",
  "errorCode": "pattern.openapi.validation"
}
  
  The language codes causing this error are 3-digit numbers like `906`, `750`, 
`918`, `178`, `238`, `350`, `458`. There doesn't seem to be any pattern or 
clusters in those numbers.
  
  But these errors are much rarer with only 7 events in the last 7 days and 35 
events in the last 6 weeks.
  
  see logstash 

  
  **acceptance criteria**
  
  [ ] Termbox SSR is no longer called with an invalid language

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

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

To: Michael
Cc: Aklapper, Michael, Akuckartz, darthmon_wmde, 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
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs