Index: trunk/extensions/ReplaceText/SpecialReplaceText.php |
— | — | @@ -98,10 +98,8 @@ |
99 | 99 | } |
100 | 100 | $jobs = array(); |
101 | 101 | foreach ( $wgRequest->getValues() as $key => $value ) { |
102 | | - if ( $value == '1' ) { |
103 | | - if ($key === 'replace') { |
104 | | - // ignore this value |
105 | | - } elseif ( strpos( $key, 'move-' ) !== false ) { |
| 102 | + if ( $value == '1' && $key !== 'replace' ) { |
| 103 | + if ( strpos( $key, 'move-' ) !== false ) { |
106 | 104 | $title = Title::newFromID( substr( $key, 5 ) ); |
107 | 105 | $replacement_params['move_page'] = true; |
108 | 106 | } else { |