Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
languages /
classes /
Delete
Unzip
Name
Size
Permission
Date
Action
LanguageAm.php
404
B
-rw-r--r--
2011-05-29 17:03
LanguageAr.php
1.45
KB
-rw-r--r--
2016-11-28 20:20
LanguageAz.php
1.14
KB
-rw-r--r--
2016-11-28 20:20
LanguageBe.php
1.17
KB
-rw-r--r--
2011-05-29 17:20
LanguageBe_tarask.php
2.39
KB
-rw-r--r--
2016-11-28 20:20
LanguageBg.php
1.3
KB
-rw-r--r--
2016-11-28 20:20
LanguageBh.php
412
B
-rw-r--r--
2011-05-29 17:53
LanguageBs.php
1.63
KB
-rw-r--r--
2016-11-28 20:20
LanguageCs.php
690
B
-rw-r--r--
2011-05-29 17:20
LanguageCu.php
2.16
KB
-rw-r--r--
2016-11-28 20:20
LanguageCy.php
683
B
-rw-r--r--
2011-05-29 17:20
LanguageDsb.php
1.59
KB
-rw-r--r--
2016-11-28 20:20
LanguageEo.php
3.8
KB
-rw-r--r--
2011-06-17 18:05
LanguageEs.php
1.17
KB
-rw-r--r--
2016-11-28 20:20
LanguageEt.php
1.21
KB
-rw-r--r--
2016-11-28 20:20
LanguageFi.php
4.57
KB
-rw-r--r--
2016-11-28 20:20
LanguageFr.php
413
B
-rw-r--r--
2011-05-29 17:03
LanguageGa.php
1.73
KB
-rw-r--r--
2016-11-28 20:20
LanguageGan.php
2.76
KB
-rw-r--r--
2016-11-28 20:20
LanguageGd.php
1
KB
-rw-r--r--
2011-05-29 17:03
LanguageGv.php
544
B
-rw-r--r--
2011-05-29 17:20
LanguageHe.php
1.9
KB
-rw-r--r--
2016-11-28 20:20
LanguageHi.php
408
B
-rw-r--r--
2011-05-29 17:53
LanguageHr.php
755
B
-rw-r--r--
2011-05-29 17:20
LanguageHsb.php
1.58
KB
-rw-r--r--
2016-11-28 20:20
LanguageHu.php
1.36
KB
-rw-r--r--
2016-11-28 20:20
LanguageHy.php
2.77
KB
-rw-r--r--
2016-11-28 20:20
LanguageIu.deps.php
394
B
-rw-r--r--
2011-04-21 23:21
LanguageIu.php
8.02
KB
-rw-r--r--
2016-11-28 20:20
LanguageJa.php
1.83
KB
-rw-r--r--
2016-11-28 20:20
LanguageKaa.php
2.34
KB
-rw-r--r--
2016-11-28 20:20
LanguageKk.deps.php
461
B
-rw-r--r--
2010-07-29 11:43
LanguageKk.php
14.99
KB
-rw-r--r--
2016-11-28 20:20
LanguageKk_cyrl.php
26.6
KB
-rw-r--r--
2016-11-28 20:20
LanguageKm.php
1.2
KB
-rw-r--r--
2016-11-28 20:20
LanguageKsh.php
6.53
KB
-rw-r--r--
2016-11-28 20:20
LanguageKu.deps.php
459
B
-rw-r--r--
2010-07-29 11:43
LanguageKu.php
6.59
KB
-rw-r--r--
2016-11-28 20:20
LanguageKu_ku.php
1.3
KB
-rw-r--r--
2016-11-28 20:20
LanguageLa.php
3.41
KB
-rw-r--r--
2016-11-28 20:20
LanguageLn.php
492
B
-rw-r--r--
2011-05-29 17:53
LanguageLt.php
802
B
-rw-r--r--
2011-05-29 17:20
LanguageLv.php
997
B
-rw-r--r--
2011-05-18 00:03
LanguageMg.php
401
B
-rw-r--r--
2011-05-29 17:03
LanguageMk.php
556
B
-rw-r--r--
2011-05-29 17:53
LanguageMl.php
1.63
KB
-rw-r--r--
2016-11-28 20:20
LanguageMo.php
604
B
-rw-r--r--
2011-05-29 17:20
LanguageMt.php
564
B
-rw-r--r--
2011-05-29 17:20
LanguageMy.php
1.18
KB
-rw-r--r--
2016-11-28 20:20
LanguageNso.php
416
B
-rw-r--r--
2011-05-29 17:03
LanguageOs.php
3.67
KB
-rw-r--r--
2016-11-28 20:20
LanguagePl.php
1.16
KB
-rw-r--r--
2016-11-28 20:20
LanguageQqx.php
1.28
KB
-rw-r--r--
2016-11-28 20:20
LanguageRo.php
587
B
-rw-r--r--
2011-05-29 17:21
LanguageRu.php
2.35
KB
-rw-r--r--
2016-11-28 20:20
LanguageSe.php
569
B
-rw-r--r--
2011-05-29 17:21
LanguageSgs.php
641
B
-rw-r--r--
2011-06-11 00:33
LanguageSh.php
948
B
-rw-r--r--
2011-05-29 17:21
LanguageShi.php
5.32
KB
-rw-r--r--
2016-11-28 20:20
LanguageSk.php
481
B
-rw-r--r--
2011-05-29 17:21
LanguageSl.php
1.62
KB
-rw-r--r--
2016-11-28 20:20
LanguageSma.php
574
B
-rw-r--r--
2011-07-16 13:40
LanguageSr.deps.php
459
B
-rw-r--r--
2010-07-29 11:43
LanguageSr.php
6.76
KB
-rw-r--r--
2016-11-28 20:20
LanguageSr_ec.php
571
B
-rw-r--r--
2011-05-29 17:21
LanguageSr_el.deps.php
394
B
-rw-r--r--
2010-07-29 11:43
LanguageSr_el.php
568
B
-rw-r--r--
2011-05-29 17:21
LanguageTg.php
2.46
KB
-rw-r--r--
2016-11-28 20:20
LanguageTi.php
405
B
-rw-r--r--
2011-05-29 17:59
LanguageTl.php
399
B
-rw-r--r--
2011-05-29 17:59
LanguageTr.php
1.62
KB
-rw-r--r--
2016-11-28 20:20
LanguageTyv.php
8.76
KB
-rw-r--r--
2016-11-28 20:20
LanguageUk.php
2.75
KB
-rw-r--r--
2016-11-28 20:20
LanguageUz.php
4.17
KB
-rw-r--r--
2016-11-28 20:20
LanguageWa.php
3.04
KB
-rw-r--r--
2016-11-28 20:20
LanguageYue.php
1.58
KB
-rw-r--r--
2016-11-28 20:20
LanguageZh.deps.php
461
B
-rw-r--r--
2010-07-29 11:43
LanguageZh.php
5.74
KB
-rw-r--r--
2016-11-28 20:20
LanguageZh_hans.php
2.64
KB
-rw-r--r--
2016-11-28 20:20
Save
Rename
<?php /** * Tyvan (Тыва дыл) specific code. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * * @file * @ingroup Language */ /** * Tyvan localization (Тыва дыл) * * From friends at tyvawiki.org * * @ingroup Language */ class LanguageTyv extends Language { /** * Grammatical transformations, needed for inflected languages * Invoked by putting {{grammar:case|word}} in a message * * @param string $word * @param string $case * @return string */ function convertGrammar( $word, $case ) { global $wgGrammarForms; if ( isset( $wgGrammarForms['tyv'][$case][$word] ) ) { return $wgGrammarForms['tyv'][$case][$word]; } // Set up some constants... $allVowels = [ "е", "и", "э", "ө", "ү", "а", "ё", "о", "у", "ы", "ю", "я" ]; $frontVowels = [ "е", "и", "э", "ө", "ү" ]; $backVowels = [ "а", "ё", "о", "у", "ы", "ю", "я" ]; $unroundFrontVowels = [ "е", "и", "э" ]; $roundFrontVowels = [ "ө", "ү" ]; $unroundBackVowels = [ "а", "ы", "я" ]; $roundBackVowels = [ "ё", "о", "у", "ю" ]; $unvoicedPhonemes = [ "т", "п", "с", "ш", "к", "ч", "х" ]; $directiveUnvoicedStems = [ "т", "п", "с", "ш", "к", "ч", "х", "л", "м", "н", "ң" ]; $directiveVoicedStems = [ "д", "б", "з", "ж", "г", "р", "й" ]; // Put the word in a form we can play with since we're using UTF-8 preg_match_all( '/./us', $word, $ar ); // Here's the last letter in the word $wordEnding = $ar[0][count( $ar[0] ) - 1]; // Here's an array with the order of the letters in the word reversed so // we can find a match quicker. *shrug* $wordReversed = array_reverse( $ar[0] ); // Find the last vowel in the word $wordLastVowel = null; foreach ( $wordReversed as $xvalue ) { foreach ( $allVowels as $yvalue ) { if ( strcmp( $xvalue, $yvalue ) == 0 ) { $wordLastVowel = $xvalue; break; } else { continue; } } if ( $wordLastVowel !== null ) { break; } else { continue; } } // Now convert the word switch ( $case ) { case "genitive": if ( in_array( $wordEnding, $unvoicedPhonemes ) ) { if ( in_array( $wordLastVowel, $roundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "түң"; } elseif ( in_array( $wordLastVowel, $unroundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "тиң"; } elseif ( in_array( $wordLastVowel, $roundBackVowels ) ) { $word = implode( "", $ar[0] ) . "туң"; } elseif ( in_array( $wordLastVowel, $unroundBackVowels ) ) { $word = implode( "", $ar[0] ) . "тың"; } else { } } elseif ( $wordEnding === "л" ) { if ( in_array( $wordLastVowel, $roundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "дүң"; } elseif ( in_array( $wordLastVowel, $unroundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "диң"; } elseif ( in_array( $wordLastVowel, $roundBackVowels ) ) { $word = implode( "", $ar[0] ) . "дуң"; } elseif ( in_array( $wordLastVowel, $unroundBackVowels ) ) { $word = implode( "", $ar[0] ) . "дың"; } else { } } else { if ( in_array( $wordLastVowel, $roundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "нүң"; } elseif ( in_array( $wordLastVowel, $unroundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "ниң"; } elseif ( in_array( $wordLastVowel, $roundBackVowels ) ) { $word = implode( "", $ar[0] ) . "нуң"; } elseif ( in_array( $wordLastVowel, $unroundBackVowels ) ) { $word = implode( "", $ar[0] ) . "ның"; } else { } } break; case "dative": if ( in_array( $wordEnding, $unvoicedPhonemes ) ) { if ( in_array( $wordLastVowel, $frontVowels ) ) { $word = implode( "", $ar[0] ) . "ке"; } elseif ( in_array( $wordLastVowel, $backVowels ) ) { $word = implode( "", $ar[0] ) . "ка"; } else { } } else { if ( in_array( $wordLastVowel, $frontVowels ) ) { $word = implode( "", $ar[0] ) . "ге"; } elseif ( in_array( $wordLastVowel, $backVowels ) ) { $word = implode( "", $ar[0] ) . "га"; } else { } } break; case "accusative": if ( in_array( $wordEnding, $unvoicedPhonemes ) ) { if ( in_array( $wordLastVowel, $roundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "тү"; } elseif ( in_array( $wordLastVowel, $unroundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "ти"; } elseif ( in_array( $wordLastVowel, $roundBackVowels ) ) { $word = implode( "", $ar[0] ) . "ту"; } elseif ( in_array( $wordLastVowel, $unroundBackVowels ) ) { $word = implode( "", $ar[0] ) . "ты"; } else { } } elseif ( $wordEnding === "л" ) { if ( in_array( $wordLastVowel, $roundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "дү"; } elseif ( in_array( $wordLastVowel, $unroundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "ди"; } elseif ( in_array( $wordLastVowel, $roundBackVowels ) ) { $word = implode( "", $ar[0] ) . "ду"; } elseif ( in_array( $wordLastVowel, $unroundBackVowels ) ) { $word = implode( "", $ar[0] ) . "ды"; } else { } } else { if ( in_array( $wordLastVowel, $roundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "нү"; } elseif ( in_array( $wordLastVowel, $unroundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "ни"; } elseif ( in_array( $wordLastVowel, $roundBackVowels ) ) { $word = implode( "", $ar[0] ) . "ну"; } elseif ( in_array( $wordLastVowel, $unroundBackVowels ) ) { $word = implode( "", $ar[0] ) . "ны"; } else { } } break; case "locative": if ( in_array( $wordEnding, $unvoicedPhonemes ) ) { if ( in_array( $wordLastVowel, $frontVowels ) ) { $word = implode( "", $ar[0] ) . "те"; } elseif ( in_array( $wordLastVowel, $backVowels ) ) { $word = implode( "", $ar[0] ) . "та"; } else { } } else { if ( in_array( $wordLastVowel, $frontVowels ) ) { $word = implode( "", $ar[0] ) . "де"; } elseif ( in_array( $wordLastVowel, $backVowels ) ) { $word = implode( "", $ar[0] ) . "да"; } else { } } break; case "ablative": if ( in_array( $wordEnding, $unvoicedPhonemes ) ) { if ( in_array( $wordLastVowel, $frontVowels ) ) { $word = implode( "", $ar[0] ) . "тен"; } elseif ( in_array( $wordLastVowel, $backVowels ) ) { $word = implode( "", $ar[0] ) . "тан"; } else { } } else { if ( in_array( $wordLastVowel, $frontVowels ) ) { $word = implode( "", $ar[0] ) . "ден"; } elseif ( in_array( $wordLastVowel, $backVowels ) ) { $word = implode( "", $ar[0] ) . "дан"; } else { } } break; case "directive1": if ( in_array( $wordEnding, $directiveVoicedStems ) ) { $word = implode( "", $ar[0] ) . "же"; } elseif ( in_array( $wordEnding, $directiveUnvoicedStems ) ) { $word = implode( "", $ar[0] ) . "че"; } else { } break; case "directive2": if ( in_array( $wordEnding, $unvoicedPhonemes ) ) { if ( in_array( $wordLastVowel, $roundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "түве"; } elseif ( in_array( $wordLastVowel, $unroundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "тиве"; } elseif ( in_array( $wordLastVowel, $roundBackVowels ) ) { $word = implode( "", $ar[0] ) . "туве"; } elseif ( in_array( $wordLastVowel, $unroundBackVowels ) ) { $word = implode( "", $ar[0] ) . "тыве"; } else { } } else { if ( in_array( $wordLastVowel, $roundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "дүве"; } elseif ( in_array( $wordLastVowel, $unroundFrontVowels ) ) { $word = implode( "", $ar[0] ) . "диве"; } elseif ( in_array( $wordLastVowel, $roundBackVowels ) ) { $word = implode( "", $ar[0] ) . "дуве"; } elseif ( in_array( $wordLastVowel, $unroundBackVowels ) ) { $word = implode( "", $ar[0] ) . "дыве"; } else { } } break; default: break; } return $word; } }