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@lists.wikimedia.org Reporter: mpaa.wiki@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']}
https://bugzilla.wikimedia.org/show_bug.cgi?id=67435
bep bjorn.erik.pedersen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bjorn.erik.pedersen@gmail.c | |om
--- Comment #1 from bep bjorn.erik.pedersen@gmail.com --- See related bug 57303 (likely same root cause).
https://bugzilla.wikimedia.org/show_bug.cgi?id=67435
JAn Dudík jan.dudik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jan.dudik@gmail.com
--- Comment #2 from JAn Dudík jan.dudik@gmail.com --- See [[bug:66976]] - maybe the same
https://bugzilla.wikimedia.org/show_bug.cgi?id=67435
--- Comment #3 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 150568 had a related patch set uploaded by Bep: Namespace filtering in template.py
https://gerrit.wikimedia.org/r/150568
https://bugzilla.wikimedia.org/show_bug.cgi?id=67435
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=67435
--- Comment #4 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 150568 merged by jenkins-bot: Namespace filtering in template.py
https://gerrit.wikimedia.org/r/150568
https://bugzilla.wikimedia.org/show_bug.cgi?id=67435
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricordisamoa@openmailbox.or | |g
--- Comment #5 from Ricordisamoa ricordisamoa@openmailbox.org --- https://gerrit.wikimedia.org/r/150568 merged, is this fixed?
https://bugzilla.wikimedia.org/show_bug.cgi?id=67435
Mpaa mpaa.wiki@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org