Page MenuHomePhabricator

Create a PagePile generator
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where):

Create a generator (and equivalent CLI option) that given a PagePile id, can obtain the corresponding Page objects.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

There are situations when I process PagePiles without knowing the site upfront. In this case, the -url option is not enough, as the text output of PagePile does not contain Site information.

Benefits (why should this be implemented?): Much shorter to give an id rather than a full URL

Event Timeline

Already working on this, will put up a patch for review shortly.

Change 981631 had a related patch set uploaded (by Strainu; author: Strainu):

[pywikibot/core@master] [FEAT] Add PagePile PageGenerator

https://gerrit.wikimedia.org/r/981631

Xqt triaged this task as Medium priority.

Change 981631 merged by jenkins-bot:

[pywikibot/core@master] [FEAT] Add PagePile PageGenerator

https://gerrit.wikimedia.org/r/981631