if ( !$e1_img ) { $e1_img = "/^([{$tc}]+)\\|(.*)\$/sD"; }
# Match the end of a line for a word that's not followed by whitespace,
# e.g. in the case of 'The Arab al[[Razi]]', 'al' will be matched
- static $e2 = '/^(.*?)([a-zA-Z\x80-\xff]+)$/sD';
+ $e2 = wfMsgForContent( 'linkprefix' );
$useLinkPrefixExtension = $wgContLang->linkPrefixExtension();
'linktrail' => '/^([a-z]+)(.*)$/sD',
+'linkprefix' => '/^(.*?)([a-zA-Z\x80-\xff]+)$/sD',
'mainpage' => 'Main Page',
'mainpagetext' => 'Wiki software successfully installed.',
"mainpagedocfooter" => "Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]