Index: trunk/extensions/Renameuser/Renameuser_body.php |
— | — | @@ -47,7 +47,7 @@ |
48 | 48 | $token = $wgUser->editToken(); |
49 | 49 | $reason = $wgRequest->getText( 'reason' ); |
50 | 50 | |
51 | | - $move_checked = $wgRequest->getCheck( 'movepages' ); |
| 51 | + $move_checked = $wgRequest->getBool( 'movepages', !$wgRequest->wasPosted()); |
52 | 52 | $suppress_checked = $wgRequest->getCheck( 'suppressredirect' ); |
53 | 53 | |
54 | 54 | $warnings = array(); |