From 1c81a1cc83894338528eeef682b140600d6015ef Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 1 Aug 2008 09:44:47 +0000 Subject: [PATCH] * (bug 14987) Only fix double redirects on page move when the checkbox is checked --- includes/specials/SpecialMovepage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index 9f8bd3e89b..85a4d64e3b 100644 --- a/includes/specials/SpecialMovepage.php +++ b/includes/specials/SpecialMovepage.php @@ -67,12 +67,13 @@ class MovePageForm { $this->reason = $wgRequest->getText( 'wpReason' ); if ( $wgRequest->wasPosted() ) { $this->moveTalk = $wgRequest->getBool( 'wpMovetalk', false ); + $this->fixRedirects = $wgRequest->getBool( 'wpFixRedirects', false ); } else { $this->moveTalk = $wgRequest->getBool( 'wpMovetalk', true ); + $this->fixRedirects = $wgRequest->getBool( 'wpFixRedirects', true ); } $this->moveSubpages = $wgRequest->getBool( 'wpMovesubpages', false ); $this->deleteAndMove = $wgRequest->getBool( 'wpDeleteAndMove' ) && $wgRequest->getBool( 'wpConfirm' ); - $this->fixRedirects = $wgRequest->getBool( 'wpFixRedirects', true ); $this->watch = $wgRequest->getCheck( 'wpWatch' ); } -- 2.20.1