jayvdb added a comment.
This problem isnt just a command line problem; interwiki.py says it can handle multiple -namespace with -new, but in fact it only handles one normally. If two or more -namespace are used, the script fails because it uses NewpagesPageGenerator(.., namespaces='all' ) which doesnt work. It then has a NamespaceFilterPageGenerator to filter the output of NewpagesPageGenerator to the namespaces selected on the command line, which would be inefficient, but of course the code fails before it gets to do this filtering.
TASK DETAIL https://phabricator.wikimedia.org/T85272
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: Aklapper, pywikipedia-bugs