XZise added a comment. Isn't it already possible to also get subcategories using `-subcats`/`-subcatsr`? Now with regard to the talkpages @jayvdb afaik suggested to make the `pywikibot.pagegenerators.PageWithTalkPageGenerator` visible via the command line so that you can use it's generator. But I don't think that'll be useful for the formatter as the it only works on one page at a time.
So personally, adding a way to also handle the talk pages is more suitable. You just need to enhance the formatter to also provide variables for the talk page. There is Gerrit 239682 <https://gerrit.wikimedia.org/r/#/c/239682> upon this could be build. Or we have a proxy class for page instances and the format gets two of those to provide a proxy for each page “variant” (non-talk page and talk page). So that instead of the entries `site`, `title` there are `site`, `page.title` and `talk.title`. Maybe we could coordinate and I implement the proxy class in my patch and you provide the talkpage related part (aka creating a proxy instance and providing that) in your patch. But still I think we don't need an option to save it to disc for `listpages`. I can understand that it's suggested for `category listify` as that saves the list to the wiki, but that `category listify` is mostly redundant with `listpages` and so it was suggested to deprecate the former. But `listpages` prints the output to the console so you can use redirection (as I've shown above) so that doesn't need it. Now in case others disagree and they want that option, please don't use an option like `-listify` because that doesn't describe what it does. Maybe something like `-tofile` instead (`-file` is already used by pagegenerators). TASK DETAIL https://phabricator.wikimedia.org/T57102 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise 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
