Bugs item #2955602, was opened at 2010-02-20 09:55 Message generated for change (Tracker Item Submitted) made by nakor-wikipedia You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2955602...
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: Open Resolution: None Priority: 5 Private: No Submitted By: Nakor Wikipedia (nakor-wikipedia) Assigned to: Nobody/Anonymous (nobody) Summary: page.templatesWithParams() is broken
Initial Comment: I updated pywikipedia and my working code is now broken. r7918 works fine, r7919 does not work
Traceback (most recent call last): File "/home/nakor/osm/pywikipedia/osm/relation_wiki.py", line 128, in <module> main() File "/home/nakor/osm/pywikipedia/osm/relation_wiki.py", line 44, in main templates=page.templatesWithParams() File "/home/nakor/osm/pywikipedia/wikipedia.py", line 2434, in templatesWithParams defaultKeys = self.site().siteinfo('magicwords')['defaultsort'] File "/home/nakor/osm/pywikipedia/wikipedia.py", line 6341, in siteinfo for entry in data[key]: KeyError: 'magicwords'
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2955602...