https://bugzilla.wikimedia.org/show_bug.cgi?id=55305
Web browser: --- Bug ID: 55305 Summary: swapped meaning of function parameter in movepages.py Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
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.