r42755 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42754‎ | r42755 | r42756 >
Date:01:28, 29 October 2008
Author:soxred93
Status:old
Tags:
Comment:
Might want to make it possible by posting, though.
Modified paths:
  • /trunk/extensions/Renameuser/SpecialRenameuser_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Renameuser/SpecialRenameuser_body.php
@@ -56,10 +56,15 @@
5757 $move_checked = true;
5858 $reserve_checked = false;
5959 if( $wgRequest->wasPosted() ) {
60 - if( !$wgRequest->getCheck( 'movepages' ) )
 60+ if( !$wgRequest->getCheck( 'movepages' ) ) {
6161 $move_checked = false;
62 - if( !$wgRequest->getCheck( 'reservename' ) )
 62+ }
 63+ if( !$wgRequest->getCheck( 'reservename' ) ) {
6364 $reserve_checked = false;
 65+ }
 66+ else {
 67+ $reserve_checked = true;
 68+ }
6469 }
6570 $warnings = array();
6671 if( $oun && $nun && !$wgRequest->getCheck( 'confirmaction' ) ) {

Status & tagging log