According to the API documentation, wbgetentities should accept requests with:
• one site for several titles, or
• several sites for one title.
However, patch 80797 changed the code to only allow:
• one site and several titles, or
• equal numbers of sites and titles.
(see here: https://gerrit.wikimedia.org/r/#/c/80797/)
So this request works fine:
https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki|itwiki&titles=London|Berlin
But this one returns an error:
https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki|itwiki&titles=London
It doesn't make sense, the older behavior should be restored.
Version: master
Severity: normal