Add LinkTrail, patch by AhmadSherif
authorMeno25 <mfarag@users.mediawiki.org>
Wed, 11 Mar 2009 18:26:30 +0000 (18:26 +0000)
committerMeno25 <mfarag@users.mediawiki.org>
Wed, 11 Mar 2009 18:26:30 +0000 (18:26 +0000)
languages/messages/MessagesAr.php

index 326facd..22f03de 100644 (file)
@@ -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',