2007-01-05 01:39:47 +00:00
|
|
|
|
<?php
|
2007-11-07 12:29:44 +00:00
|
|
|
|
/** Kara-Kalpak (Qaraqalpaqsha)
|
2009-04-16 10:17:40 +00:00
|
|
|
|
*
|
2014-06-05 14:06:25 +00:00
|
|
|
|
* To improve a translation please visit https://translatewiki.net
|
2007-01-05 01:39:47 +00:00
|
|
|
|
*
|
WARNING: HUGE COMMIT
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>
Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage
One more thing: there are still a lot of warnings when generating the doc.
2008-05-20 17:13:28 +00:00
|
|
|
|
* @ingroup Language
|
|
|
|
|
|
* @file
|
2007-11-07 12:29:44 +00:00
|
|
|
|
*
|
2007-01-05 01:39:47 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
2011-08-18 16:41:07 +00:00
|
|
|
|
$fallback = 'kk-latn, kk-cyrl';
|
2007-11-18 12:57:52 +00:00
|
|
|
|
|
2016-02-17 09:09:32 +00:00
|
|
|
|
$separatorTransformTable = [
|
2017-10-07 00:26:23 +00:00
|
|
|
|
',' => "\u{00A0}",
|
2007-11-18 12:57:52 +00:00
|
|
|
|
'.' => ',',
|
2016-02-17 09:09:32 +00:00
|
|
|
|
];
|
2017-10-10 18:51:50 +00:00
|
|
|
|
$minimumGroupingDigits = 2;
|
2007-11-18 12:57:52 +00:00
|
|
|
|
|
|
|
|
|
|
$fallback8bitEncoding = 'windows-1254';
|
|
|
|
|
|
|
|
|
|
|
|
$linkPrefixExtension = true;
|
|
|
|
|
|
|
2016-02-17 09:09:32 +00:00
|
|
|
|
$namespaceNames = [
|
2008-11-18 22:18:31 +00:00
|
|
|
|
NS_MEDIA => 'Media',
|
|
|
|
|
|
NS_SPECIAL => 'Arnawlı',
|
|
|
|
|
|
NS_TALK => 'Sa\'wbet',
|
|
|
|
|
|
NS_USER => 'Paydalanıwshı',
|
|
|
|
|
|
NS_USER_TALK => 'Paydalanıwshı_sa\'wbeti',
|
|
|
|
|
|
NS_PROJECT_TALK => '$1_sa\'wbeti',
|
2008-12-01 17:14:30 +00:00
|
|
|
|
NS_FILE => 'Su\'wret',
|
|
|
|
|
|
NS_FILE_TALK => 'Su\'wret_sa\'wbeti',
|
2008-11-18 22:18:31 +00:00
|
|
|
|
NS_MEDIAWIKI => 'MediaWiki',
|
|
|
|
|
|
NS_MEDIAWIKI_TALK => 'MediaWiki_sa\'wbeti',
|
|
|
|
|
|
NS_TEMPLATE => 'Shablon',
|
|
|
|
|
|
NS_TEMPLATE_TALK => 'Shablon_sa\'wbeti',
|
|
|
|
|
|
NS_HELP => 'Anıqlama',
|
|
|
|
|
|
NS_HELP_TALK => 'Anıqlama_sa\'wbeti',
|
|
|
|
|
|
NS_CATEGORY => 'Kategoriya',
|
|
|
|
|
|
NS_CATEGORY_TALK => 'Kategoriya_sa\'wbeti',
|
2016-02-17 09:09:32 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
2020-10-30 08:59:17 +00:00
|
|
|
|
/** @phpcs-require-sorted-array */
|
2016-02-17 09:09:32 +00:00
|
|
|
|
$specialPageAliases = [
|
2022-05-06 09:31:31 +00:00
|
|
|
|
'Allmessages' => [ 'Ha\'mme_xabarlar' ],
|
|
|
|
|
|
'Allpages' => [ 'Ha\'mme_betler' ],
|
|
|
|
|
|
'Ancientpages' => [ 'Eski_betler' ],
|
|
|
|
|
|
'BrokenRedirects' => [ 'Jaramsız_burıwshılar' ],
|
2016-02-17 09:09:32 +00:00
|
|
|
|
'Categories' => [ 'Kategoriyalar' ],
|
2022-05-06 09:31:31 +00:00
|
|
|
|
'Contributions' => [ 'Paydalanıwshı_u\'lesi' ],
|
|
|
|
|
|
'Deadendpages' => [ 'Hesh_betke_siltemeytug\'ın_betler' ],
|
|
|
|
|
|
'DoubleRedirects' => [ 'Qos_burıwshılar' ],
|
|
|
|
|
|
'Emailuser' => [ 'Xat_jiberiw' ],
|
2016-02-17 09:09:32 +00:00
|
|
|
|
'Export' => [ 'Eksport' ],
|
2022-05-06 09:31:31 +00:00
|
|
|
|
'Fewestrevisions' => [ 'Az_du\'zetilgenler' ],
|
2016-02-17 09:09:32 +00:00
|
|
|
|
'Listadmins' => [ 'Administratorlar' ],
|
2022-05-06 09:31:31 +00:00
|
|
|
|
'Listfiles' => [ 'Su\'wretler_dizimi' ],
|
|
|
|
|
|
'Listredirects' => [ 'Burıwshılar_dizimi' ],
|
|
|
|
|
|
'Listusers' => [ 'Paydalanıwshılar', 'Paydalanıwshı_dizimi' ],
|
2016-02-17 09:09:32 +00:00
|
|
|
|
'Log' => [ 'Jurnal', 'Jurnallar' ],
|
2022-05-06 09:31:31 +00:00
|
|
|
|
'Lonelypages' => [ 'Hesh_betten_siltelmegen_betler' ],
|
|
|
|
|
|
'Longpages' => [ 'Uzın_betler' ],
|
|
|
|
|
|
'MIMEsearch' => [ 'MIME_izlew' ],
|
|
|
|
|
|
'Mostcategories' => [ 'Ko\'p_kategoriyalang\'anlar' ],
|
|
|
|
|
|
'Mostimages' => [ 'Ko\'p_paydalanılg\'an_su\'wretler' ],
|
|
|
|
|
|
'Mostlinked' => [ 'Ko\'p_siltelgenler' ],
|
|
|
|
|
|
'Mostlinkedcategories' => [ 'Ko\'p_paydalanılg\'an_kategoriyalar' ],
|
|
|
|
|
|
'Mostlinkedtemplates' => [ 'Ko\'p_paydalanılg\'an_shablonlar' ],
|
|
|
|
|
|
'Mostrevisions' => [ 'Ko\'p_du\'zetilgenler' ],
|
|
|
|
|
|
'Movepage' => [ 'Betti_ko\'shiriw' ],
|
|
|
|
|
|
'Mycontributions' => [ 'Menin\'_u\'lesim' ],
|
|
|
|
|
|
'Mypage' => [ 'Menin\'_betim' ],
|
|
|
|
|
|
'Mytalk' => [ 'Menin\'_sa\'wbetim' ],
|
|
|
|
|
|
'Newimages' => [ 'Taza_su\'wretler' ],
|
|
|
|
|
|
'Newpages' => [ 'Taza_betler' ],
|
2016-02-17 09:09:32 +00:00
|
|
|
|
'Preferences' => [ 'Sazlawlar' ],
|
2022-05-06 09:31:31 +00:00
|
|
|
|
'Protectedpages' => [ 'Qorg\'alg\'an_betler' ],
|
|
|
|
|
|
'Randompage' => [ 'Qa\'legen', 'Qa\'legen_bet' ],
|
|
|
|
|
|
'Randomredirect' => [ 'Qa\'legen_burıwshı' ],
|
|
|
|
|
|
'Recentchanges' => [ 'Aqırg\'ı_o\'zgerisler' ],
|
|
|
|
|
|
'Recentchangeslinked' => [ 'Baylanıslı_aqırg\'ı_o\'zgerisler' ],
|
|
|
|
|
|
'Revisiondelete' => [ 'Nusqanı_o\'shiriw' ],
|
2016-02-17 09:09:32 +00:00
|
|
|
|
'Search' => [ 'İzlew' ],
|
2022-05-06 09:31:31 +00:00
|
|
|
|
'Shortpages' => [ 'Qqısqa_betler' ],
|
|
|
|
|
|
'Specialpages' => [ 'Arnawlı_betler' ],
|
2016-02-17 09:09:32 +00:00
|
|
|
|
'Statistics' => [ 'Statistika' ],
|
2022-05-06 09:31:31 +00:00
|
|
|
|
'Uncategorizedcategories' => [ 'Kategoriyasız_kategoriyalar' ],
|
|
|
|
|
|
'Uncategorizedimages' => [ 'Kategoriyasız_su\'wretler' ],
|
|
|
|
|
|
'Uncategorizedpages' => [ 'Kategoriyasız_betler' ],
|
|
|
|
|
|
'Uncategorizedtemplates' => [ 'Kategoriyasız_shablonlar' ],
|
|
|
|
|
|
'Unusedcategories' => [ 'Paydalanılmag\'an_kategoriyalar' ],
|
|
|
|
|
|
'Unusedimages' => [ 'Paydalanılmag\'an_fayllar', 'Paydalanılmag\'an_su\'wretler' ],
|
|
|
|
|
|
'Unusedtemplates' => [ 'Paydalanılmag\'an_shablonlar' ],
|
|
|
|
|
|
'Unwatchedpages' => [ 'Baqlanılmag\'an_betler' ],
|
|
|
|
|
|
'Userlogin' => [ 'Kiriw', 'Paydalanıwshı_kiriw' ],
|
|
|
|
|
|
'Userlogout' => [ 'Shıg\'ıw', 'Paydalanıwshı_shıg\'ıw' ],
|
|
|
|
|
|
'Userrights' => [ 'Paydalanıwshı_huqıqları' ],
|
2016-02-17 09:09:32 +00:00
|
|
|
|
'Version' => [ 'Versiya' ],
|
2022-05-06 09:31:31 +00:00
|
|
|
|
'Wantedcategories' => [ 'Talap_qılıng\'an_kategoriyalar' ],
|
|
|
|
|
|
'Wantedpages' => [ 'Talap_qılıng\'an_betler', 'Jaramsız_sıltewler' ],
|
|
|
|
|
|
'Watchlist' => [ 'Baqlaw_dizimi' ],
|
|
|
|
|
|
'Whatlinkshere' => [ 'Siltelgen_betler' ],
|
|
|
|
|
|
'Withoutinterwiki' => [ 'Hesh_tilge_siltemeytug\'ın_betler' ],
|
2016-02-17 09:09:32 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
$datePreferences = [
|
2007-11-18 12:57:52 +00:00
|
|
|
|
'default',
|
|
|
|
|
|
'mdy',
|
|
|
|
|
|
'dmy',
|
|
|
|
|
|
'ymd',
|
|
|
|
|
|
'yyyy-mm-dd',
|
|
|
|
|
|
'ISO 8601',
|
2016-02-17 09:09:32 +00:00
|
|
|
|
];
|
2007-11-18 12:57:52 +00:00
|
|
|
|
|
|
|
|
|
|
$defaultDateFormat = 'ymd';
|
|
|
|
|
|
|
2016-02-17 09:09:32 +00:00
|
|
|
|
$datePreferenceMigrationMap = [
|
2007-11-18 12:57:52 +00:00
|
|
|
|
'default',
|
|
|
|
|
|
'mdy',
|
|
|
|
|
|
'dmy',
|
|
|
|
|
|
'ymd'
|
2016-02-17 09:09:32 +00:00
|
|
|
|
];
|
2007-11-18 12:57:52 +00:00
|
|
|
|
|
2016-02-17 09:09:32 +00:00
|
|
|
|
$dateFormats = [
|
2007-11-18 12:57:52 +00:00
|
|
|
|
'mdy time' => 'H:i',
|
|
|
|
|
|
'mdy date' => 'xg j, Y "j."',
|
|
|
|
|
|
'mdy both' => 'H:i, xg j, Y "j."',
|
|
|
|
|
|
|
|
|
|
|
|
'dmy time' => 'H:i',
|
|
|
|
|
|
'dmy date' => 'j F, Y "j."',
|
|
|
|
|
|
'dmy both' => 'H:i, j F, Y "j."',
|
|
|
|
|
|
|
|
|
|
|
|
'ymd time' => 'H:i',
|
|
|
|
|
|
'ymd date' => 'Y "j." xg j',
|
|
|
|
|
|
'ymd both' => 'H:i, Y "j." xg j',
|
|
|
|
|
|
|
|
|
|
|
|
'yyyy-mm-dd time' => 'xnH:xni:xns',
|
|
|
|
|
|
'yyyy-mm-dd date' => 'xnY-xnm-xnd',
|
|
|
|
|
|
'yyyy-mm-dd both' => 'xnH:xni:xns, xnY-xnm-xnd',
|
|
|
|
|
|
|
|
|
|
|
|
'ISO 8601 time' => 'xnH:xni:xns',
|
|
|
|
|
|
'ISO 8601 date' => 'xnY-xnm-xnd',
|
|
|
|
|
|
'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
|
2016-02-17 09:09:32 +00:00
|
|
|
|
];
|
2007-11-17 21:31:25 +00:00
|
|
|
|
|
2011-04-06 21:11:49 +00:00
|
|
|
|
$linkTrail = "/^((?:[a-zıʼ’“»]|'(?!'))+)(.*)$/sDu";
|
Remove linkprefix message, add $linkPrefixCharset
The existing "linkprefix" message is unlikely to be accurately
customized by message translators (as shown by the fact that, of the 10
distinct customizations prior to Iaa7eaa44 (which made them even more
complicated), 3 were broken or entirely ineffective, 1 was half
ineffective, and 2 more seem to have included the Latin-1 Supplement by
accident) or by local wiki admins. So, like linktrail before it, let's
move it out of the system messages and into a separate language
variable.
At the same time, let's make it a simple character set (like
$wgLegalTitleChars) rather than a complicated regular expression. The
complicated regex now lives in the parser.
This also adjusts the output of the API's action=query&meta=siteinfo and
adds an accessor parallel to the linkTrail accessor to Language.
Note the following changes that are not simply extracting the existing
charset from the linkprefix message for $linkPrefixCharset:
* The En message matched all non-ASCII UTF-8 characters by matching the
component bytes (\\x80-\\xff). The new character set is equivalent.
* Various languages were identical to En and so have no $linkPrefixCharset
set. These are: Ary Az Ce Ga Id Ka Kiu Km Ltg Mk Ms Ne Nn Ro Roa_tara Sc Si
Sr_ec Sr_el Tl Tt_cyrl Tt_latn Ug_arab War
* Cu, Uk, and Udm are changed to match any number of „ or « in the prefix.
* Cv tried to include "«" that was redundant to the range \\x80-\\xff
(see En comment). This was removed.
* Diq was entirely bogus, and so was removed.
* Gu included many additional UTF-8 characters that are redundant to the
range \\x80-\\xff (see En comment). These were removed, and the
resulting character set is equivalent to En.
* Mt has been broken since it was introduced in r37242. The charset used is
equivalent to the broken regex.
Bug: 56031
Change-Id: I3369851b33113fc118a1bace38f3ac310cdd9725
2013-10-23 18:06:19 +00:00
|
|
|
|
$linkPrefixCharset = 'a-zıA-Zİ\\x80-\\xff';
|