summaryrefslogtreecommitdiff
path: root/languages/LanguageDe.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2008-12-15 18:02:47 +0100
committerPierre Schmitz <pierre@archlinux.de>2008-12-15 18:02:47 +0100
commit396b28f3d881f5debd888ba9bb9b47c2d478a76f (patch)
tree10d6e1a721ee4ef69def34a57f02d7eb3fc9e31e /languages/LanguageDe.php
parent0be4d3ccf6c4fe98a72704f9463ecdea2ee5e615 (diff)
update to Mediawiki 1.13.3; some cleanups
Diffstat (limited to 'languages/LanguageDe.php')
-rw-r--r--languages/LanguageDe.php115
1 files changed, 0 insertions, 115 deletions
diff --git a/languages/LanguageDe.php b/languages/LanguageDe.php
deleted file mode 100644
index 0af4ec39..00000000
--- a/languages/LanguageDe.php
+++ /dev/null
@@ -1,115 +0,0 @@
-<?php
-/** German (Deutsch)
- *
- * @package MediaWiki
- * @subpackage Language
- *
- * @bug 4563
- */
-
-/** */
-require_once( 'LanguageUtf8.php' );
-
-/* private */ $wgNamespaceNamesDe = array(
- NS_MEDIA => 'Media',
- NS_SPECIAL => 'Spezial',
- NS_MAIN => '',
- NS_TALK => 'Diskussion',
- NS_USER => 'Benutzer',
- NS_USER_TALK => 'Benutzer_Diskussion',
- NS_PROJECT => $wgMetaNamespace,
- NS_PROJECT_TALK => $wgMetaNamespace . '_Diskussion',
- NS_IMAGE => 'Bild',
- NS_IMAGE_TALK => 'Bild_Diskussion',
- NS_MEDIAWIKI => 'MediaWiki',
- NS_MEDIAWIKI_TALK => 'MediaWiki_Diskussion',
- NS_TEMPLATE => 'Vorlage',
- NS_TEMPLATE_TALK => 'Vorlage_Diskussion',
- NS_HELP => 'Hilfe',
- NS_HELP_TALK => 'Hilfe_Diskussion',
- NS_CATEGORY => 'Kategorie',
- NS_CATEGORY_TALK => 'Kategorie_Diskussion'
-) + $wgNamespaceNamesEn;
-
-/* private */ $wgQuickbarSettingsDe = array(
- 'Keine', 'Links, fest', 'Rechts, fest', 'Links, schwebend'
-);
-
-/* private */ $wgSkinNamesDe = array(
- 'standard' => 'Klassik',
- 'nostalgia' => 'Nostalgie',
- 'cologneblue' => 'Kölnisch Blau',
- 'smarty' => 'Paddington',
- 'montparnasse' => 'Montparnasse',
- 'davinci' => 'DaVinci',
- 'mono' => 'Mono',
- 'monobook' => 'MonoBook',
- 'myskin' => 'MySkin',
- 'chick' => 'Küken'
-);
-
-
-/* private */ $wgBookstoreListDe = array(
- 'Verzeichnis lieferbarer Bücher' => 'http://www.buchhandel.de/vlb/vlb.cgi?type=voll&isbn=$1',
- 'abebooks.de' => 'http://www.abebooks.de/servlet/BookSearchPL?ph=2&isbn=$1',
- 'Amazon.de' => 'http://www.amazon.de/exec/obidos/ISBN=$1',
- 'buch.de' => 'http://www.buch.de/de.buch.shop/shop/1/home/schnellsuche/buch/?fqbi=$1',
- 'Lehmanns Fachbuchhandlung' => 'http://www.lob.de/cgi-bin/work/suche?flag=new&stich1=$1',
-);
-
-if (!$wgCachedMessageArrays) {
- require_once('MessagesDe.php');
-}
-
-/** @package MediaWiki */
-class LanguageDe extends LanguageUtf8 {
-
- function getBookstoreList() {
- global $wgBookstoreListDe ;
- return $wgBookstoreListDe ;
- }
-
- function getNamespaces() {
- global $wgNamespaceNamesDe;
- return $wgNamespaceNamesDe;
- }
-
- function getQuickbarSettings() {
- global $wgQuickbarSettingsDe;
- return $wgQuickbarSettingsDe;
- }
-
- function getSkinNames() {
- global $wgSkinNamesDe;
- return $wgSkinNamesDe;
- }
-
- function formatMonth( $month, $format ) {
- return $this->getMonthAbbreviation( $month );
- }
-
- function formatDay( $day, $format ) {
- return parent::formatDay( $day, $format ) . '.';
- }
-
- function getMessage( $key ) {
- global $wgAllMessagesDe;
- if( isset( $wgAllMessagesDe[$key] ) ) {
- return $wgAllMessagesDe[$key];
- } else {
- return parent::getMessage( $key );
- }
- }
-
- function separatorTransformTable() {
- return array(',' => '.', '.' => ',' );
- }
-
- function linkTrail() {
- return '/^([äöüßa-z]+)(.*)$/sDu';
- }
-
-
-}
-
-?>