Page MenuHomePhabricator

swapped meaning of function parameter in movepages.py
Closed, ResolvedPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/947/
Reported by: falk_steinhauer
Created on: 2009-05-19 23:23:39
Subject: swapped meaning of function parameter in movepages.py
Original description:
revision 6906 of movepages.py swaps the meaning of the last function parameter of page.move\(newPageTitle, msg, throttle=True, leaveRedirect=self.noredirect\).

"leaveRedirect" has the opposite meaning of "noredirect".

When running movepages.py directly the error is compensated, but importing movepages in own scripts leads to problems with the swapped meaning.


Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/947

Details

Reference
bz55305