Bugs item #1898827, was opened at 2008-02-21 10:30 Message generated for change (Comment added) made by russblau You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1898827...
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: interwiki Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Hugo.arg (hugoarg) Assigned to: Nobody/Anonymous (nobody) Summary: pms wiki bug
Initial Comment: There is a bug at interwiki.py. When my bot adds any interwiki link to Piemonteis (pms) wikipedia, bot stops work and shows following message:
Changing page [[pms:Ligurin]] Dump pms (wikipedia) saved Traceback (most recent call last): File "C:\Python25\pywikipedia\interwiki.py", line 1645, in <module> bot.run() File "C:\Python25\pywikipedia\interwiki.py", line 1409, in run self.queryStep() File "C:\Python25\pywikipedia\interwiki.py", line 1388, in queryStep subj.finish(self) File "C:\Python25\pywikipedia\interwiki.py", line 976, in finish if self.replaceLinks(page, new, bot): File "C:\Python25\pywikipedia\interwiki.py", line 1127, in replaceLinks status, reason, data = page.put(newtext, comment = wikipedia.translate(page. site().lang, msg)[0] + mods) File "C:\Python25\pywikipedia\wikipedia.py", line 1215, in put return self._putPage(newtext, comment, watchArticle, minorEdit, newPage, sel f.site().getToken(sysop = sysop), sysop = sysop) File "C:\Python25\pywikipedia\wikipedia.py", line 1307, in _putPage if self.site().has_mediawiki_message("spamprotectiontitle")\ File "C:\Python25\pywikipedia\wikipedia.py", line 4302, in has_mediawiki_messa ge v = self.mediawiki_message(key) File "C:\Python25\pywikipedia\wikipedia.py", line 4258, in mediawiki_message value = tree.textarea.string.strip() AttributeError: 'NoneType' object has no attribute 'strip'
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2008-02-22 08:14
Message: Logged In: YES user_id=855050 Originator: NO
fixed in r5069. The bug was triggered because an admin on wiki:pms blanked the contents of [[MediaWiki:Spamprotectiontitle]] but didn't delete the page.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1898827...
pywikipedia-l@lists.wikimedia.org