From: Tim Starling Date: Thu, 7 Aug 2008 04:32:46 +0000 (+0000) Subject: (Bug 15035) Revert linkTrail to /^([a-z]+)(.*)$/sD, as it was before r36253. Multiple... X-Git-Tag: 1.31.0-rc.0~46062 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=5b97a5bbf24f43132d13897c5a423119d8114b31;p=lhc%2Fweb%2Fwiklou.git (Bug 15035) Revert linkTrail to /^([a-z]+)(.*)$/sD, as it was before r36253. Multiple reports of breakage due to old (pre-5.0) PCRE libraries, both bundled with PHP and packaged with distros such as RHEL. --- diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 8e25c69229..0da931f75c 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -443,7 +443,7 @@ $specialPageAliases = array( * Regular expression matching the "link trail", e.g. "ed" in [[Toast]]ed, as * the first group, and the remainder of the string as the second group. */ -$linkTrail = '/^(\p{L&}+)(.*)$/usD'; +$linkTrail = '/^([a-z]+)(.*)$/sD'; /** * List of filenames for some ui images that can be overridden per language