Page MenuHomePhabricator

Compose query for intermediate revision count
Closed, DeclinedPublic

Description

Per user story T234940: Curator gets number of intermediate revisions between two revisions, we want to add a count of intermediate revisions between two revisions. This is primarily for use with the revision comparison endpoint, to know how many edits were involved in the differences being reviewed.

Create an SQL query to retrieve this count. Update this task with the query. Creation of the new endpoint will be performed under a separate task.

Additional details are in T234940: Curator gets number of intermediate revisions between two revisions.

Requirements:

  • task updated with query

Event Timeline

BPirkle created this task.Oct 16 2019, 3:41 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 16 2019, 3:41 PM

If we don't go with my proposals in T234940#5580724, we don't need any special queries. There's already Title::countRevisionsBetween method in MW core which provides exactly what's needed.

WDoranWMF triaged this task as Medium priority.Oct 16 2019, 6:25 PM
WDoranWMF closed this task as Declined.Oct 16 2019, 7:34 PM