Page MenuHomePhabricator

Skip loading the property if the datatype has already been provided
Open, Needs TriagePublic


When you click on a property in suggester, it makes an additional API call to query the property's datatype. Since T45069 got fixed, wbsearchentities (used to search for properties) returns the datatype as well. So this expensive API call (the whole entity is loaded) can be skipped if the datatype has been provided.

On the contrary, wbsgetsuggestions (MediaWiki-extensions-PropertySuggester) does not return the datatype.