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: [email protected]
          Reporter: [email protected]
       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 on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to