MediaWiki  1.23.14
LanguageTg.php
Go to the documentation of this file.
1 <?php
24 require_once __DIR__ . '/../LanguageConverter.php';
25 
31 class TgConverter extends LanguageConverter {
32  private $table = array(
33  'а' => 'a',
34  'б' => 'b',
35  'в' => 'v',
36  'г' => 'g',
37  'д' => 'd',
38  'е' => 'e',
39  'ё' => 'jo',
40  'ж' => 'ƶ',
41  'з' => 'z',
42  'ии ' => 'iji ',
43  'и' => 'i',
44  'й' => 'j',
45  'к' => 'k',
46  'л' => 'l',
47  'м' => 'm',
48  'н' => 'n',
49  'о' => 'o',
50  'п' => 'p',
51  'р' => 'r',
52  'с' => 's',
53  'т' => 't',
54  'у' => 'u',
55  'ф' => 'f',
56  'х' => 'x',
57  'ч' => 'c',
58  'ш' => 'ş',
59  'ъ' => '\'',
60  'э' => 'e',
61  'ю' => 'ju',
62  'я' => 'ja',
63  'ғ' => 'ƣ',
64  'ӣ' => 'ī',
65  'қ' => 'q',
66  'ӯ' => 'ū',
67  'ҳ' => 'h',
68  'ҷ' => 'ç',
69  'ц' => 'ts',
70  'А' => 'A',
71  'Б' => 'B',
72  'В' => 'V',
73  'Г' => 'G',
74  'Д' => 'D',
75  'Е' => 'E',
76  'Ё' => 'Jo',
77  'Ж' => 'Ƶ',
78  'З' => 'Z',
79  'И' => 'I',
80  'Й' => 'J',
81  'К' => 'K',
82  'Л' => 'L',
83  'М' => 'M',
84  'Н' => 'N',
85  'О' => 'O',
86  'П' => 'P',
87  'Р' => 'R',
88  'С' => 'S',
89  'Т' => 'T',
90  'У' => 'U',
91  'Ф' => 'F',
92  'Х' => 'X',
93  'Ч' => 'C',
94  'Ш' => 'Ş',
95  'Ъ' => '\'',
96  'Э' => 'E',
97  'Ю' => 'Ju',
98  'Я' => 'Ja',
99  'Ғ' => 'Ƣ',
100  'Ӣ' => 'Ī',
101  'Қ' => 'Q',
102  'Ӯ' => 'Ū',
103  'Ҳ' => 'H',
104  'Ҷ' => 'Ç',
105  'Ц' => 'Ts',
106  );
107 
108  function loadDefaultTables() {
109  $this->mTables = array(
110  'tg-latn' => new ReplacementArray( $this->table ),
111  'tg' => new ReplacementArray()
112  );
113  }
114 
115 }
116 
122 class LanguageTg extends Language {
123  function __construct() {
124  parent::__construct();
125  $variants = array( 'tg', 'tg-latn' );
126  $this->mConverter = new TgConverter( $this, 'tg', $variants );
127  }
128 }
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
TgConverter\$table
$table
Definition: LanguageTg.php:32
TgConverter\loadDefaultTables
loadDefaultTables()
Definition: LanguageTg.php:108
LanguageTg\__construct
__construct()
Definition: LanguageTg.php:123
table
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global then executing the whole list after the page is displayed We don t do anything smart like collating updates to the same table or such because the list is almost always going to have just one item on if so it s not worth the trouble Since there is a job queue in the jobs table
Definition: deferred.txt:11
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
LanguageTg
Tajik (Тоҷикӣ)
Definition: LanguageTg.php:122
ReplacementArray
Replacement array for FSS with fallback to strtr() Supports lazy initialisation of FSS resource.
Definition: StringUtils.php:411
TgConverter
Converts Tajiki to latin orthography.
Definition: LanguageTg.php:31
Language
Internationalisation code.
Definition: Language.php:74