Bugs item #1780332, was opened at 2007-08-23 17:08 Message generated for change (Comment added) made by valhallasw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1780332...
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: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: page.put refuses to edit redirects
Initial Comment: As of rev 4096, page.put raises IsRedirectPage whenever page is a redirect page:
File "./nsrw-move.py", line 79, in ? page.put(overwrite, oversumm, minorEdit = False) File "wikipedia.py", line 1056, in put if not self.botMayEdit(): File "wikipedia.py", line 753, in botMayEdit txt = self.get(); File "wikipedia.py", line 519, in get self._contents, self._isWatched, self.editRestriction = self.getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop, nofollow_redirects=nofollow_redirects) File "wikipedia.py", line 663, in getEditPage raise IsRedirectPage(redirtarget)
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2007-08-23 17:50
Message: Logged In: YES user_id=687283 Originator: NO
Fixed in r4098. Sorry for the inconvenience (:
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1780332...
pywikipedia-l@lists.wikimedia.org