|thiemowmde added projects: Mediawiki-extensions-PropertySuggester, Need-volunteer.|
thiemowmde triaged this task as "Lowest" priority.
thiemowmde moved this task from incoming to needs discussion or investigation on the Wikidata board.
thiemowmde added a comment.
The reason for this behavior can be seen here: https://www.wikidata.org/w/api.php?action="">. There is no language "en-US" in MediaWiki. Most code falls back to the default "en". But the API module that is responsible for suggesting properties does not.
I can see how confusing this is. Unfortunately I don't have an idea for an easy fix. The error message is neither in Wikibase nor in the PropertySuggester, but in the basic MediaWiki core API code.
- We could try to teach the GetSuggestions.php API module to accept unknown language codes, but that alone would not fix the issue. The API would not fail any more, but still return nothing. It would need to fall back to English, and I don't know if this is a good idea.
Cc: thiemowmde, PokestarFan, Mbch331, Lydia_Pintscher, daniel, Aklapper, Yurik, Lahi, Gq86, GoranSMilovanovic, Soteriaspace, Jayprakash12345, JakeTheDeveloper, QZanden, Zoranzoki21, LawExplorer, Wikidata-bugs, aude, Sjoerddebruin, TheDJ
_______________________________________________ Wikidata-bugs mailing list Wikidataemail@example.com https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs