mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-15 19:09:27 +00:00
Fixed bug introduced in version 3.1
This commit is contained in:
parent
fd7e35c9ce
commit
f35862cebf
Notes:
Yaron Koren
2009-07-20 18:49:29 +00:00
|
@ -66,8 +66,9 @@ function doSpecialReplaceText() {
|
|||
$replacement_params['target_str'] = $target_str;
|
||||
$replacement_params['replacement_str'] = $replacement_str;
|
||||
$replacement_params['edit_summary'] = wfMsgForContent('replacetext_editsummary', $target_str, $replacement_str);
|
||||
$jobs = array();
|
||||
foreach ($wgRequest->getValues() as $key => $value) {
|
||||
if ($value == 'on') {
|
||||
if ($value == '1') {
|
||||
if (strpos($key, 'move-') !== false) {
|
||||
$title = Title::newFromId(substr($key, 5));
|
||||
$replacement_params['move_page'] = true;
|
||||
|
|
Loading…
Reference in a new issue