Got rid of user namespace customisation, use the standard methods instead.
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 2 Aug 2006 14:43:59 +0000 (14:43 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 2 Aug 2006 14:43:59 +0000 (14:43 +0000)
languages/LanguageCs.php

index 6dd2a40..e451e81 100644 (file)
 #--------------------------------------------------------------------------
 
 class LanguageCs extends Language {
-       function fixUpSettings() {
-               parent::fixUpSettings();
-
-               # Yucky hardcoding hack
-               global $wgMetaNamespace;
-               if ( $wgMetaNamespace == 'Wikipedie' || $wgMetaNamespace == 'Wikipedia' ) {
-                       $this->namespaceNames[NS_USER] = 'Wikipedista'; 
-               }
-               $this->namespaceNames[NS_USER_TALK] = str_replace( '$1', 
-                       $this->namespaceNames[NS_USER], $this->namespaceNames[NS_USER_TALK] );
-       }
-
        # Grammatical transformations, needed for inflected languages
        # Invoked by putting {{grammar:case|word}} in a message
        function convertGrammar( $word, $case ) {