Liangent has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/82887


Change subject: Add plain colon and semicolons to wfEscapeWikitext().
......................................................................

Add plain colon and semicolons to wfEscapeWikitext().

It's a part of language conversion syntax, even when not used at
beginning of lines.

Change-Id: I848b6d13096887d51618f2694da93b6d65c0376e
---
M includes/GlobalFunctions.php
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/87/82887/1

diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php
index 9a7f62b..2b70faa 100644
--- a/includes/GlobalFunctions.php
+++ b/includes/GlobalFunctions.php
@@ -2016,10 +2016,9 @@
                        '"' => '&#34;', '&' => '&#38;', "'" => '&#39;', '<' => 
'&#60;',
                        '=' => '&#61;', '>' => '&#62;', '[' => '&#91;', ']' => 
'&#93;',
                        '{' => '&#123;', '|' => '&#124;', '}' => '&#125;',
+                       ':' => '&#58;', ';' => '&#59;',
                        "\n#" => "\n&#35;", "\r#" => "\r&#35;",
                        "\n*" => "\n&#42;", "\r*" => "\r&#42;",
-                       "\n:" => "\n&#58;", "\r:" => "\r&#58;",
-                       "\n;" => "\n&#59;", "\r;" => "\r&#59;",
                        "\n " => "\n&#32;", "\r " => "\r&#32;",
                        '__' => '_&#95;', '://' => '&#58;//',
                );

-- 
To view, visit https://gerrit.wikimedia.org/r/82887
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I848b6d13096887d51618f2694da93b6d65c0376e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Liangent <liang...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to