Implement #3141: Breton language file, inherit french language. File by br:User:Fulup
[lhc/web/wiklou.git] / languages / LanguageHi.php
index f28f8e3..2084ba6 100644 (file)
@@ -121,7 +121,7 @@ require_once( "LanguageUtf8.php" );
 "lastmodified"         => "अन्तिम परिवर्तन $1.",
 "viewcount"            => "यह पृष्ठ $1 बार देखा गया है",
 "gnunote" => "All text is available under the terms of the <a class=internal href='/wiki/GNU_FDL'>GNU Free Documentation License</a>.",
-"printsubtitle"         => "(From http://www.wikipedia.org)",
+"printsubtitle"         => "(From {{SERVER}})",
 "protectedpage"         => "सुरक्षित पृष्ठ",
 "administrators"        => "विकिपीडिया:प्रबन्धक",
 "sysoptitle"           => "sysop आवश्यक है",
@@ -177,20 +177,6 @@ class LanguageHi extends LanguageUtf8 {
                return $wgNamespaceNamesHi;
        }
 
-
-       function getNsIndex( $text ) {
-               global $wgNamespaceNamesHi, $wgNamespaceNamesEn;
-
-               foreach ( $wgNamespaceNamesHi as $i => $n ) {
-                       if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
-               }
-               # fallback
-               foreach ( $wgNamespaceNamesEn as $i => $n ) {
-                       if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
-               }
-               return false;
-       }
-
        function getMessage( $key )
        {
                global $wgAllMessagesHi;