Commit graph

198 commits

Author SHA1 Message Date
Jon Harald Søby
46f2f9596c Add genitive grammar for Norwegian
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
2019-11-04 08:41:34 +00:00
Jon Harald Søby
14c0ed3928 Add [szy] Sakizaya to Names.php
Bug: T174601
Change-Id: Idd8646917dca143d574a32c3989d23f10ed9123d
2019-10-16 14:22:55 +02:00
Aryeh Gregor
6d80b6c082 Split some Language methods to LanguageNameUtils
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 2e52f48c2e and reverted because it
depended on e4468a1d6b, which had to be reverted for performance
issues. There should be no changes other than rebasing.

Bug: T201405
Change-Id: Ifa346c8a92bf1eb57dc5e79458b32b7b26f1ee8a
2019-10-07 15:20:52 -07:00
Chiefwei
5845b5d55f Chinese Conversion Table Update 2019-3
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
2019-09-16 22:30:52 +08:00
Amir Aharoni
17ff5193b9 Change the Balinese language autonym to "Bali"
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
2019-09-11 11:54:35 +03:00
Mahuton
6cd242011e Change the autonym of Banjar from "Bahasa Banjar" to "Banjar"
Change requested on the Sundanese Wikipedia village pump

Bug: T231283
Change-Id: Ib2f49f77634c497135c0b32256fca4e919866a38
2019-08-31 12:05:39 +00:00
Mahuton
a4d29699bf Change the autonym of Sunda from "Basa Sunda" to "Sunda"
Change requested on the Sundanese Wikipedia village pump

Bug: T228832
Change-Id: Id26493395a028b72f0254c7b866eb074eccbe1f9
2019-08-31 12:02:35 +00:00
Amir Sarabadani
308e6427ae Revert "Make LocalisationCache a service"
This reverts commits:
 - 76a940350d
 - b78b8804d0
 - 2e52f48c2e
 - e4468a1d6b

Bug: T231200
Bug: T231198
Change-Id: I1a7e46a979ae5c9c8130dd3927f6663a216ba753
2019-08-26 18:28:26 +02:00
Aryeh Gregor
2e52f48c2e Split some Language methods to LanguageNameUtils
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
2019-08-23 12:52:35 +03:00
Amir Aharoni
a5e4af06bf Change the autonym of Manipuri to Meetei script
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
2019-08-02 15:46:20 +03:00
jenkins-bot
204d0df4d2 Merge "Chinese Conversion Table Update 2019-2" 2019-07-13 18:33:04 +00:00
Mahuton
1aaadd41ff Change the autonym of Minangkabau from "Baso Minangkabau" to "Minangkabau"
Change requested on the Minangkabau Wikipedia village pump

Bug: T224806
Change-Id: I40ddc71f4f6ab73b6d4c4f19ec57bc9c9e221b14
2019-07-08 07:06:36 +02:00
Chiefwei
16a901a274 Chinese Conversion Table Update 2019-2
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
2019-06-10 22:44:29 +08:00
Siebrand Mazeland
193636c33e Correct autonym for rmy (Vlax Romani)
Bug: T223524
Change-Id: Id128199119001bd318012d034ef727cdfa256f54
2019-05-21 09:00:14 +02:00
Amir Aharoni
f6f5987877 Add N'Ko to Names.php
Bug: T221994
Change-Id: I8c8e05ebabec8d50fa089b4d88061667a29d8b83
2019-04-27 07:51:40 +03:00
Chiefwei
f415b6e162 Chinese Conversion Table Update 2019-1
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
2019-04-26 23:34:57 +00:00
jenkins-bot
3f27499122 Merge "Change the autonym of Javanese from "Basa Jawa" to "Jawa"" 2019-04-25 23:19:07 +00:00
jhsoby
85c5164bab Capitalize native name of Western Armenian
Language names in Western Armenian start with capital letters.

Bug: T219975
Change-Id: Ic4e1c8ce395324a0e68a2212576fcfbc3b22bb2f
2019-04-23 13:30:50 +00:00
Amir Aharoni
250c10bca0 Change the autonym of Javanese from "Basa Jawa" to "Jawa"
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
2019-04-20 14:31:59 +03:00
MarcoAurelio
ccf2039021 Add language support for Saisiyat (xsy)
Bug: T216479
Change-Id: Ide1c708c2cf3124794da650667ab140b1f4e9f5e
2019-02-21 17:39:27 +00:00
Zoranzoki21
995941d3f8 Changed the name of the (gcr) language from "Kreyol Gwiyanè" to "Kriyòl Gwiyannen"
Per: https://translatewiki.net/wiki/Thread:Support/Need_Help_!

Change-Id: Idb03ad0dd163801ddfd4a7c77efc337303cfb678
2019-02-09 14:38:47 +00:00
Kunal Mehta
cc5d9a92a2 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I66b1775b7c1d36076d9ca78cbeb42787a743f2aa
2019-02-07 18:39:42 +00:00
Chiefwei
7316fe48a7 Chinese Conversion Table Update 2018-4
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
2018-12-23 13:45:50 +08:00
jenkins-bot
1d5344025f Merge "Chinese Conversion Table Update 2018-3" 2018-12-10 23:55:03 +00:00
Jakub Vrana
9f14c02e20 Remove duplicate keys from arrays
Found by PHPStan.

Change-Id: Ie0e0cfa33b3caa4a13f4dfb04c772c8a0284435a
2018-11-26 19:22:08 +01:00
shandrenkoff
3102742206 Add langauge 'kjp' Eastern Pwo
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
2018-10-29 15:21:09 +00:00
C. Scott Ananian
21ead7a98d Ensure LanguageCode::bcp47() returns a valid BCP 47 language code
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
(f59c3be23b) -- 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,
8380f0173e, 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
2018-10-11 01:53:54 -04:00
Chiefwei
eb34e6c89c Chinese Conversion Table Update 2018-3
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
2018-10-06 18:00:45 +08:00
Fomafix
5632815976 Write Latin and other scripts with captial letter
Change-Id: I16c660e54191b63cd6eb3407cb00504665930c4e
2018-10-05 18:49:08 +02:00
Umherirrender
a4caa4d0c6 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
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
2018-09-16 15:51:11 +00:00
jhsoby
109efd4c99 Fix autonym for Armenian
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
2018-09-03 04:32:27 +00:00
jenkins-bot
5410cfccce Merge "Chinese Conversion Table Update 2018-2" 2018-08-21 03:12:13 +00:00
jenkins-bot
be74c82f9a Merge "language: Add generate-normalize-data maintenance script" 2018-08-14 23:21:10 +00:00
MarcoAurelio
fa6d6eb9bf Add language support for Mon (mnw)
Bug: T201583
Change-Id: Ic03b910c3cfc2419ece783d04adb486570416ba3
2018-08-09 18:53:56 +00:00
jenkins-bot
3de7bf779d Merge "Change name of Santali to localized version" 2018-08-06 13:46:30 +00:00
MarcoAurelio
3d6a189e3a Add language support for Western Armenian (hyw)
* Language name: Western Armenian <https://www.ethnologue.com/language/hyw>.
 * Local version: արեւմտահայերէն
 * ISO639-3: hyw <https://iso639-3.sil.org/code/hyw>.
 * Fallback: Armenian (hy).

Bug: T201276
Change-Id: Ic76d7a9a1fa8541fd422a4287044de4daaa6665d
2018-08-06 12:38:14 +02:00
Martin Urbanec
8f85bbd7a9 Change name of Santali to localized version
Bug: T198400
Change-Id: Id2bbcfebf32903c4d8882e2b4f18f37a8a5c3366
2018-08-05 18:30:28 +02:00
Timo Tijhof
cefef78e54 language: Add generate-normalize-data maintenance script
Change-Id: I64658cb74d81365a99d6b0a01807324eb5a39320
2018-08-01 22:39:49 +00:00
Greg Grossmeier
b302b0cd1c Revert "Ensure LanguageCode::bcp47() returns a valid BCP 47 language code"
This reverts commit 8380f0173e.

Reason for revert: Caused T199941

Bug: T199941
Change-Id: I93af756a2d70d6bc91f828fe6ac19bf10ca8788f
2018-07-23 17:27:23 +00:00
Timo Tijhof
ff7d5965b2 language: Document sources of data and example usage
Change-Id: I0c72069d010285d9b88ff83bc1478410961065d3
2018-07-19 20:06:28 -07:00
C. Scott Ananian
8380f0173e Ensure LanguageCode::bcp47() returns a valid BCP 47 language code
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.

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
(f59c3be23b) -- 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.

Bug: T34483
Bug: T106367
Bug: T120847
Change-Id: I807dd55d49e9bd19443329231326a5b0d3e6c453
2018-07-13 14:56:18 -04:00
MarcoAurelio
bc9e865ab7 Add Manipuri/Meitei to Names.php
Bug: T198132
Change-Id: I43620c1f34eecda69c61ea0bb13a213e0e6a457d
2018-06-29 05:40:48 +00:00
Niklas Laxström
a19320bf90 Add the es-419 language code to support South American Spanish
This code is useful for targeting Spanish spoken in the Latin America
and the Caribbean region. There are no plans to make this available as
an interface language, hence I am not adding a language file with a
fallback to 'es'.

Bug: T112889
Change-Id: If7f0ed7a13f1cc86985ce5ce509dcf543cc1c0ff
2018-06-24 18:28:02 +00:00
Étienne Beaulé
ef7ff1c26d
Add langauge 'zgh' Standard Moroccan Amazigh
This change adds the Standard Moroccan Amazigh language with ISO
639-3 code 'zgh' with 'kab' (Kabyle) fallback. The default script is the
Neo-Tifinagh script.

Bug: T137491
Change-Id: Idd13f92d7ae05cd47267558c8ff4fa368b701e24
2018-06-11 10:24:08 -03:00
Chiefwei
e7a94dce0e Chinese Conversion Table Update 2018-2
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
2018-06-10 23:05:19 +08:00
jenkins-bot
e602b197ab Merge "(y)etsin fixes, test refactoring, and misc fixes" 2018-06-08 20:46:12 +00:00
Bartosz Dziewoński
0313128b10 Use PHP 7 "\u{NNNN}" Unicode codepoint escapes in string literals
In cases where we're operating on text data (and not binary data),
use e.g. "\u{00A0}" to refer directly to the Unicode character
'NO-BREAK SPACE' instead of "\xc2\xa0" to specify the bytes C2h A0h
(which correspond to the UTF-8 encoding of that character). This
makes it easier to look up those mysterious sequences, as not all
are as recognizable as the no-break space.

This is not enforced by PHP, but I think we should write those in
uppercase and zero-padded to at least four characters, like the
Unicode standard does.

Note that not all "\xNN" escapes can be automatically replaced:
* We can't use Unicode escapes for binary data that is not UTF-8
  (e.g. in code converting from legacy encodings or testing the
  handling of invalid UTF-8 byte sequences).
* '\xNN' escapes in regular expressions in single-quoted strings
  are actually handled by PCRE and have to be dealt with carefully
  (those regexps should probably be changed to use the /u modifier).
* "\xNN" referring to ASCII characters ("\x7F" and lower) should
  probably be left as-is.

The replacements in this commit were done semi-manually by piping
the existing "\xNN" escapes through the following terrible Ruby
script I devised:

  chars = eval('"' + ARGV[0] + '"').force_encoding('utf-8')
  puts chars.split('').map{|char|
    '\\u{' + char.ord.to_s(16).upcase.rjust(4, '0') + '}'
  }.join('')

Change-Id: Idc3dee3a7fb5ebfaef395754d8859b18f1f8769a
2018-06-04 16:20:13 +00:00
MarcoAurelio
6ebd5fd316 Add language support for Batak Mandailing (btm)
Bug: T195940
Change-Id: I488b5aea8d33c17ee801a59963ceced13c944ee4
2018-06-01 12:34:00 +02:00
tjones
669d1ed192 (y)etsin fixes, test refactoring, and misc fixes
* Fix etsin/етсин/этсин as noted in If933fc67845ac994d9ddfdf8349aff445ec9b13a
** only convert tsin to тсин and let the other rules sort out the e

* Refactor most tests to be word-specific, which uncovered a couple of
bugs in corner cases
** rol/üst prefix matches should match whole words (original [^ü] regex
assumed word could not be end of string

* Fixed incidental bugs I noticed while looking into the items above
** куркчи => kürkçi was in the wrong section
** cönk => джонк was in the right section, but reversed

* Added additional tests cases for all of the above.

Change-Id: Ia96be488a7b41c3ddba623b5c9262703b1c82687
2018-05-29 14:30:04 -04:00
jenkins-bot
d8a144d38e Merge "languages: Use static array files for normalizer data" 2018-05-25 23:03:18 +00:00
Timo Tijhof
4f22361759 languages: Use static array files for normalizer data
This reduces the number of '.ser' files to 1 (we still have
first-letters-root.ser).

Change-Id: Ib0ee0d826da34b1825fd5bb74563c6bbadeec75c
2018-05-22 21:38:43 +00:00
tjones
cbb07cdc33 Crimean Tatar/crh transliteration odds and ends
* refactor '\b' into WB const to make it easy to update in the future
* add new ц-related exceptions

Bug: T193764
Change-Id: Ib707136f8f2598d1f8ec995bf129b436dfb53cd9
2018-05-22 14:59:55 -04:00
jenkins-bot
47db328765 Merge "Minor fixes to CRH language conversion." 2018-05-22 18:47:13 +00:00
Fomafix
d65ac78277 Replace HTTP by HTTPS
* https://www.unicode.org/ instead of http://www.unicode.org/ or
  http://unicode.org/
* https://secure.php.net/ instead of http://www.php.net/ or
  http://php.net/
* https://hhvm.com/ instead of http://hhvm.com/
* https://www.iis.net/ instead of http://www.iis.net/

Change-Id: I84d818a7e0ced5ffb9485ec89a75efb28a77c1e0
2018-05-22 12:14:14 +02:00
MarcoAurelio
4f8cf894f9 Add support for Tachawit (Latin script) (shy-latn)
Bug: T194047
Change-Id: If02515754857c224579519b94fe6fea27e1bd08f
2018-05-21 08:39:15 +00:00
Fomafix
afe88c0078 Names.php: Remove U+200E after autonym of language 'lki'
The LEFT-TO-RIGHT MARK (U+200E) after the RTL autonym of the language
'lki' was inserted in 04fcd20c.

The LRM causes wrong parentheses on mixed bidi sequences on Google
Chrome:
<span dir="rtl">({{#language:lki}}) Foo</span>

Change-Id: I9db84938e2b2142a3cb61955dfcbda790e6bbc5f
2018-05-16 20:16:10 +02:00
C. Scott Ananian
685eba4360 Minor fixes to CRH language conversion.
* Move a many-to-one mapping from the L2C to the C2L table where it
  belongs.

* Fix some regular expression patterns which ended up with misnumbered
  replacement strings.

* All regular expressions should have the `u` (unicode) flag set.

* Typo/spelling fixes in comments

Change-Id: If933fc67845ac994d9ddfdf8349aff445ec9b13a
2018-05-12 14:37:09 -04:00
Fomafix
7e974c8c42 Names.php: Add missing LTR markers after closing parentheses
Currently some language autonyms with parentheses have misaligned
parentheses on RTL environment on some browser. To reproduce open
index.php?title=Special:Preferences&uselang=en-rtl
Google Chrome is affected. Mozilla Firefox is not affected.

This changes fixes this problem like at the other autonyms with
parentheses.

Change-Id: Ie01116821b067017434681ea995e97ada8ff0a6d
2018-05-09 06:49:41 +02:00
jenkins-bot
0db03df62e Merge "Change language name of ko-kp to 조선말" 2018-05-09 04:36:45 +00:00
MarcoAurelio
c3154a5c84 Add Ambonese Malay (abs) to Names.php
Bug: T193566
Change-Id: I2c3b3812f5f2e4bb66c48da2b442194003eabb67
2018-05-04 08:24:16 +00:00
tjones
14f8dc35db CRH Transliteration Pattern Matching Fixes
Refactor to match exceptions as patterns, not words
- break exception list to C2L and L2C pattern sets
- change main loop to break only on Roman numerals and transliterate
  everything else, rather than tokenizing on single-script words
  (this fixes the km² problem, too)
  - update word anchors from ^ and $ to \b
  - only process Roman numerals for L2C translit
  - add exception for single "Roman" character followed by a period
    which looks like an initial
- consolidate multi-step transliteration into regsConverter()
- remove regex support from main exception list to support strtr()
- re-organize some prefix/suffix/whole word patterns to the right place
- add tests for recently fixed use cases
- add support for many-to-one mappings in both directions
- update character classes, exception lists,  and regexes based on
  speaker feedback and example texts

Misc other fixes:
- fix some character classes errors
- remove unneeded character classes
- add tests for Roman numerals and quotes
- add tests for affixes and regexes

Bug: T188321
Bug: T189512
Change-Id: I056d36ff2b8f63b3998a5d3a442d8d539c15488d
2018-04-27 19:17:51 -04:00
Yongmin Hong
0c8f186798 Change language name of ko-kp to 조선말
Ref T190324 for more information. 조선말 is more common name than
the current "한국어 (조선)".

Bug: T190324
Change-Id: Ie94e60887afe05a92d240ad91faaa9aa7b9b6ea5
Signed-off-by: Yongmin Hong <revi@pobox.com>
2018-04-21 03:48:40 +09:00
Ghybu
aa75b50ee5 Modify {{#language:ku}}: Kurdî should be written lower-case instead
Bug: T190205
Change-Id: Ieacc885a99d825403c65a2caa36f9011125ad9ce
2018-03-24 15:14:02 +00:00
jenkins-bot
a6abe2ad7a Merge "Add Russian grammar forms to support Wikiversity" 2018-03-14 08:37:27 +00:00
jenkins-bot
8269ed4dfd Merge "Add support for 'hu-formal'" 2018-03-07 10:55:43 +00:00
Amire80
398e2a7c9d Add Russian grammar forms to support Wikiversity
Change-Id: I70fcb03db62307116ec96d4c242e6796534b57a1
2018-02-26 14:18:01 +02:00
Chiefwei
cf351bcfc2 Chinese Conversion Table Update 2018-1
1. 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 .

2. Fully support the conversion of Chinese characters included in "Table of General Standard Chinese Characters" (通用规范汉字表).

It is only data changes and only works for Chinese WikiProjects.

Change-Id: I7f94eb01b3b50427cbb96084152e574b066d5fbf
2018-02-25 21:43:18 +08:00
jenkins-bot
e81a7da6c0 Merge "Fix English name for lb" 2018-02-21 11:42:23 +00:00
Niklas Laxström
74a97f2716 Fix English name for lb
This version has been in MediaWiki longer than my email history,
since 2005 at least. This spelling is not present in
https://en.wikipedia.org/wiki/Luxembourgish

Change-Id: Ibda7e6428a2c79b9f7d88892ef1c16e9921ae934
2018-02-21 12:12:20 +01:00
Fomafix
289e4204ac Add support for 'hu-formal'
Hungarian formal address. First exported on Ic6f9b78a.

Bug: T187824
Change-Id: I1f8e4122605d5c881b0690be98d9382b4406e1ce
2018-02-20 20:08:23 +01:00
MarcoAurelio
3fbb631ee4 Add support for 'es-formal'
Spanish formal address. First exported on Id132ebc6.

Bug: T187750
Change-Id: Ia97b750bde01ceee7db0ea826e4f87bb9a2f0a93
2018-02-19 21:24:28 +00:00
MarcoAurelio
5e797dd186 Add support for Kumyk (kum)
Bug: T186647
Change-Id: I704e493d743d54071fc6f5341ea04e8a48ebaad7
2018-02-07 11:44:52 +01:00
MarcoAurelio
887745d4db Add support from Guianan Creole (gcr)
Bug: T186635
Change-Id: I13334bb83562fc943fd69ef1f0fc3cd85aceffe1
2018-02-06 21:57:48 +00:00
MarcoAurelio
c50edb31e8 Add Siberian Tatar (sty) language
Bug: T186359
Change-Id: Iecfdda0bcfbcc491565b6de36046791a3e5c540a
2018-02-03 00:45:07 +00:00
Jayprakash12345
2f70fe4256 Add Nyungar (nys) to Names.php & release note
Bug: T182305
Change-Id: Ie6a5881a6b20cecf8f73707dbb3c58f1190a3323
2018-01-05 18:36:25 +00:00
jenkins-bot
dbad540cd3 Merge "Chinese Conversion Table Update 2017-6" 2018-01-02 07:21:52 +00:00
Thiemo Mättig
409da2d8b3 Remove leading backslashes from "use \…" tags
Change-Id: I494b029de089a07e3b946ee78293a12d5036f63e
2017-12-28 16:30:05 +01:00
Chiefwei
f778609cd0 Chinese Conversion Table Update 2017-6
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: I4bf1e1ae2efd157fa74650b9ece0cce211c66598
2017-12-09 16:54:29 +08:00
jenkins-bot
2ef178072f Merge "Chinese Conversion Table Update 2017-5" 2017-12-09 04:50:47 +00:00
tjones
a0b511319c Crimean Tatar Transliteration
This is a first pass at Latin/Cyrillic translitertion for Crimean
Tatar (crh).

Includes transliteration tables, prefix/suffix mappings, regex
mappings, and exceptions lists for words and abbreviations.

Regularize CRH language name in messages/* files.

Fix "varient" typos in qqq.json.

Add unit tests for CRH transliteration.

Bug: T23582
Change-Id: I424703f99adf837f6217872b882d1ea26bfdd068
2017-11-20 16:56:38 -05:00
zoranzoki21
f0828ff475 Removed Toki Pona localization files
Bug: T132899
Bug: T178730
Change-Id: I4c61b3ef42cdc24fee74587965240ca08242867e
2017-10-24 21:27:47 +00:00
Chiefwei
d255f6a886 Chinese Conversion Table Update 2017-5
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: I8ad74e6d7696e51aa691e0f026e11b07c8f90a78
2017-10-20 16:37:50 +08:00
jhsoby
7239853038 Updating native language name for Northern Sami
Bug: T156589
Change-Id: Iec69f8654d6eabb7b644726fd63f00edb01dc1e9
2017-10-17 14:58:41 +02:00
Chiefwei
7cfabd5ff5 Chinese Conversion Table Update 2017-4
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: Ic66546d3a47e4dd946ae67c636a638ca181b0ca1
2017-09-12 23:04:18 +00:00
Amire80
661e2a838b Add Atayal (tay) language
Bug: T173383
Change-Id: Id0607ca4a748f88476fefd081864b1282e9bcb8d
2017-08-25 21:46:20 +02:00
jenkins-bot
d5a7166771 Merge "Rename autonym for 'no' from 'norsk bokmål' to 'norsk'" 2017-08-10 19:21:27 +00:00
Amire80
0d0a419609 Add Saraiki (skr) to Names.php
Bug: T171347
Change-Id: I145485b3d94ab2154a7dadbda166b16207f7c21c
2017-07-23 14:20:48 +03:00
Amir Sarabadani
fa7cfe087b Rename ckb to Kurdish
Bug: T116761
Change-Id: If5abc7c859c3fbf13e3ebf1be98693ee6fc04d9a
2017-07-09 16:40:14 +00:00
Bartosz Dziewoński
c5b1097290 Hide Pig Latin language entirely if $wgUsePigLatinVariant is false
Previously, even if $wgUsePigLatinVariant was false, the language
would show up on Special:Preferences (and some other places) as
'en-x-piglatin - Igpay Atinlay'.

Follow-up to d8375bee24.

Change-Id: I08faacabca87c04299c7b535be8df1770e0a37ac
2017-06-16 20:43:28 +02:00
Liangent
d8375bee24 New language variant 'en-x-piglatin' for easier variant testing
Guarded by the $wgUsePigLatinVariant variable, off by default.

Pig Latin is a language game where words in English are altered
according to the following rules:

* Words starting with a vowel have a '-way' suffix appended.
* Words starting with a consonant have the initial consonants (or 'qu'
  group) moved to the end and an '-ay' suffix appended.

https://en.wikipedia.org/wiki/Pig_Latin

* Added 'en-x-piglatin' as a language name.
* Added 'en' to LanguageConverter::$languagesWithVariants.
* Added LanguageEn class and its corresponding EnConverter which
  provides one-way translation from English to Pig Latin.
* Some minor internal changes in code that assumed that English
  doesn't have a language class or converter.

Bug: T45547
Depends-On: I1d9691c784032669979f8109c9a5f65cbf4122c9
Change-Id: I7fa2d85d6364958c5138366e8b4504a2697a8731
2017-06-12 16:59:57 -04:00
Sébastien Santoro
03e306dd3b Add kbp language code
Bug: T160915
Change-Id: I1de0c2eb0228697544f2e3bfedf76bc37ac3f679
2017-05-25 17:27:50 +02:00
Chiefwei
b8076aa1c7 Chinese Conversion Table Update 2017-3
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: I42c80634bc57cf0d3ccf87c055a0594909684752
2017-04-30 10:22:59 +08:00
Eugene Gvozdetsky
4a929f4acf Extend grammar rules for Ukraininan language
Change-Id: I2a18acee6a1c4a7462953477da50d57239994f37
2017-04-26 19:36:58 +00:00
Amire80
fea73e1b0e Add Dinka (din) to Names.php and languages/messages/
Bug: T163600
Change-Id: I2bf03c97680c17cddf48d05adee88581640268ec
2017-04-24 16:11:53 +00:00
Fomafix
0d82d15447 Rename autonym for 'no' from 'norsk bokmål' to 'norsk'
* 'no' is the language code for the macro language Norwegian with the
  autonym 'norsk'.
* 'nb' is the language code for the language Norwegian Bokmål with the
  autonym 'norsk bokmål'.
* 'nn' is the language code for the language Norwegian Nynorsk with the
  autonym 'norsk nynorsk'.

'no' falls back to 'nb'.

Change-Id: Ieff4ff4ecdce20ce65a818612af90815121d70d3
2017-04-15 11:51:40 +02:00
Sébastien Santoro
b2943825cf Add support for Atikamekw
Language code: atj

Bug: T137376
Change-Id: Ieb9b6bcd09aedbf520b384a6572f96d7db1eca18
2017-03-26 20:34:13 +00:00
jenkins-bot
144a683e94 Merge "Chinese Conversion Table Update 2017-2" 2017-03-05 09:56:27 +00:00
Chiefwei
0c8cd4271b Chinese Conversion Table Update 2017-2
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: I4c71183a5c7b8cadb04ea2b8026c0ac09b512584
2017-03-05 17:35:56 +08:00
James D. Forrester
3526417586 languages: Replace implicit Bugzilla bug numbers with Phab ones
It's unreasonable to expect newbies to know that "bug 12345" means "Task T14345"
except where it doesn't, so let's just standardise on the real numbers.

Change-Id: Id2f9d229d17b8eee66b2ca4e3927f3f66ac62988
2017-02-28 00:33:38 +00:00
Chiefwei
786795eb6e Chinese Conversion Table Update 2017-1
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: I7684fc2805f7f2076b974a2136fcbb3e9dd86607
2017-02-05 11:53:05 +00:00