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 <https://phabricator.wikimedia.org/F32384617> The language code most requested is by far `und`. Sometimes there are others like `qzz`, `zzz`, `qqx`, `tokipona`, `fractrice`, `frauteur`. see logstash <https://logstash-next.wikimedia.org/goto/2fd0ec063859c4b228d7b6e186e706fd> **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 <https://logstash-next.wikimedia.org/goto/3fef09055f4df4012bbbab516ba4fc2f> **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