Page MenuHomePhabricator

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


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.