r45874 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45873‎ | r45874 | r45875 >
Date:16:22, 18 January 2009
Author:yaron
Status:deferred
Tags:
Comment:
Fixed bug introduced in version 3.1
Modified paths:
  • /trunk/extensions/ReplaceText/SpecialReplaceText.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ReplaceText/SpecialReplaceText.php
@@ -66,8 +66,9 @@
6767 $replacement_params['target_str'] = $target_str;
6868 $replacement_params['replacement_str'] = $replacement_str;
6969 $replacement_params['edit_summary'] = wfMsgForContent('replacetext_editsummary', $target_str, $replacement_str);
 70+ $jobs = array();
7071 foreach ($wgRequest->getValues() as $key => $value) {
71 - if ($value == 'on') {
 72+ if ($value == '1') {
7273 if (strpos($key, 'move-') !== false) {
7374 $title = Title::newFromId(substr($key, 5));
7475 $replacement_params['move_page'] = true;

Status & tagging log