Short formats are not used in Finnish
[lhc/web/wiklou.git] / languages / LanguageHi.php
index 28939b3..5270458 100644 (file)
@@ -1,14 +1,11 @@
 <?php
+/**
+  * @package MediaWiki
+  * @subpackage Language
+  */
 
 require_once( "LanguageUtf8.php" );
 
-# NOTE: To turn off "Current Events" in the sidebar,
-# set "currentevents" => "-"
-
-# The names of the namespaces can be set here, but the numbers
-# are magical, so don't change or move them!  The Namespace class
-# encapsulates some of the magic-ness.
-#
 /* private */ $wgNamespaceNamesHi = array(
        NS_MEDIA          => 'Media',
        NS_SPECIAL        => 'विशेष',
@@ -30,8 +27,6 @@ require_once( "LanguageUtf8.php" );
 
 
 /* private */ $wgAllMessagesHi = array(
-'special_version_prefix' => '',
-'special_version_postfix' => '',
 
 # Dates
 #
@@ -76,7 +71,6 @@ require_once( "LanguageUtf8.php" );
 "aboutpage"            => "विकिपीडिया:अबाउट",
 "help"                 => "सहायता",
 "helppage"             => "विकिपीडिया:सहायता",
-"wikititlesuffix"       => "विकिपीडिया",
 "bugreports"           => "Bug reports",
 "bugreportspage"        => "विकिपीडिया:Bug_reports",
 "faq"                  => "FAQ",
@@ -118,8 +112,7 @@ require_once( "LanguageUtf8.php" );
 "redirectedfrom"        => "($1 से भेजा गया)",
 "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 आवश्यक है",
@@ -175,31 +168,12 @@ class LanguageHi extends LanguageUtf8 {
                return $wgNamespaceNamesHi;
        }
 
-       function getNsText( $index ) {
-               global $wgNamespaceNamesHi;
-               return $wgNamespaceNamesHi[$index];
-       }
-
-       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 )
-       {
+       function getMessage( $key ) {
                global $wgAllMessagesHi;
                if(array_key_exists($key, $wgAllMessagesHi))
                        return $wgAllMessagesHi[$key];
                else
-                       return Language::getMessage($key);
+                       return parent::getMessage($key);
        }
 
        function formatNum( $number ) {
@@ -210,6 +184,7 @@ class LanguageHi extends LanguageUtf8 {
                        return $number;
                }
        }
+
 }
 
 ?>