Page MenuHomePhabricator

Make API query modules aware of MCR
Closed, ResolvedPublic

Description

Any API module that outputs revision (meta-)data needs to become aware of MCR, and must support multiple content objects per revision in the output.

ApiQueryRevisionsBase and its subclasses need a "slots" parameter, both to select which slots should have content-related metadata returned and to indicate that the existing, main-only content format should no longer be used. A new prop to list the available roles per revision is also useful.

Event Timeline

CCicalese_WMF triaged this task as Normal priority.Jul 27 2018, 9:54 PM
CCicalese_WMF created this task.
Restricted Application added a project: Wikidata. · View Herald TranscriptJul 27 2018, 9:54 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 413223 had a related patch set uploaded (by Cicalese; owner: Anomie):
[mediawiki/core@master] API: Update query modules for MCR

https://gerrit.wikimedia.org/r/413223

Change 413223 merged by jenkins-bot:
[mediawiki/core@master] API: Update query modules for MCR

https://gerrit.wikimedia.org/r/413223

daniel closed this task as Resolved.Aug 1 2018, 4:23 PM

merged