* Misc cleanup
[lhc/web/wiklou.git] / languages / LanguageTt.php
index 0cc2d13..fbc19dd 100644 (file)
@@ -1,4 +1,8 @@
 <?php
+/**
+  * @package MediaWiki
+  * @subpackage Language
+  */
 #
 # Tatarish localisation for MediaWiki
 #
@@ -54,19 +58,7 @@ require_once( "LanguageUtf8.php" );
 );
 
 /* private */ $wgDateFormatsTt = array(
-        "köyläwsez",
-        "Ğínwar 15, 2001",
-        "15. Ğínwar 2001",
-        "2001 Ğínwar 15",
-        "2001-01-15"
-);
-
-
-/* private */ $wgBookstoreListTt = array(
-        "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
-        "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
-        "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
-        "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
+#        "köyläwsez",
 );
 
 # Read language names
@@ -170,7 +162,6 @@ $wgLanguageNamesTt =& $wgLanguageNames;
 'dec' => "Dek",
 
 # User Toggles
-"tog-hover"                       => "Show hoverbox over wiki links",
 "tog-underline"           => "Underline links",
 "tog-highlightbroken"     => "Format broken links <a href=\"\" class=\"new\">like this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
 "tog-justify"             => "Justify paragraphs",
@@ -180,8 +171,8 @@ $wgLanguageNamesTt =& $wgLanguageNames;
 "tog-showtoolbar"         =>"Show edit toolbar",
 "tog-editondblclick"      => "Edit pages on double click (JavaScript)",
 "tog-editsection"         =>"Enable section editing via [edit] links",
-"tog-editsectiononrightclick"=>"Enable section editing by right clicking<br> on section titles (JavaScript)",
-"tog-showtoc"             =>"Show table of contents<br>(for articles with more than 3 headings)",
+"tog-editsectiononrightclick"=>"Enable section editing by right clicking<br /> on section titles (JavaScript)",
+"tog-showtoc"             =>"Show table of contents<br />(for articles with more than 3 headings)",
 "tog-rememberpassword"    => "Remember password across sessions",
 "tog-editwidth"           => "Edit box has full width",
 "tog-watchdefault"                => "Add pages you edit to your watchlist",
@@ -193,11 +184,6 @@ $wgLanguageNamesTt =& $wgLanguageNames;
 
 class LanguageTt extends LanguageUtf8 {
 
-       function getBookstoreList () {
-               global $wgBookstoreListTt;
-               return $wgBookstoreListTt;
-       }
-
        function getNamespaces() {
                global $wgNamespaceNamesTt;
                return $wgNamespaceNamesTt;
@@ -276,30 +262,10 @@ class LanguageTt extends LanguageUtf8 {
                if( isset( $wgAllMessagesTt[$key] ) ) {
                        return $wgAllMessagesTt[$key];
                } else {
-                       return Language::getMessage( $key );
+                       return parent::getMessage( $key );
                }
        }
 
-       # Inherit iconv()
-
-       # Inherit ucfirst()
-
-       # Inherit lcfirst()
-
-       # Inherit checkTitleEncoding()
-
-       # Inherit stripForSearch()
-
-       # Inherit setAltEncoding()
-
-       # Inherit recodeForEdit()
-
-       # Inherit recodeInput()
-
-       # Inherit isRTL()
-
-       # Inherit getMagicWords()
-
        function fallback8bitEncoding() {
                # Windows codepage 1252 is a superset of iso 8859-1
                # override this to use difference source encoding to