https://bugzilla.wikimedia.org/show_bug.cgi?id=69455
Bug ID: 69455 Summary: pagegenerator filter grep can only be used once Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
As part of https://gerrit.wikimedia.org/r/#/c/153562/ (add save titles to replace.py), Mpaa says that 'listpages -grep' could be useful for the desired functionality, but it currently only allows one grep , so it does not work like replace.py
A test case:
$ python pwb.py listpages -page:"Polynesia Cup 1994" -page:"Pomeroy (surname)" -grep:tournament -grep:Pommery Retrieving 2 pages from wikipedia:en. 1: Pomeroy (surname)
https://bugzilla.wikimedia.org/show_bug.cgi?id=69455
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 153808 had a related patch set uploaded by Mpaa: Bug 69455-pagegenerator filter grep can only be used once
https://gerrit.wikimedia.org/r/153808
https://bugzilla.wikimedia.org/show_bug.cgi?id=69455
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=69455
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 153808 merged by jenkins-bot: Bug 69455-pagegenerator filter grep can only be used once
https://gerrit.wikimedia.org/r/153808
https://bugzilla.wikimedia.org/show_bug.cgi?id=69455
Mpaa mpaa.wiki@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED CC| |mpaa.wiki@gmail.com Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org