Last modified: 2014-08-19 18:19:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69435, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67435 - namespace param in template.py has no effect
namespace param in template.py has no effect
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-02 20:43 UTC by Mpaa
Modified: 2014-08-19 18:19 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mpaa 2014-07-02 20:43:35 UTC
>>> 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']}
Comment 1 bep 2014-07-29 18:21:10 UTC
See related bug 57303 (likely same root cause).
Comment 2 JAn Dudík 2014-07-29 19:44:44 UTC
See [[bug:66976]] - maybe the same
Comment 3 Gerrit Notification Bot 2014-07-30 23:40:08 UTC
Change 150568 had a related patch set uploaded by Bep:
Namespace filtering in template.py

https://gerrit.wikimedia.org/r/150568
Comment 4 Gerrit Notification Bot 2014-07-30 23:58:13 UTC
Change 150568 merged by jenkins-bot:
Namespace filtering in template.py

https://gerrit.wikimedia.org/r/150568
Comment 5 Ricordisamoa 2014-08-08 09:30:59 UTC
https://gerrit.wikimedia.org/r/150568 merged, is this fixed?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links