Page MenuHomePhabricator

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

Description

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

https://en.wikipedia.org/w/index.php?prefix=%28company%29&title=Special%3AUndelete&fuzzy=1

This functionality is not accessible through the API.

Event Timeline

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.

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

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.