@@ -32,7 +32,7 @@ |
||
32 | 32 | $this->summary->memo['sites'][] = $this->externalPage->getPrettyDomainName(); // ??? |
33 | 33 | } |
34 | 34 | if (isset($mapData['accès url'])) { |
35 | - $this->log->debug('accès |
@@ -55,7 +55,7 @@ |
||
55 | 55 | // if carriage return </ref>\n<ref… outside that template, the ref-link appears on a new line => \n deleted |
56 | 56 | // regex option /u for unicode char catch "à<ref>" |
57 | 57 | $wikiText = preg_replace('#</ref>[\n\r\s]*<ref#u', '</ref>{{,}}<ref', $wikiText); |
58 | - $wikiText = preg_replace('#(<ref name=[^\/\>\r\n]+/>)[\n\r\s]*<ref#u', "$1" . '{{,}}<ref', $wikiText); |
|
58 | + $wikiText = preg_replace('#(<ref name=[^\/\>\r\n]+/>)[\n\r\s]*<ref#u', "$1".'{{,}}<ref', $wikiText); |
|
59 | 59 | |
60 | 60 | // {{Sfn|...}}{{Sfn|...}} |
61 | 61 | $wikiText = preg_replace('#(\{\{sfn[\s\|\n\r][^\{\}]+}})\s*(\{\{sfn[\s\|\n\r])#ui', '$1{{,}}$2', $wikiText); |