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/LanguageCa.php | 103 ----------------------------------------------- 1 file changed, 103 deletions(-) delete mode 100644 languages/LanguageCa.php (limited to 'languages/LanguageCa.php') diff --git a/languages/LanguageCa.php b/languages/LanguageCa.php deleted file mode 100644 index caa86ed5..00000000 --- a/languages/LanguageCa.php +++ /dev/null @@ -1,103 +0,0 @@ - "Estàndard", - 'nostalgia' => "Nostàlgia", - 'cologneblue' => "Colònia blava", - ); - - private $mBookstoreListCa = array( - 'Catàleg Col·lectiu de les Universitats de Catalunya' => 'http://ccuc.cbuc.es/cgi-bin/vtls.web.gateway?searchtype=control+numcard&searcharg=$1', - 'Totselsllibres.com' => 'http://www.totselsllibres.com/tel/publi/busquedaAvanzadaLibros.do?ISBN=$1', - ); - - function __construct() { - parent::__construct(); - - global $wgAllMessagesCa; - $this->mMessagesCa =& $wgAllMessagesCa; - - global $wgMetaNamespace; - $this->mNamespaceNamesCa = array( - NS_MEDIA => 'Media', - NS_SPECIAL => 'Especial', - NS_MAIN => '', - NS_TALK => 'Discussió', - NS_USER => 'Usuari', - NS_USER_TALK => 'Usuari_Discussió', - NS_PROJECT => $wgMetaNamespace, - NS_PROJECT_TALK => $wgMetaNamespace.'_Discussió', - NS_IMAGE => 'Imatge', - NS_IMAGE_TALK => 'Imatge_Discussió', - NS_MEDIAWIKI => 'MediaWiki', - NS_MEDIAWIKI_TALK => 'MediaWiki_Discussió', - NS_TEMPLATE => 'Plantilla', - NS_TEMPLATE_TALK => 'Plantilla_Discussió', - NS_HELP => 'Ajuda', - NS_HELP_TALK => 'Ajuda_Discussió', - NS_CATEGORY => 'Categoria', - NS_CATEGORY_TALK => 'Categoria_Discussió' - ); - } - - function getNamespaces() { - return $this->mNamespaceNamesCa + parent::getNamespaces(); - } - - function getQuickbarSettings() { - return $this->mQuickbarSettingsCa; - } - - function getSkinNames() { - return $this->mSkinNamesCa + parent::getSkinNames(); - } - - function getBookstoreList () { - return $this->mBookstoreListCa + parent::getBookstoreList(); - } - - function getMessage( $key ) { - if( isset( $this->mMessagesCa[$key] ) ) { - return $this->mMessagesCa[$key]; - } else { - return parent::getMessage( $key ); - } - } - - function getAllMessages() { - return $this->mMessagesCa; - } - - function formatMonth( $month, $format ) { - return $this->getMonthAbbreviation( $month ); - } - - function separatorTransformTable() { - return array(',' => '.', '.' => ',' ); - } - - function linkTrail() { - return '/^([a-zàèéíòóúç·ïü\']+)(.*)$/sDu'; - } - -} - -?> -- cgit v1.2.3-54-g00ecf