Bugs item #3164394, was opened at 2011-01-23 21:41
Message generated for change (Settings changed) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=316439…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Merlijn S. van Deen (valhallasw)
Assigned to: Merlijn S. van Deen (valhallasw)
Summary: generate_family_file.py does not implement namespaces correc
Initial Comment:
Generate a family file, for instance
http://callofduty.wikia.com/wiki/Call_of_Duty_Wiki as
codwiki
>> import wikipedia
>> wikipedia.getSite('en', 'codwiki').family.namespace('en',
2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "family.py", line 3589, in namespace
raise KeyError('ERROR: title for namespace %d in language %s unknown' %
(ns_number, code))
KeyError: 'ERROR: title for namespace 2 in language en unknown'
Expected result was:
u'User'
This was introduced in r8421.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2011-01-23 21:54
Message:
Fixed in r8883.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=316439…