The translation end point of the Recommendation API depends on the Wikidata Query Service (WDQS). Replacing a call to WDQS with a call to the MediaWiki API (MW API) should make the service faster and reduce issues with testing on the beta cluster.
Background info: T213222 and T211397#4806848 and on.
- @bmansurov (IRC channel: #wikimedia-research)
- Replace a call to WDQS with a call to MW API. You may take an inspiration from a similar patch.