Daviskr created this task.
Daviskr added a subscriber: Daviskr.
Daviskr added a project: Pywikibot-pagegenerators.
TASK DESCRIPTION
When `-titleregex` is called with a namespace other than 0 (with GeneratorFactory), no pages are returned. Only pages with namespace 0 are ever returned.
In GeneratorFactory, `-titleregex` calls `RegexFilterPageGenerator` (wich is really `RegexFilter.titlefilter`) with an argument of `site.allpages()`. `allpages` defaults to namespace 0. When `getCombinedGenerator()` is called, the generator (already filled with namespaces of 0) is not considered a `pywikibot.data.api.QueryGenerator` and is filtered out with `NamespaceFilterPageGenerator` for the appropriate namespaces, either resulting empty results or only with namespaces 0.
TASK DETAIL
https://phabricator.wikimedia.org/T85389
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Daviskr
Cc: Aklapper, Daviskr, pywikipedia-bugs
jayvdb reopened this task as "Open".
jayvdb added a subscriber: jayvdb.
jayvdb added a comment.
Keeping the original bug; the other one can be re-purposed.
TASK DETAIL
https://phabricator.wikimedia.org/T57226
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: pywikipedia-bugs, Ladsgroup, Legoktm, Ricordisamoa, jayvdb
Ricordisamoa closed this task as a duplicate of T85389: '-titleregex' does not handle namespaces other than 0.
TASK DETAIL
https://phabricator.wikimedia.org/T57226
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ricordisamoa
Cc: pywikipedia-bugs, Ladsgroup, Legoktm, Ricordisamoa