Index: trunk/phase3/includes/Parser.php |
— | — | @@ -1213,7 +1213,7 @@ |
1214 | 1214 | if ( !$e1_img ) { $e1_img = "/^([{$tc}]+)\\|(.*)\$/sD"; } |
1215 | 1215 | # Match the end of a line for a word that's not followed by whitespace, |
1216 | 1216 | # e.g. in the case of 'The Arab al[[Razi]]', 'al' will be matched |
1217 | | - static $e2 = '/^(.*?)([a-zA-Z\x80-\xff]+)$/sD'; |
| 1217 | + $e2 = wfMsgForContent( 'linkprefix' ); |
1218 | 1218 | |
1219 | 1219 | $useLinkPrefixExtension = $wgContLang->linkPrefixExtension(); |
1220 | 1220 | |
Index: trunk/phase3/languages/Language.php |
— | — | @@ -352,6 +352,7 @@ |
353 | 353 | |
354 | 354 | |
355 | 355 | 'linktrail' => '/^([a-z]+)(.*)$/sD', |
| 356 | +'linkprefix' => '/^(.*?)([a-zA-Z\x80-\xff]+)$/sD', |
356 | 357 | 'mainpage' => 'Main Page', |
357 | 358 | 'mainpagetext' => 'Wiki software successfully installed.', |
358 | 359 | "mainpagedocfooter" => "Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface] |