From 396b28f3d881f5debd888ba9bb9b47c2d478a76f Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 15 Dec 2008 18:02:47 +0100 Subject: update to Mediawiki 1.13.3; some cleanups --- languages/LanguageFy.php | 121 ----------------------------------------------- 1 file changed, 121 deletions(-) delete mode 100644 languages/LanguageFy.php (limited to 'languages/LanguageFy.php') diff --git a/languages/LanguageFy.php b/languages/LanguageFy.php deleted file mode 100644 index 84f381d8..00000000 --- a/languages/LanguageFy.php +++ /dev/null @@ -1,121 +0,0 @@ - 'Standert', - 'nostalgia' => 'Nostalgy', - ); - - private $mDateFormatsFy = array( - 'Gjin foarkar', - '16.12, jan 15, 2001', - '16.12, 15 jan 2001', - '16.12, 2001 jan 15', - 'ISO 8601' => '2001-01-15 16:12:34' - ); - - function __construct() { - parent::__construct(); - - global $wgAllMessagesFy; - $this->mMessagesFy =& $wgAllMessagesFy; - - global $wgMetaNamespace; - $this->mNamespaceNamesFy = array( - NS_MEDIA => 'Media', - NS_SPECIAL => 'Wiki', - NS_MAIN => '', - NS_TALK => 'Oerlis', - NS_USER => 'Meidogger', - NS_USER_TALK => 'Meidogger_oerlis', - NS_PROJECT => $wgMetaNamespace, - NS_PROJECT_TALK => $wgMetaNamespace . '_oerlis', - NS_IMAGE => 'Ofbyld', - NS_IMAGE_TALK => 'Ofbyld_oerlis', - NS_MEDIAWIKI => 'MediaWiki', - NS_MEDIAWIKI_TALK => 'MediaWiki_oerlis', - NS_TEMPLATE => 'Berjocht', - NS_TEMPLATE_TALK => 'Berjocht_oerlis', - NS_HELP => 'Hulp', - NS_HELP_TALK => 'Hulp_oerlis', - NS_CATEGORY => 'Kategory', - NS_CATEGORY_TALK => 'Kategory_oerlis' - ); - - } - - function getNamespaces() { - return $this->mNamespaceNamesFy + parent::getNamespaces(); - } - - function getQuickbarSettings() { - return $this->mQuickbarSettingsFy; - } - - function getSkinNames() { - return $this->mSkinNamesFy + parent::getSkinNames(); - } - - function getDateFormats() { - return $this->mDateFormatsFy; - } - - function getMessage( $key ) { - if( isset( $this->mMessagesFy[$key] ) ) { - return $this->mMessagesFy[$key]; - } else { - return parent::getMessage( $key ); - } - } - - function getAllMessages() { - return $this->mMessagesFy; - } - - function getNsIndex( $text ) { - foreach ( $this->mNamespaceNamesFy as $i => $n ) { - if ( 0 == strcasecmp( $n, $text ) ) { return $i; } - } - if ( 0 == strcasecmp( "Brûker", $text ) ) return 2; - if ( 0 == strcasecmp( "Brûker_oerlis", $text ) ) return 3; - return false; - } - - function timeSeparator( $format ) { - return '.'; - } - - function formatMonth( $month, $format ) { - return $this->getMonthAbbreviation( $month ); - } - - function separatorTransformTable() { - return array(',' => '.', '.' => ',' ); - } - - function linkTrail() { - return '/^([a-zàáèéìíòóùúâêîôûäëïöü]+)(.*)$/sDu'; - } - -} - -?> -- cgit v1.2.2