Index: trunk/extensions/DynamicPageList/DPL.php |
— | — | @@ -513,10 +513,10 @@ |
514 | 514 | function updateArticleByRule($title,$text,$rulesText) { |
515 | 515 | // we use ; as command delimiter; \; stands for a semicolon |
516 | 516 | // \n is translated to a real linefeed |
517 | | - $rulesText = str_replace(";",'?,$rulesText); |
518 | | - $rulesText = str_replace('\?,';',$rulesText); |
| 517 | + $rulesText = str_replace(";",'?',$rulesText); |
| 518 | + $rulesText = str_replace('\?',';',$rulesText); |
519 | 519 | $rulesText = str_replace("\\n","\n",$rulesText); |
520 | | - $rules=split('?,$rulesText); |
| 520 | + $rules=split('?',$rulesText); |
521 | 521 | $exec=false; |
522 | 522 | $replaceThis=''; |
523 | 523 | $replacement=''; |
— | — | @@ -606,10 +606,10 @@ |
607 | 607 | function deleteArticleByRule($title,$text,$rulesText) { |
608 | 608 | // we use ; as command delimiter; \; stands for a semicolon |
609 | 609 | // \n is translated to a real linefeed |
610 | | - $rulesText = str_replace(";",'?,$rulesText); |
611 | | - $rulesText = str_replace('\?,';',$rulesText); |
| 610 | + $rulesText = str_replace(";",'?',$rulesText); |
| 611 | + $rulesText = str_replace('\?',';',$rulesText); |
612 | 612 | $rulesText = str_replace("\\n","\n",$rulesText); |
613 | | - $rules=split('?,$rulesText); |
| 613 | + $rules=split('?',$rulesText); |
614 | 614 | $exec=false; |
615 | 615 | $message= ''; |
616 | 616 | $reason=''; |