X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FInstallDocFormatter.php;h=4163e2f958f9dc4ce2e04d710a982f37d447b1d4;hb=bc12345f4bb7893030c31e1133abc4b20153f59b;hp=0d52e64da4af91af36c6e8b8b7b7b2109cb587b3;hpb=4d78d40d821227a9368e87306f447ffd3be5db88;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/InstallDocFormatter.php b/includes/installer/InstallDocFormatter.php index 0d52e64da4..4163e2f958 100644 --- a/includes/installer/InstallDocFormatter.php +++ b/includes/installer/InstallDocFormatter.php @@ -34,8 +34,8 @@ class InstallDocFormatter { protected function execute() { $text = $this->text; // Use Unix line endings, escape some wikitext stuff - $text = str_replace( array( '<', '{{', '[[', '__', "\r" ), - array( '<', '{{', '[[', '__', '' ), $text ); + $text = str_replace( [ '<', '{{', '[[', '__', "\r" ], + [ '<', '{{', '[[', '__', '' ], $text ); // join word-wrapped lines into one do { $prev = $text;