aboutsummaryrefslogtreecommitdiffstats
path: root/includes/languages
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Use type declaration on undocumented private functions"jenkins-bot2025-04-021-5/+7
|\
| * Use type declaration on undocumented private functionsUmherirrender2025-04-021-5/+7
| | | | | | | | Change-Id: I0d8d2237500ed6f18439410c902d47c42e4119bc
* | Add Buginese (Buginese Script) (bug-bugi) to Names.phptoluayo2025-03-311-0/+1
|/ | | | | Bug: T389916 Change-Id: Ie1c4c6bf1c3dcf5da6410bb282830390b0798405
* Add Papiamento (Aruba) (pap-aw) to Names.phptoluayo2025-03-281-0/+1
| | | | | Bug: T387000 Change-Id: Ia45c70c331c2bb4dda066294e6a516a0652fc5a5
* Merge "Chinese Conversion Table Update 2025-1"jenkins-bot2025-03-261-29/+216
|\
| * Chinese Conversion Table Update 2025-1BAKAHOME\chief2025-01-061-29/+216
| | | | | | | | | | | | | | | | | | Update the Chinese conversion table routinely to fix bugs reported at https://zh.wikipedia.org/wiki/Wikipedia:字词转换/修复请求. It is only data changes and only works for Chinese WikiProjects. Change-Id: I2c7e4818a1dcb4c7027265840732ec503ec60b1a
* | Fix warning that $grammarForms['sh'] is undefinedMarcin Szwarc2025-02-261-0/+5
| | | | | | | | | | Bug: T332467 Change-Id: Ia6fa62028d0f3d6e094274abb9957d1e04a931f6
* | Update autonym for Shan (shn)Nemoralis2025-02-121-1/+1
| | | | | | | | | | Bug: T377856 Change-Id: Id2c33f9a32116e77b52edc6fe2e0f1eb3eefa610
* | Add support for GRAMMAR in Serbo-CroatianMarcin Szwarc2025-02-061-0/+61
| | | | | | | | | | Bug: T332467 Change-Id: Id4cde6acefc94ee5bf6e634772b0cfdfaded33e4
* | Add Lampung Api (ljp) and Wali (wlx) languagesAmir E. Aharoni2025-01-201-0/+2
| | | | | | | | | | | | Bug: T384234 Bug: T384245 Change-Id: I17fe7d756c1fbb79b497ec79e5fdf4f94639a985
* | Fix incorrect ucfirst/lcfirst transformations for Karakalpak alphabetravi17182025-01-031-6/+6
|/ | | | | | | The ucfirst function transforms the lowercase 'ı' to the uppercase 'Í', and the lcfirst function transforms the uppercase 'Í' to the lowercase 'ı' in the Karakalpak alphabet. Bug: T335175 Change-Id: Ic9d251b663c52901f4f461d1ecf737dd649c45fd
* Add Fur language (fvr)Amir E. Aharoni2024-12-111-0/+1
| | | | | Bug: T381894 Change-Id: Id4795a903dcd71dc972cfb300125240a66284a9a
* Add Coptic language (cop)Amir E. Aharoni2024-12-111-0/+1
| | | | | Bug: T381463 Change-Id: I0f8719837afa9f267719c88f9b5b650ba304acdc
* Languages: Add cdo-hant, cdo-latn (Mindong - Traditional Han script, Latin ↵Winston Sung2024-11-221-1/+3
| | | | | | | | | script) to Names.php Bug: T139010 Bug: T379829 Bug: T380046 Change-Id: Ib579e4be71176685d50e7893d736f908064ec77e
* Add Hunde (hke) to coreSrishakatux2024-11-131-0/+1
| | | | | | | Added to `includes/languages/data/Names.php` and `RELEASE-NOTES`. Namespace translations to be added later. Bug: T379137 Change-Id: Id83372eb801a2bc52cd15fa0f0ef70b4be2404c7
* Add Central Kanuri (knc), deprecate Kanuri (kr)Amir E. Aharoni2024-10-201-1/+2
| | | | | | | | | | | | | | | Should be merged only when appropriate for migrating from "kr" to "knc" on translatewiki. See bug T356144. The autonym is from Ethnologue. The namespace translations are by User:MohammedBama123 (Mohammed Mustapha Bulama), shared at: https://incubator.wikimedia.org/w/index.php?title=Talk:Wp/knc/Main_Page&oldid=6416513#Namespaces Bug: T356144 Change-Id: Ifa1a692619d3b12e279cc74482b6327262fcb20f
* Change name of dtp languageNMW032024-10-171-1/+1
| | | | | Bug: T375891 Change-Id: Ic3def3ecfce481f5a35615182e3acfcecf911f12
* Use explicit nullable type on parameter argumentsUmherirrender2024-10-161-1/+1
| | | | | | | | | | | Implicitly marking parameter $... as nullable is deprecated in php8.4, the explicit nullable type must be used instead Created with autofix from Ide15839e98a6229c22584d1c1c88c690982e1d7a Break one long line in SpecialPage.php Bug: T376276 Change-Id: I807257b2ba1ab2744ab74d9572c9c3d3ac2a968e
* Switch over a bunch of class_alias uses to actualsJames D. Forrester2024-10-0328-0/+40
| | | | Change-Id: Id175a83e71cc910eaee5d5890a9106872a3ca3b8
* Add Southern Ndebele language (nr)Amir E. Aharoni2024-10-021-0/+1
| | | | | | | | | | | | | | | | This is done experimentally, with only a Names.php entry and namespace translations, before we have actual localized strings. For details, see https://www.mediawiki.org/wiki/Future_of_Language_Incubation. I've tested it on my local MediaWiki instance, and it works as expected: no user interface translations, but the namespaces appear corretly in page titles, Special:AllPages, etc., when `$wgLanguageCode = 'nr'` is set in LocalSettings.php, and the language name appears correctly in the dropdown in the "Internationalisation" section in the Preferences. Bug: T375377 Change-Id: I44cf6a6dabf2ade873506a78573db4f7783a9c99
* Merge "Add Duala language (dua)"jenkins-bot2024-10-021-0/+1
|\
| * Add Duala language (dua)Amir E. Aharoni2024-10-021-0/+1
| | | | | | | | | | Bug: T376248 Change-Id: I70a4b323cbf1b6e34b9a079799daa8e33240cb30
* | Update autonym for Komering (kge)Amir E. Aharoni2024-10-021-1/+1
|/ | | | | Bug: T375947 Change-Id: I6c343a277630fbf2da3214ab7191172dda465c15
* Merge "Fix Manchu language configuration"jenkins-bot2024-09-301-1/+1
|\
| * Fix Manchu language configurationAmir E. Aharoni2024-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reflects the actual situation on translatewiki and in the i18n json files: * mnc is the main code, and it is in the Latin script * mnc-mong is in the Mongolian script * mnc-latn is a compatibility redirect to mnc In the future, we may swap between mnc and mnc-latn, but for now, let's at least make sure that the two variants are supported in core properly. This also adds namespace translations given by User:MiiCii at https://translatewiki.net/w/i.php?title=User_talk:MiiCii&oldid=12654825 (Note the different "Category" translation towards the end.) Bug: T284043 Change-Id: I3998d84aa51f3fced5642f611ba235687f4fe003
* | Merge "Add Luba-Lulua (lua) to Names.php"jenkins-bot2024-09-301-0/+1
|\ \
| * | Add Luba-Lulua (lua) to Names.phpAmir E. Aharoni2024-09-301-0/+1
| |/ | | | | | | | | Bug: T375999 Change-Id: I7eb614c7fd968f245e60b644a4c87028d2fe3fcb
* / languages: Use const in Language::segmentByWord overridesUmherirrender2024-09-283-17/+21
|/ | | | | | | | Keep the string once, no need to build the regex each time the function is called Use single quote strings, remove extra slash escape Change-Id: I525c2bd287f4dc70d7423b19e2164044acf3d95e
* Add Interslavic (Cyrillic; isv-cyrl)Amir E. Aharoni2024-09-231-0/+1
| | | | | | | | Also add gender aliases to Interslavic (Latin) and custom plural rules for isv-cyrl. Bug: T375360 Change-Id: I1ea5e36b09a4eecbc0edf085deb50a392f7fcca5
* Merge "Update English langauge name of Puxian (cpx) in comments"jenkins-bot2024-09-221-4/+4
|\
| * Update English langauge name of Puxian (cpx) in commentsWinston Sung2024-09-221-4/+4
| | | | | | | | Change-Id: I6b3a57958e1626f5ee7c1d8ac24ab87ff84c8dc8
* | Languages: Fix written script for Xiang (hsn)Winston Sung2024-09-221-1/+1
|/ | | | | | | | | The Xiang on translatewiki and Wikimedia Incubator Wikipedia-hsn were written in Traditional Han script (Hant) instead of Simplified Han script (Hans): https://translatewiki.net/wiki/Portal:Hsn https://incubator.wikimedia.org/wiki/Wp/hsn Change-Id: I2b0566cb6f13556002b38f6bc9df08f7b9c6d2a4
* Add Tigre (tig) to Names.phpAmir E. Aharoni2024-09-201-0/+1
| | | | | Bug: T375052 Change-Id: Ie7b2db805386e6eb3d3603f6d0686f27450bbf76
* Merge "language: More use of const and cleanup"jenkins-bot2024-09-171-400/+373
|\
| * language: More use of const and cleanupUmherirrender2024-09-171-400/+373
| | | | | | | | | | | | | | | | | | php allows to combine strings and arrays in const, use this to move more code in the converter to const. Use typed properties Also cleanup whitespaces a bit Change-Id: I7b7796b48aacf76dce658364d17cdc84d644e40d
* | languages: Convert Names::$names to constantUmherirrender2024-09-171-2/+10
|/ | | | | | Deprecate the old static variable as it is used in some extensions Change-Id: Ifddb6a95d0d81fef4c480ef96dbc1fc9cbb93401
* language: Add missing documentation to class propertiesUmherirrender2024-09-171-0/+8
| | | | | | | | | | Add doc-typehints to class properties found by the PropertyDocumentation sniff to improve the documentation. Once the sniff is enabled it avoids that new code is missing type declarations. This is focused on documentation and does not change code. Change-Id: I73c413727a63d14efb5028b27128784c98724110
* language: Use const keyword for mapping of stringsUmherirrender2024-09-173-26/+26
| | | | | | | The variables on the converter are not usable outside of the class, so making the public ones also private. Change-Id: I6087dcdac761916359009548beb5210671a32ee5
* Fix comment spelling in Names.phpAmir E. Aharoni2024-09-131-1/+1
| | | | Change-Id: I5a989a1ad35f4459c96fc12f74cb1e17894fcb0a
* Add Haryanvi language (bgc)Amir E. Aharoni2024-08-281-0/+1
| | | | | Bug: T364737 Change-Id: Ic88ea60db67ed32dd8ac4534025f71537b1d0e11
* Languages: Add nan-latn-tailo (Minnan - Tâi-lô) to Names.phpWinston Sung2024-08-221-0/+1
| | | | | | | | | | | | First export in commit 5c6b75659f59ca6baa00218e2ac5c1276fc03468 (Change-Id Ied5002d2ca82a05d69e55442561f254f610e0d5c ). Language codes nan, nan-hani, nan-latn will be used for language converter codes. Bug: T354937 Bug: T369899 Change-Id: If68512a24cac67daa033a634b1fb57d872d0039c
* Chinese Conversion Table Update 2024-3.1Chiefwei2024-08-181-3/+8
| | | | | | | | | Update the Chinese conversion table routinely to fix bugs reported at https://zh.wikipedia.org/wiki/Wikipedia:字词转换/修复请求. It is only data changes and only works for Chinese WikiProjects. Change-Id: I02396a408fb00ef32ddf6d9b164f37dffc3e0dab
* Chinese Conversion Table Update 2024-3Chiefwei2024-08-111-14/+21
| | | | | | | | | Update the Chinese conversion table routinely to fix bugs reported at https://zh.wikipedia.org/wiki/Wikipedia:字词转换/修复请求. It is only data changes and only works for Chinese WikiProjects. Change-Id: I50920b1be658741bfb3643e3992b3ebd6727e0ec
* Merge "Chinese Conversion Table Update 2024-2"jenkins-bot2024-08-091-117/+128
|\
| * Chinese Conversion Table Update 2024-2Chiefwei2024-06-101-117/+128
| | | | | | | | | | | | | | | | | | Update the Chinese conversion table routinely to fix bugs reported at https://zh.wikipedia.org/wiki/Wikipedia:字词转换/修复请求. It is only data changes and only works for Chinese WikiProjects. Change-Id: I4da56d4083406639a41a15de6ed9263411217ac3
* | Merge "Languages: Add nan-latn-pehoeji (Minnan - Pe̍h-ōe-jī) to Names.php"jenkins-bot2024-07-291-0/+1
|\ \
| * | Languages: Add nan-latn-pehoeji (Minnan - Pe̍h-ōe-jī) to Names.phpWinston Sung2024-07-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First export in commit 754c37901f945d833350bf01474cf62e5ebd1798 (Change-Id Ie16c8fbd777a51cebafd32cd1406907c763be975 ). Language codes nan, nan-hani, nan-latn will be used for language converter codes. Bug: T354937 Bug: T370987 Change-Id: Ia87cfa3ec3a71e554ba767bacdb970549454aa93
* | | Add Saint Lucian Creole (acf)Amir E. Aharoni2024-07-261-0/+1
|/ / | | | | | | | | Bug: T371051 Change-Id: I1ebd651aa9a4bd15a1f4dc898abdae7a8efb4406
* | Add Nupe language (nup)Amir E. Aharoni2024-07-171-0/+1
| | | | | | | | | | | | | | MessagesNup.php will be added later when we have namespaces. Bug: T370123 Change-Id: I2504d4005a5a706448a0f784d38987e693254bbe
* | Languages: Add hak-* (Hakka) to Names.phpWinston Sung2024-07-161-1/+4
| | | | | | | | | | | | This included hak-hans, hak-hant, hak-latn. Change-Id: If464fafeaa2360e31971f75c3c234bc4a6e694aa