Description
If InterWikiName is None subscribe of page fails in 1.5 patch level 122
local variable 'interWikiName' referenced before assignment If you want to report a bug, please save this page and attach it to your bug report. Show debugging information Report bug Visit MoinMoin wiki
/usr/lib/python2.3/site-packages/MoinMoin/user.py in subscribe (self=<MoinMoin.user.User instance>, pagename=u'HelpOnLanguages') 653 interWikiName = self._interWikiName(pagename) 654 655 if interWikiName not in self.subscribed_pages: 656 self.subscribed_pages.append(interWikiName) 657 self.save()
Sorry if this is the wrong place but I was providing a patch for my feature request FeatureRequests/NewPageSubscription when I came to this problem.
Steps to reproduce
Set the InterWikiName to None
Example
Details
MoinMoin Version |
1.5 Patch level 122 |
OS and Version |
linux |
Python Version |
2.3.5 |
Server Setup |
cgi-bin |
Server Details |
apache2 |
Workaround
Define interwikiname in wikiconfig.py
Discussion
Plan
- Priority:
- Assigned to:
- Status: fixed in patch-123