Comment out some unused array declarations
authorSam Reed <reedy@users.mediawiki.org>
Thu, 2 Sep 2010 22:20:00 +0000 (22:20 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 2 Sep 2010 22:20:00 +0000 (22:20 +0000)
Move some comments

languages/classes/LanguageKk_cyrl.php
languages/classes/LanguageTyv.php

index 51749dd..0cc6500 100644 (file)
@@ -23,14 +23,14 @@ class LanguageKk_cyrl extends Language {
                // Set up some constants...
                // Vowels in last syllable
                $frontVowels = array( "е", "ө", "ү", "і", "ә", "э", "я", "ё", "и" );
-               $backVowels = array( "а", "о", "ұ", "ы" );
+               //$backVowels = array( "а", "о", "ұ", "ы" );
                $allVowels = array( "е", "ө", "ү", "і", "ә", "э", "а", "о", "ұ", "ы", "я", "ё", "и" );
                // Preceding letters
-               $Nasals = array( "м", "н", "ң" );
-               $Sonants = array( "и", "й", "л", "р", "у", "ю" );
+               //$Nasals = array( "м", "н", "ң" );
+               //$Sonants = array( "и", "й", "л", "р", "у", "ю" );
                $Consonants = array( "п", "ф", "к", "қ", "т", "ш", "с", "х", "ц", "ч", "щ", "б", "в", "г", "д" );
-               $Sibilants = array( "ж", "з" );
-               $Sonorants = array( "и", "й", "л", "р", "у", "ю", "м", "н", "ң", "ж", "з" );
+               //$Sibilants = array( "ж", "з" );
+               //$Sonorants = array( "и", "й", "л", "р", "у", "ю", "м", "н", "ң", "ж", "з" );
 
                // Possessives
                $firstPerson = array( "м", "ң" ); // 1st singular, 2nd unformal
index 6d62dfd..3e55a3a 100644 (file)
@@ -20,28 +20,28 @@ class LanguageTyv extends Language {
                        return $wgGrammarForms['tyv'][$case][$word];
                }
 
-       // Set up some constants...
+               // Set up some constants...
                $allVowels = array( "е", "и", "э", "ө", "ү", "а", "ё", "о", "у", "ы", "ю", "я", "a", "e", "i", "o", "ö", "u", "ü", "y" );
                $frontVowels = array( "е", "и", "э", "ө", "ү", "e", "i", "ö", "ü" );
-               $backVowels = array( "а", "ё", "о", "у", "ы", "ю", "я", "a", "o", "u", "y" );
-               $unroundFrontVowels = array( "е", "и", "э", "e", "i" );
+               //$backVowels = array( "а", "ё", "о", "у", "ы", "ю", "я", "a", "o", "u", "y" );
+               //$unroundFrontVowels = array( "е", "и", "э", "e", "i" );
                $roundFrontVowels = array( "ө", "ү", "ö", "ü" );
-               $unroundBackVowels = array( "а", "ы", "я", "a", "y" );
-               $roundBackVowels = array( "ё", "о", "у", "ю", "o", "u" );
+               //$unroundBackVowels = array( "а", "ы", "я", "a", "y" );
+               //$roundBackVowels = array( "ё", "о", "у", "ю", "o", "u" );
                $unvoicedPhonemes = array( "т", "п", "с", "ш", "к", "ч", "х", "t", "p", "s", "k", "x" );
-               $directiveUnvoicedStems = array( "т", "п", "с", "ш", "к", "ч", "х", "л", "м", "н", "ң", "t", "p", "s", "k", "x", "l", "m", "n", "ŋ" );
+               //$directiveUnvoicedStems = array( "т", "п", "с", "ш", "к", "ч", "х", "л", "м", "н", "ң", "t", "p", "s", "k", "x", "l", "m", "n", "ŋ" );
                $directiveVoicedStems = array( "д", "б", "з", "ж", "г", "р", "й", "d", "b", "z", "g", "r", "j" );
 
-//             $allSonants = array("л", "м", "н", "ң", "р", "й");
-//             $allNasals = array("м", "н", "ң");
+               //$allSonants = array("л", "м", "н", "ң", "р", "й");
+               //$allNasals = array("м", "н", "ң");
 
-       // Put the word in a form we can play with since we're using UTF-8
+               //Put the word in a form we can play with since we're using UTF-8
                preg_match_all( '/./us', $word, $ar );
 
                $wordEnding = $ar[0][count( $ar[0] ) - 1]; // Here's the last letter in the word
                $wordReversed = array_reverse( $ar[0] ); // Here's an array with the order of the letters in the word reversed so we can find a match quicker *shrug*
 
-       // Find the last vowel in the word
+               // Find the last vowel in the word
                $wordLastVowel = NULL;
                foreach ( $wordReversed as $xvalue ) {
                        foreach ( $allVowels as $yvalue ) {
@@ -59,7 +59,7 @@ class LanguageTyv extends Language {
                        }
                }
 
-       // Now convert the word
+               // Now convert the word
                switch ( $case ) {
                        case "genitive":
                                if ( in_array( $wordEnding, $unvoicedPhonemes ) ) {