Index: trunk/extensions/ReplaceText/SpecialReplaceText.php |
— | — | @@ -66,8 +66,9 @@ |
67 | 67 | $replacement_params['target_str'] = $target_str; |
68 | 68 | $replacement_params['replacement_str'] = $replacement_str; |
69 | 69 | $replacement_params['edit_summary'] = wfMsgForContent('replacetext_editsummary', $target_str, $replacement_str); |
| 70 | + $jobs = array(); |
70 | 71 | foreach ($wgRequest->getValues() as $key => $value) { |
71 | | - if ($value == 'on') { |
| 72 | + if ($value == '1') { |
72 | 73 | if (strpos($key, 'move-') !== false) { |
73 | 74 | $title = Title::newFromId(substr($key, 5)); |
74 | 75 | $replacement_params['move_page'] = true; |