https://bugzilla.wikimedia.org/show_bug.cgi?id=67249
Bug ID: 67249 Summary: NewpagesPageGenerator cannot be filtered on namespace from cmd line Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: pagegenerators Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: mpaa.wiki@gmail.com Web browser: --- Mobile Platform: ---
It is not possible to filter newpages by namespace. -. NamespaceFilterPageGenerator has no effect as NewpagesPageGenerator has a default value of 0 so retrieves only from Main ns. -. self.gens[i].set_namespace(namespaces) has no effect as NewpagesPageGenerator is a plain gen
Default value of NewpagesPageGenerator should be None.
https://bugzilla.wikimedia.org/show_bug.cgi?id=67249
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 142823 had a related patch set uploaded by Mpaa: Bug 67249: allow filtering of newpages by ns
https://gerrit.wikimedia.org/r/142823
https://bugzilla.wikimedia.org/show_bug.cgi?id=67249
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=67249
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 151307 had a related patch set uploaded by Mpaa: Bug 67249: allow filtering of newpages by ns
https://gerrit.wikimedia.org/r/151307
https://bugzilla.wikimedia.org/show_bug.cgi?id=67249
--- Comment #3 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 151307 merged by jenkins-bot: Bug 67249: allow filtering of newpages by ns
https://gerrit.wikimedia.org/r/151307
https://bugzilla.wikimedia.org/show_bug.cgi?id=67249
--- Comment #4 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 142823 abandoned by Mpaa: Bug 67249: allow filtering of newpages by ns
Reason: This was merged as I20a4b04bb8f30cd750d43856a89cdf471898f84e
https://gerrit.wikimedia.org/r/142823
https://bugzilla.wikimedia.org/show_bug.cgi?id=67249
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jan.dudik@gmail.com
--- Comment #5 from Ricordisamoa ricordisamoa@openmailbox.org --- *** Bug 66976 has been marked as a duplicate of this bug. ***
https://bugzilla.wikimedia.org/show_bug.cgi?id=67249
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricordisamoa@openmailbox.or | |g
--- Comment #6 from Ricordisamoa ricordisamoa@openmailbox.org --- https://gerrit.wikimedia.org/r/151307/ merged, is this fixed?
https://bugzilla.wikimedia.org/show_bug.cgi?id=67249
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|NewpagesPageGenerator |NewpagesPageGenerator |cannot be filtered on |cannot be filtered by |namespace from cmd line |namespace from command line
https://bugzilla.wikimedia.org/show_bug.cgi?id=67249
Mpaa mpaa.wiki@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Mpaa mpaa.wiki@gmail.com --- Partially fixed with a workaround. Propr solution would probably require a redesign of args handling.
pywikipedia-bugs@lists.wikimedia.org