Page MenuHomePhabricator

-redirectonly pagegenerators option wasn't ported from compat
Open, LowPublicFeature

Description

The compat implemetation can be found here. It should be implemented in pagegenerators.py in a similar way like -start option.

Event Timeline

Xqt created this task.Aug 29 2020, 11:30 AM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptAug 29 2020, 11:30 AM
Xqt triaged this task as Low priority.Aug 29 2020, 11:33 AM
Xqt changed the subtype of this task from "Task" to "Feature Request".
Xqt added a project: good first task.
Xqt updated the task description. (Show Details)Aug 29 2020, 11:35 AM
Xqt removed Strainu as the assignee of this task.Aug 29 2020, 12:03 PM
Xqt added a subscriber: Strainu.

I would like to try solving this issue. Would you please elaborate?

Mpaa added a subscriber: Mpaa.Tue, Nov 3, 7:05 PM

@Xqt, I think this should be implemented as a filter.

Xqt added a comment.Wed, Nov 4, 7:46 AM

@Xqt, I think this should be implemented as a filter.

Hm, that's more difficult. It would be possible if the generator includes redirects but you can't be sure. pagegenerators -start does not include them for example. And in addition filtering should be done prior on server side instead of retrieving a lot of pages and discard them later. The old Combat implementation is just like -start but for redirects only. Implementing as a partial filter is not so easy; maybe this is not for good first then.

I'll look forward to some other task then!