From: Meno25 Date: Wed, 11 Mar 2009 18:26:30 +0000 (+0000) Subject: Add LinkTrail, patch by AhmadSherif X-Git-Tag: 1.31.0-rc.0~42520 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=8e8d87bf79088fc03a5f712e5912a1720324d73c;p=lhc%2Fweb%2Fwiklou.git Add LinkTrail, patch by AhmadSherif --- diff --git a/languages/messages/MessagesAr.php b/languages/messages/MessagesAr.php index 326facda61..22f03de1dd 100644 --- a/languages/messages/MessagesAr.php +++ b/languages/messages/MessagesAr.php @@ -372,6 +372,13 @@ $specialPageAliases = array( 'Tags' => 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. Modified to match + * Arabic trails too. + */ +$linkTrail = '/^([a-z\x{0600}-\x{06FF}]+)(.*)$/suD'; + $imageFiles = array( 'button-bold' => 'ar/button_bold.png', 'button-italic' => 'ar/button_italic.png',