Create an implementation of API from T117493 that augments search results with specified page props from the page props table.
The implementation should allow bulk lookup of props to avoid repeated SQL queries.
Create an implementation of API from T117493 that augments search results with specified page props from the page props table.
The implementation should allow bulk lookup of props to avoid repeated SQL queries.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • Deskana | T117483 [EPIC] Enable augmenting search results with wikidata aliases/descriptions and other data | |||
Open | None | T117494 Create default implementation of result augmenting from page props | |||
Resolved | Smalyshev | T117493 Create result augmenting procedure for SearchResultsSet | |||
Resolved | cicalese | T115331 page_props needs an internal API |
@EBernhardson and I looked at this, and we are confused! Isn't this functionality already achieved use generator? e.g. https://en.wikipedia.org/w/api.php?action=query&generator=search&gsrsearch=foo&prop=pageterms|pageimages. This query augments the search results with descriptions and images. Some clarification here would be nice.
It is possible for generators, but is not possible for any other ways of searching, e.g. Special:Search. I think the idea was to make the same capability accessible to other search modes.