HomePhabricator

ApiQueryDeletedRevisions: Optimize ascending title generation

Authored by Anomie.

Description

ApiQueryDeletedRevisions: Optimize ascending title generation

When generating titles rather than revids, it would be nice if we could
query with DISTINCT to get the titles directly instead of processing
every deleted revision for the title.

Sadly, it turns out this only works with dir=newer (dir=older is the
default). But that's probably better than nothing.

Bug: T110792
Change-Id: Idd300510c92b00722574d046399dbeb486afa98b

Details