[Pywikipedia-l] [ pywikipediabot-Bugs-1965842 ] Modern skin not usable

SourceForge.net noreply at sourceforge.net
Sat May 17 07:38:19 UTC 2008


Bugs item #1965842, was opened at 2008-05-17 09:34
Message generated for change (Comment added) made by melancholie
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1965842&group_id=93107

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: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: Modern skin not usable

Initial Comment:
The MediaWiki skin 'modern' does not have that much HTML cruft around the actual content. Thus there would be a little bit less bot traffic with this skin.

But I cannot use that skin with pyWikipedia! Error message:

Traceback (most recent call last):
  File "interwiki.py", line 1731, in ?
    bot.run()
  File "interwiki.py", line 1482, in run
    self.queryStep()
  File "interwiki.py", line 1461, in queryStep
    subj.finish(self)
  File "interwiki.py", line 1042, in finish
    if self.replaceLinks(page, new, bot):
  File "interwiki.py", line 1200, in replaceLinks
    status, reason, data = page.put(newtext, comment = wikipedia.translate(page.site().lang, msg)[0] + mods)
  File "wikipedia.py", line 1222, in put
    sysop = self._getActionUser(action = 'edit', restriction = self.editRestriction, sysop = False)
  File "wikipedia.py", line 1114, in _getActionUser
    if not self.site().isAllowed(action, sysop):
  File "wikipedia.py", line 4013, in isAllowed
    return right in self._rights[index]
TypeError: iterable argument required

----------------------------------------------------------------------

>Comment By: Melancholie (melancholie)
Date: 2008-05-17 09:38

Message:
Logged In: YES 
user_id=2089773
Originator: YES

After ~manipulating~ line 4013, the following message is shown:

ERROR: Unexpected response from wiki server.
       200 (OK)
[...edit view...]

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1965842&group_id=93107



More information about the Pywikipedia-l mailing list