r10318 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r10317‎ | r10318 | r10319 >
Date:20:06, 30 July 2005
Author:avar
Status:old
Tags:
Comment:
* linkprefix support
Modified paths:
  • /trunk/phase3/languages/LanguageIs.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/LanguageIs.php
@@ -69,6 +69,7 @@
7070
7171 $wgAllMessagesIs = array(
7272 'linktrail' => '/^([áðéíóúýþæöa-z-–]+)(.*)$/sDu',
 73+'linkprefix'=> '/^(.*?)([áÁðÐéÉíÍóÓúÚýÝþÞæÆöÖA-Za-z-–]+)$/sDu',
7374
7475 '1movedto2' => "$1 færð á $2",
7576 '1movedto2_redir' => "$1 færð á $2 yfir tilvísun",
@@ -833,6 +834,10 @@
834835 function formatNum( $number, $year = false ) {
835836 return $year ? $number : strtr($this->commafy($number), '.,', ',.' );
836837 }
 838+
 839+ function linkPrefixExtension() {
 840+ return true;
 841+ }
837842 }
838843
839844 ?>

Status & tagging log