This does not work:
python pwb.py listpages -linter:misnested-tag -ns:Wikisource
But this does:
python pwb.py listpages -ns:Wikisource -linter:misnested-tag
The error from the former is :
Traceback (most recent call last): File "/opt/pywikibot/pwb.py", line 363, in <module> if not main(): File "/opt/pywikibot/pwb.py", line 355, in main run_python_file(filename, File "/opt/pywikibot/pwb.py", line 74, in run_python_file exec(compile(source, filename, 'exec', dont_inherit=True), File "./scripts/listpages.py", line 284, in <module> main() File "./scripts/listpages.py", line 216, in main gen_factory.handleArg(arg) File "/opt/pywikibot/pywikibot/pagegenerators.py", line 1207, in handleArg handler_result = handler(value) File "/opt/pywikibot/pywikibot/pagegenerators.py", line 900, in _handle_namespaces assert not isinstance(self._namespaces, frozenset) AssertionError CRITICAL: Exiting due to uncaught exception <class 'AssertionError'>
Other filters like -ql seems to work fine after the -linter parameter.
Version:
Pywikibot: [https] r-pywikibot-core.git (1a11f78, g14378, 2021/03/08, 18:42:14, master) Release version: 6.0.0.dev0