Page MenuHomePhabricator

pageterms query api module broken for pages that are linked to wikidata items from commons
Open, Needs TriagePublic

Description and link to the same wikidata item.

The API responses of the pageterms API should be the same:

But they are not

This is due to a condition in WikibaseClient.php
Identified in

The code checks for WB_VERSION, but commons is now both a repo and client.
This code needs to change somehow to account for that