Tokencolour added a comment.

would this pattern work?
$ python pwb.py listpages -listify:<path/to/directory>
I'll include subcategories and talkpages and the recurse property so that it 
yields almost all articles in the category as they appear when we pipe the 
results using CategoryListifyRobot into a webpage. Furthermore, as you suggest, 
I will properly integrate it with rest of the script i.e. I won't make a new 
class for it. I'll collect all the articles and write it into a file in the 
directory given in the arguments and I shall do both these things in the main 
function itself, but before a generator is invoked, since we won't need a 
generator for -listify option. Should I continue with this approach?


TASK DETAIL
  https://phabricator.wikimedia.org/T57102

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Tokencolour
Cc: gerritbot, XZise, jayvdb, Mpaa, Aklapper, Tokencolour, Legoktm, 
pywikibot-bugs-list, Ladsgroup, 01tonythomas



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to