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)