From: Liangent Date: Thu, 5 Sep 2013 19:21:11 +0000 (+0000) Subject: Add plain semicolons to wfEscapeWikitext(). X-Git-Tag: 1.31.0-rc.0~18795^2 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=01240e5eb484c6a9365400299b0d8fbaf8ec1ee8;p=lhc%2Fweb%2Fwiklou.git Add plain semicolons to wfEscapeWikitext(). It's a part of language conversion syntax, even when not used at beginning of lines. Change-Id: I848b6d13096887d51618f2694da93b6d65c0376e --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 9a7f62b70c..e65963c1e7 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2015,11 +2015,10 @@ function wfEscapeWikiText( $text ) { $repl = array( '"' => '"', '&' => '&', "'" => ''', '<' => '<', '=' => '=', '>' => '>', '[' => '[', ']' => ']', - '{' => '{', '|' => '|', '}' => '}', + '{' => '{', '|' => '|', '}' => '}', ';' => ';', "\n#" => "\n#", "\r#" => "\r#", "\n*" => "\n*", "\r*" => "\r*", "\n:" => "\n:", "\r:" => "\r:", - "\n;" => "\n;", "\r;" => "\r;", "\n " => "\n ", "\r " => "\r ", '__' => '__', '://' => '://', );