aboutsummaryrefslogtreecommitdiffstats
path: root/languages/data
Commit message (Collapse)AuthorAgeFilesLines
* Adding default locative rule for UkrainianBase2020-06-121-1/+5
| | | | | | | | Prepending a default preposition to locative GRAMMAR forms in Ukrainian language Bug: T149550 Change-Id: I4649549dc3c722e53c7ea3accb6747df420e56f7
* languages: Add Southern Altay (alt)MarcoAurelio2020-06-091-0/+1
| | | | | Bug: T254854 Change-Id: I62c5c4a7115d0d9d3a08f038ae90b274934930a2
* Merge "Fix native sty name from cебертатар to себертатар"jenkins-bot2020-05-211-1/+1
|\
| * Fix native sty name from cебертатар to себертатарReedy2020-03-071-1/+1
| | | | | | | | | | Bug: T247170 Change-Id: Iafd3d5d2de970d53fa90280bd021c594f930eb15
* | Fix languages/ PSR12.Properties.ConstantVisibility.NotFoundReedy2020-05-161-1/+1
| | | | | | | | Change-Id: I6f88f2eaf2fc69016b99124eeb9f6e2616c148d2
* | Add Seediq (trv) to Names.phpAmir Aharoni2020-05-111-0/+1
| | | | | | | | | | | | | | | | Also known as Taroko, e.g. at https://iso639-3.sil.org/code/trv Bug: T215023 Change-Id: I1da162c7b996e430b5d636d3f7a7c30321262fac
* | Fix SingleSpaceBeforeSingleLineCommentReedy2020-05-111-12/+6
| | | | | | | | Change-Id: I285af438ce484af40741489797f20455726ec110
* | Add Ladin (lld) to Names.phpRhinosF12020-04-291-0/+1
| | | | | | | | | | Bug: T251369 Change-Id: I238c50d5f667c1989c37caf11865e4d9546f4135
* | Merge "Change Moroccan Arabic (ary) to Arabic script"jenkins-bot2020-04-271-1/+1
|\ \
| * | Change Moroccan Arabic (ary) to Arabic scriptAmir Aharoni2020-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Requested in bug T237672, and the Language committee doesn't object. Bug: T237672 Change-Id: I09925647aa03b736c95aaf34c22d16dc7ea4d102
* | | Add Amis (ami) to Names.phpAmir Aharoni2020-04-171-0/+1
|/ / | | | | | | | | Bug: T201269 Change-Id: Icae6ccd9d67491eceef22418ae078fe08cc680d5
* / Add Inari Sami (smn) to Names.phpFomafix2020-03-261-1/+2
|/ | | | | | | | | | | | | | Autonym in lower case: anarâškielâ https://iso639-3.sil.org/code/smn https://www.ethnologue.com/language/smn Also change the autonym of Southern Sami (sma) from upper case (Åarjelsaemien) to lower case (åarjelsaemien) to be consistent to langdb.yaml Bug: T248299 Change-Id: I69f3322b1414a22dfa707792779d9d59cd7b837d
* Chinese Conversion Table Update 2020-1Chiefwei2020-03-031-2/+25
| | | | | | | | | 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: Ia51d3b51e28bedffd8a8d800409e3dbe82f95187
* Set method visibility on languages classesUmherirrender2019-12-091-3/+3
| | | | Change-Id: I5db62d8243ce3abd7c442de10d6143de6dd1aad3
* Fix Shawiya's autonym in Names.phpJon Harald Søby2019-11-251-1/+1
| | | | | | | Change from "tachawit" to "tacawit" per the community. Bug: T194047 Change-Id: I63c8ae88a341760f6754e7f9716956f3bc33e153
* Add genitive grammar for SwedishJon Harald Søby2019-11-081-0/+13
| | | | | | Add file for Swedish (sv) to enable {{GRAMMAR:genitive}} in that language. Change-Id: I6175b53a882f8fe6a9ed88e16c7464593c5ce5d3
* Add genitive grammar for NorwegianJon Harald Søby2019-11-042-0/+24
| | | | | | | Add files for Norwegian Bokmål (nb) and Norwegian Nynorsk (nn) to enable {{GRAMMAR:genitive}} for those two languages. Tested in Vagrant. Change-Id: Ib8d84fa24daffde023203df4e8fa1148b52ea975
* Add [szy] Sakizaya to Names.phpJon Harald Søby2019-10-161-0/+1
| | | | | Bug: T174601 Change-Id: Idd8646917dca143d574a32c3989d23f10ed9123d
* Split some Language methods to LanguageNameUtilsAryeh Gregor2019-10-071-1/+1
| | | | | | | | | | | | | | | | | | | These are static methods that have to do with processing language names and codes. I didn't include fallback behavior, because that would mean a circular dependency with LocalisationCache. In the new class, I renamed AS_AUTONYMS to AUTONYMS, and added a class constant DEFINED for 'mw' to match the existing SUPPORTED and ALL. I also renamed fetchLanguageName(s) to getLanguageName(s). There is 100% test coverage for the code in the new class. This was previously committed as 2e52f48c2ed and reverted because it depended on e4468a1d6b6, which had to be reverted for performance issues. There should be no changes other than rebasing. Bug: T201405 Change-Id: Ifa346c8a92bf1eb57dc5e79458b32b7b26f1ee8a
* Chinese Conversion Table Update 2019-3Chiefwei2019-09-161-7/+49
| | | | | | | | Update the Chinese conversion table routinely to fix bugs reported from https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 . It is only data changes and only works for Chinese WikiProjects. Change-Id: Iaed40e230bd7be0656af3b24837e870743c84700
* Change the Balinese language autonym to "Bali"Amir Aharoni2019-09-111-1/+1
| | | | | | | | | This is done for consistency with how it is in language-data, and with how most other names of languages of Indonesia are written. The word "Basa" means "language" and is usually not necessary in list of languages. Change-Id: I1b5195a0d00c21b51ddb1a10cd3ed7b787363fa3
* Change the autonym of Banjar from "Bahasa Banjar" to "Banjar"Mahuton2019-08-311-1/+1
| | | | | | | Change requested on the Sundanese Wikipedia village pump Bug: T231283 Change-Id: Ib2f49f77634c497135c0b32256fca4e919866a38
* Change the autonym of Sunda from "Basa Sunda" to "Sunda"Mahuton2019-08-311-1/+1
| | | | | | | Change requested on the Sundanese Wikipedia village pump Bug: T228832 Change-Id: Id26493395a028b72f0254c7b866eb074eccbe1f9
* Revert "Make LocalisationCache a service"Amir Sarabadani2019-08-261-1/+1
| | | | | | | | | | | | This reverts commits: - 76a940350d36c323ebedb4ab45cc81ed1c6b6c92 - b78b8804d076618e967c7b31ec15a1bd9e35d1d0 - 2e52f48c2ed8dcf480843e2186f685a86810e2ac - e4468a1d6b6b9fdc5b64800febdc8748d21f213d Bug: T231200 Bug: T231198 Change-Id: I1a7e46a979ae5c9c8130dd3927f6663a216ba753
* Split some Language methods to LanguageNameUtilsAryeh Gregor2019-08-231-1/+1
| | | | | | | | | | | | | | These are static methods that have to do with processing language names and codes. I didn't include fallback behavior, because that would mean a circular dependency with LocalisationCache. In the new class, I renamed AS_AUTONYMS to AUTONYMS, and added a class constant DEFINED for 'mw' to match the existing SUPPORTED and ALL. I also renamed fetchLanguageName(s) to getLanguageName(s). There is 100% test coverage for the code in the new class. Change-Id: I245ae94bfc1f62b6af75ea57525139adf2539fe6
* Change the autonym of Manipuri to Meetei scriptAmir Aharoni2019-08-021-1/+1
| | | | | | | | | | | | | | | | Meetei Mayek script is the one used in schools in Manipur (see the Wikipedia article [[Meitei script]] for references). It is also the script that is used for all the translations in translatewiki [1] and for all the test articles in the Wikimedia Incubator.[2] [1] https://translatewiki.net/w/i.php?title=Special:Translate&filter=translated&group=mediawiki&language=mni&action=translate [2] https://incubator.wikimedia.org/wiki/Special:PrefixIndex/wp/mni Corresponding commit in language-data: https://github.com/wikimedia/language-data/pull/57 Change-Id: I892320f2dfaac05bfc2a544502823a244a9ad1c8
* Merge "Chinese Conversion Table Update 2019-2"jenkins-bot2019-07-131-10/+50
|\
| * Chinese Conversion Table Update 2019-2Chiefwei2019-06-101-10/+50
| | | | | | | | | | | | | | | | Update the Chinese conversion table routinely to fix bugs reported from https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 . It is only data changes and only works for Chinese WikiProjects. Change-Id: I95cb08470ff5fc94ca7d4508e7760ee7bde5a6c7
* | Change the autonym of Minangkabau from "Baso Minangkabau" to "Minangkabau"Mahuton2019-07-081-1/+1
|/ | | | | | | Change requested on the Minangkabau Wikipedia village pump Bug: T224806 Change-Id: I40ddc71f4f6ab73b6d4c4f19ec57bc9c9e221b14
* Correct autonym for rmy (Vlax Romani)Siebrand Mazeland2019-05-211-1/+1
| | | | | Bug: T223524 Change-Id: Id128199119001bd318012d034ef727cdfa256f54
* Add N'Ko to Names.phpAmir Aharoni2019-04-271-0/+1
| | | | | Bug: T221994 Change-Id: I8c8e05ebabec8d50fa089b4d88061667a29d8b83
* Chinese Conversion Table Update 2019-1Chiefwei2019-04-261-44/+50
| | | | | | | | Update the Chinese conversion table routinely to fix bugs reported from https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 . It is only data changes and only works for Chinese WikiProjects. Change-Id: Id2d16722eaa837c37e8696c9dd9a2d2231af26e8
* Merge "Change the autonym of Javanese from "Basa Jawa" to "Jawa""jenkins-bot2019-04-251-1/+1
|\
| * Change the autonym of Javanese from "Basa Jawa" to "Jawa"Amir Aharoni2019-04-201-1/+1
| | | | | | | | | | | | | | | | | | The word "Basa" simply means "language" and it is unnecessary. This was requested at the Javanese Wikipedia village pump: https://jv.wikipedia.org/w/index.php?title=Wikipedia:Warung_Kopi&oldid=1478057#Jawa_utawa_Basa_Jawa Change-Id: Ie5546c868fce2722f70893ece49c05d75302e804
* | Capitalize native name of Western Armenianjhsoby2019-04-231-1/+1
|/ | | | | | | Language names in Western Armenian start with capital letters. Bug: T219975 Change-Id: Ic4e1c8ce395324a0e68a2212576fcfbc3b22bb2f
* Add language support for Saisiyat (xsy)MarcoAurelio2019-02-211-0/+1
| | | | | Bug: T216479 Change-Id: Ide1c708c2cf3124794da650667ab140b1f4e9f5e
* Changed the name of the (gcr) language from "Kreyol Gwiyanè" to "Kriyòl ↵Zoranzoki212019-02-091-1/+1
| | | | | | | | Gwiyannen" Per: https://translatewiki.net/wiki/Thread:Support/Need_Help_! Change-Id: Idb03ad0dd163801ddfd4a7c77efc337303cfb678
* build: Updating mediawiki/mediawiki-codesniffer to 24.0.0Kunal Mehta2019-02-071-5/+5
| | | | Change-Id: I66b1775b7c1d36076d9ca78cbeb42787a743f2aa
* Chinese Conversion Table Update 2018-4Chiefwei2018-12-231-5/+24
| | | | | | | | Update the Chinese conversion table routinely to fix bugs reported from https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 . It is only data changes and only works for Chinese WikiProjects. Change-Id: I6d5b3c190411453673952c3557e2ea81dec885e6
* Merge "Chinese Conversion Table Update 2018-3"jenkins-bot2018-12-101-54/+113
|\
| * Chinese Conversion Table Update 2018-3Chiefwei2018-10-061-54/+113
| | | | | | | | | | | | | | | | Update the Chinese conversion table routinely to fix bugs reported from https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 . It is only data changes and only works for Chinese WikiProjects. Change-Id: Ib9ad77bd57dd55899ce685eb2023d1ee5c739e54
* | Remove duplicate keys from arraysJakub Vrana2018-11-261-4/+0
| | | | | | | | | | | | Found by PHPStan. Change-Id: Ie0e0cfa33b3caa4a13f4dfb04c772c8a0284435a
* | Add langauge 'kjp' Eastern Pwoshandrenkoff2018-10-291-0/+1
| | | | | | | | | | | | | | | | This change adds the Eastern Pwo language with ISO 639-3 code 'kjp' with 'bo' (Tibetian) fallback. The default script is the Burmese script. Bug: T203908 Change-Id: Ic69c5f1398bcd96674254b69f678f21b71feb475
* | Ensure LanguageCode::bcp47() returns a valid BCP 47 language codeC. Scott Ananian2018-10-111-8/+8
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MediaWiki uses a number of nonstandard codes which do not validate according to the IANA language subtag registry. Some of them have the wrong semantics entirely: MediaWiki's `sr-ec` variant maps to BCP 47 `sr-EC` which is "Serbian as used in Ethiopia" (!). Extend LanguageCode::bcp47() to map our nonstandard codes to valid BCP 47 language codes. Export the mapping so that it can be used in JavaScript's corresponding mw.language.bcp47() implementation as well, and return the standard BCP 47 codes in the siteinfo API. Thanks to TheDJ (I10b4473c7e53f027812bbccf26bb47aec15fddfd) and Fomafix (I93efc190714ba76247d30ba49fc21ae872fc3555) for previous attempts at this! Also removed a fixme for the name of 'Twi', dating back to 2004 (f59c3be23b209e178a917cb14ebedcc243c847b6) -- checking tw.wikipedia.org it certainly appears that the autonym of 'Twi' is correctly 'Twi'. Tracking bugs for invalid language codes are T125073 and T145535. Discussion of zh-XX => zh-HanX-XX mapping is at T198419. This is a replay of an earlier merged patch, 8380f0173e79b66f0e2afd6c49cd88afb9f4f6f3, which had to be reverted because it caused regressions in the Babel extension (T199941). Bug: T34483 Bug: T106367 Bug: T120847 Depends-On: I27a5b8e45b34c6b57c1b612b11548001c88cd483 Change-Id: Iebbc604af21d7f2af9c1f1ab2574cb5f309bf6ed
* Write Latin and other scripts with captial letterFomafix2018-10-051-1/+1
| | | | Change-Id: I16c660e54191b63cd6eb3407cb00504665930c4e
* build: Updating mediawiki/mediawiki-codesniffer to 22.0.0Umherirrender2018-09-161-216/+230
| | | | | | | | | Added spaces around . Removed empty return statement which are not required Removed return after phpunit markTestIncomplete, which is throwing to exit the test, no need for a return Change-Id: I2c80b965ee52ba09949e70ea9e7adfc58a1d89ce
* Fix autonym for Armenianjhsoby2018-09-031-1/+1
| | | | | | | | | The Armenian autonym should not have a capital initial, as names of languages are not proper nouns in that language. Bug: T202611 Change-Id: I17cd8706f5fee2f39255c3407b758103e4cb5455
* Merge "Chinese Conversion Table Update 2018-2"jenkins-bot2018-08-211-23/+42
|\
| * Chinese Conversion Table Update 2018-2Chiefwei2018-06-101-23/+42
| | | | | | | | | | | | | | | | Update the Chinese conversion table routinely to fix bugs reported from https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 . It is only data changes and only works for Chinese WikiProjects. Change-Id: I30ff17f8af3542dab38201141c01b1895dd00b10
* | Merge "language: Add generate-normalize-data maintenance script"jenkins-bot2018-08-141-7/+0
|\ \