https://bugzilla.wikimedia.org/show_bug.cgi?id=71089
Bug ID: 71089 Summary: Add the -mysqlquery option to pagegenerators.py 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: maarten@mdammers.nl Web browser: --- Mobile Platform: ---
pagegenerators.py should be modified so that you can give -mysqlquery:"<some query" at the commandline.
The query should be passed to def MySQLPageGenerator(query, site=None):