r38751 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38750‎ | r38751 | r38752 >
Date:04:32, 7 August 2008
Author:tstarling
Status:old
Tags:
Comment:
(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.
Modified paths:
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -443,7 +443,7 @@
444444 * Regular expression matching the "link trail", e.g. "ed" in [[Toast]]ed, as
445445 * the first group, and the remainder of the string as the second group.
446446 */
447 -$linkTrail = '/^(\p{L&}+)(.*)$/usD';
 447+$linkTrail = '/^([a-z]+)(.*)$/sD';
448448
449449 /**
450450 * List of filenames for some ui images that can be overridden per language

Follow-up revisions

RevisionCommit summaryAuthorDate
r38837Backported the following:...tstarling04:02, 8 August 2008
r39063* (bug 15105) Restoring polish linktrail due to r38751...nikerabbit10:44, 10 August 2008

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r36253Amendment to r36250....dantman02:47, 13 June 2008

Status & tagging log