From: Raimond Spekking Date: Tue, 26 Jun 2007 08:56:30 +0000 (+0000) Subject: * (bug 10334) Replace normal spaces before percent (%) signs with non-breaking spaces X-Git-Tag: 1.31.0-rc.0~52391 X-Git-Url: http://git.cyclocoop.org/data/%7B%24admin_url%7Dconfig?a=commitdiff_plain;h=1258d8bd59ac7a3eb270666289a6bef2d52fe018;p=lhc%2Fweb%2Fwiklou.git * (bug 10334) Replace normal spaces before percent (%) signs with non-breaking spaces --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d282786630..3a64870691 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -210,6 +210,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 10333) Correct date format in Slovenian * (bug 10160) Show error message for unknown namespace on Special:Allpages and Special:Prefixindex; making forms prettier for RTL wikis. +* (bug 10334) Replace normal spaces before percent (%) signs with non-breaking + spaces == API changes since 1.10 == diff --git a/includes/Parser.php b/includes/Parser.php index e4418cd51c..0f2b8e1e27 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -308,7 +308,7 @@ class Parser $fixtags = array( # french spaces, last one Guillemet-left # only if there is something before the space - '/(.) (?=\\?|:|;|!|\\302\\273)/' => '\\1 \\2', + '/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 \\2', # french spaces, Guillemet-right '/(\\302\\253) /' => '\\1 ', );