Page MenuHomePhabricator

Allowing seaching the archive table for titles of deleted pages through the API
Open, MediumPublic


Some time ago, it became possible to search the archive table for titles of deleted pages.

This functionality is not accessible through the API.

Event Timeline

MER-C created this task.Apr 11 2018, 8:12 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 11 2018, 8:12 PM
Anomie added a subscriber: Anomie.EditedApr 11 2018, 11:48 PM

Hints for anyone who wants to implement this:

  • This should be a new query list module.
  • Parameters would be "search" as the text to search and another parameter to select whether it uses PageArchive::listPagesByPrefix() or PageArchive::listPagesBySearch() to fetch the data.
  • The module should require the 'deletedhistory' right.
  • The module shouldn't need to deal with continuation, since the underlying PageArchive code doesn't support continuation.
Anomie moved this task from Unsorted to Needs Code on the MediaWiki-API board.Apr 11 2018, 11:48 PM

I may have created a duplicate T196927, or perhaps this is just a different solution.

Restricted Application added a project: Platform Engineering. · View Herald TranscriptJan 4 2020, 12:41 AM
Doc_James awarded a token.
Eevans triaged this task as Medium priority.Jan 10 2020, 5:25 PM
CCicalese_WMF added a subscriber: CCicalese_WMF.

Removing tag automatically added by Herald.

Aklapper removed a subscriber: Anomie.Oct 16 2020, 5:02 PM
Base added a subscriber: Base.Dec 17 2020, 7:38 PM