https://bugzilla.wikimedia.org/show_bug.cgi?id=67435
Bug ID: 67435
Summary: namespace param in template.py has no effect
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: mpaa.wiki(a)gmail.com
Web browser: ---
Mobile Platform: ---
>> python pwb.py template.py
"definition" "tooltip" -ns:104
Also pages from other namespaces are shown.
Namespaces are set through genFactory but genFactory has no gens, as pages are
defined by pagegenerators.ReferringPageGenerator to templates.
(Pdb) gen = genFactory.getCombinedGenerator()
(Pdb) gen
(Pdb) vars(genFactory)
{'articlefilter': None, 'gens': [], 'site': Site("en",
"wikisource"), 'step':
None, 'limit': None, 'namespaces': [u'104']}
--
You are receiving this mail because:
You are the assignee for the bug.