Commit graph

208 commits

Author SHA1 Message Date
Amir E. Aharoni
fe485a0135 Add Interslavic (Cyrillic; isv-cyrl)
Also add gender aliases to Interslavic (Latin)
and custom plural rules for isv-cyrl.

Bug: T375360
Change-Id: I1ea5e36b09a4eecbc0edf085deb50a392f7fcca5
2024-09-23 10:15:53 -04:00
Amir E. Aharoni
d7b68f9e74 Add plural rules for Interslavic
Bug: T369453
Change-Id: I824105682a49a23cfc7260d10467604b27a85e9b
2024-09-07 15:08:41 -04:00
Amir E. Aharoni
3353abe82c Add plural forms for Levantine Arabic
Bug: T363690
Change-Id: I9d451e1fa53424ccccb1ef0df21e28fc1d2cfdf4
2024-09-04 13:35:57 +00:00
Srishakatux
8a6567d159 Modify namespace translation for Mongolian (mn)
To be merged after the following change has been deployed: https://gerrit.wikimedia.org/r/1060893

Bug: T366271
Change-Id: I1dd9a91bc37e32bde15f52271fbea2580943ab99
2024-08-29 21:01:39 +00:00
jenkins-bot
137c7de7a4 Merge "Languages: Add PLURAL support for Kildin Sámi" 2023-09-23 18:55:04 +00:00
Jon Harald Søby
683700a6b2 Languages: Add PLURAL support for Kildin Sámi
Bug: T334687
Change-Id: I5cadf464dd618d607101a8f83505b5c6e4d5851a
2023-05-05 16:36:01 +00:00
Jon Harald Søby
8bf47b8cbe Languages: Add oblique grammar for (Northern) Kurdish
Add file for (Northern) Kurdish [ku] to enable
{{GRAMMAR:oblique}} for sitenames.

Bug: T335036
Change-Id: Ia7458d5795d618eafa6b38bf06eadbcb98cfb5a7
2023-04-20 16:15:17 +00:00
Jon Harald Søby
ffe22e0a8f Make Norwegian's genitive grammar work for links
If the input for the {{GRAMMAR:genitive}} is a [[link]],
ignore the final ]s when deciding which case to use for
the genitive.

Change-Id: I3dedfac88c0dce73040b461f0e2047e386ca0ef8
2022-11-01 15:31:22 +01:00
Amir E. Aharoni
cf383126b7 Grammar for Georgian - genitive
First step towards resolving bug T307207.

Other cases will be added in subsequent patches.

Bug: T307207
Change-Id: I7ae6c05cd2eca6031da29aa3c203341b70ebb1b1
2022-05-15 14:20:16 +03:00
Amir E. Aharoni
194b0f3774 Add the Pannonian Rusyn language (rsk)
Autonym verified with
Руско-сербски словнїк, Юлиян Рамач,
Филозофски факултет Нови Сад – Одсек за русинистику,
Завод за културу войводянских руснацох Нови Сад, 2010

Bug: T302556
Change-Id: I8d70c3e0073e360eb6a4291576caac530b96a6cc
2022-02-27 15:35:10 +02:00
Timo Tijhof
e07a279a39 language: Add MediaWiki\Languages\Data namespace to PSR-4 autoloader
Bug: T225756
Change-Id: I7e30a5f5c9f3c36e8a9e3f1fb6ebebb3bbe727ab
2021-08-10 22:00:25 +00:00
Timo Tijhof
f3ef7f7f23 language: Autoload normalize data and remove transformUsingPairFile compat
* Turn normalize data into an autoloadable class and use the class name
  as key instead of a partial file name with a base directory.

* This protected function is not aimed at re-use in extensions,
  has no other usage known to Codesearch. Mark it internal,
  and remove the compat introduced by 31283f34bf.

* Update the now ten-year-old documentation comments that described
  this as "Temporary". The functionality and comment were introduced
  in 2010 by Tim with r60599 (ad19c032b0).
  Ref <https://bash.toolforge.org/search?p=0&q=temporary>.

* Replace the broken wikitech-l archive link with a working one,
  and describe the thread for easier future reference.

Bug: T225756
Change-Id: I004da1f25c19e1095d0917349f2ba8461f9f0715
2021-08-10 21:03:13 +00:00
Amir Aharoni
f523635a60 Add Baoule (bci) to Names.php
Bug: T287345
Change-Id: If1796a156a45046d43ecceb044718a2de27295e6
2021-07-26 10:21:22 +03:00
Amir Aharoni
58cef29d69 Add Gun (Gungbe, guw) to Names.php
Bug: T286460
Change-Id: I6e95d446faad3838f715fdfa2302ec0c9dc11c37
2021-07-13 06:08:49 +00:00
Fomafix
ea1b06c150 Fix various typos in documentation
Bug: T201491
Change-Id: Ifa1b84b28ea97dfb4212658b02f24ee6881c1cb0
2021-06-21 00:26:07 +00:00
Amir Aharoni
3d007ba9f6 Add the Carpathian Romani (rmc) language
Link trail is copied from Slovak, because
the necessary extra letters are the same, as can
be seen in the textbook "Amari romaňi čhib"
by Eva Gašparová and Ingrid Lukáčová
(Štátny pedagogický ústav Bratislava 2016)
https://www.statpedu.sk/files/sk/metodicky-portal/metodicke-podnety/amari_romani_chib.pdf

Fallback and namespaces will be added later
if needed.

Bug: T284044
Change-Id: Ide5170432fb2c456ff863c4ea34e3183547e2d63
2021-06-01 11:36:11 +03:00
Amir Aharoni
0bf5e74cdd Add the Paiwan (pwn) language
Bug: T284002
Change-Id: If39a561286f4fd504409078ee3fc7f7e3008ff41
2021-05-31 09:53:51 +03:00
jenkins-bot
d3099e280c Merge "Add namespace name translations and change autonym in the Kinyarwanda language" 2021-05-30 13:26:51 +00:00
Alexander Vorwerk
c3eb19e6cb Change lmo language name
Bug: T283423
Change-Id: I00ee11c23b1e688b01d7465225003f0f045985bf
2021-05-30 07:04:54 +00:00
Amir Aharoni
96fc7d6626 Add Wallisian (wls) to Names.php
Bug: T283480
Change-Id: If1cf94749f7bac721bf15d505f8e4368b2d3aaa2
2021-05-24 09:47:52 +00:00
Amir Aharoni
654e135392 Add namespace name translations and change autonym in the Kinyarwanda language
Contributed by Nimusenge Priscille, and verified by myself
with the Iriza Kinyarwanda Engish And English Kinyarwanda Dictionary.

Bug: T283422
Change-Id: Idfe383e2b5b6afdf205056eade3f9dfc82ddbf39
2021-05-24 09:14:01 +00:00
Amir Aharoni
5db1b563da Add the Ojibwe language (ojb)
Bug: T283053
Change-Id: Idd95e163ea876212ecbb7d2aaf0fe82168837cf2
2021-05-18 14:20:33 +03:00
Amir Aharoni
b06e06ae87 Add Malay (Arabic Jawi script, ms-arab) to Names.php
Bug: T282085
Change-Id: Ic118bdf1eba4cca7e037a78c969cd2247c1397c2
2021-05-06 13:18:43 +00:00
jenkins-bot
a4226b597a Merge "Remove RLM/LRM from Names.php" 2021-04-25 18:11:31 +00:00
jhsoby
1d485a7365 Fix dates and add plural support for Inari Sámi
Add date format for Inari Sámi; also add plural support.

There are four different forms for the plurals; nouns are inflected in
three numbers (1, 2–6 and 7+), while verbs are conjugated in singular,
dual and plural.

Change-Id: Ifa24c7e1718151517b43ded2427d5202b9e804b1
2021-04-22 17:42:01 +00:00
Amir Aharoni
c8caf26ffd Remove RLM/LRM from Names.php
This character is no longer required here.

It was added to ensure correct display of parentheses in mixed
LTR/RTL environment, for example an interlanguage link from
an RTL wiki to an LTR language with parentheses in its name.
However, the Unicode bidirectional algorithm was updated
to handle parentheses more cleverly and automatically,
making manual adjustment with RTL/LRM unnecessary.
This update was implemented years ago in all browsers and
operating systems. I've tested this in Firefox, Chrome, Edge,
and Internet Explorer 11, and it works correctly without
the RLM/LRM characters.

Parser tests are updated accordingly.

Bug: T280435
Change-Id: I63107f623ade3b8367eae579a8e96d7e2c18b747
2021-04-22 08:27:41 +00:00
Amir Aharoni
33440f23c6 Add Dagbani (dag) to Names.php
Namespace translations will be added later.

Bug: T279619
Change-Id: Icf012059e9b1913eb75479959b5fe94e4c87cbec
2021-04-08 11:52:21 +03:00
Amir Sarabadani
39d338a68f Add shy name (same as shy-latn)
Bug: T259360
Change-Id: Ieca724eceb0342c937ff3a2d64de61098b979412
2021-03-09 13:00:21 +02:00
Amir Aharoni
7f7dfebd3d Add Wayuu to Names.php
The autonym is different from the current definition in translatewiki.
The name "Wayúu" was added to translatewiki configuration in 2009,
and it's unclear what is its source. All the sources that I can
find say that autonym is "wayuunaiki", for example Ethnologue,
Diccionario básico ilustrado wayuunaiki-español español-wayuunaiki
(Editorial Fundación para el Desarrollo de los Pueblos Marginados,
Bogotá, D.C., 2005), and the Incubator Wikipedia in this language.
I also verified this with User:Maor_X, who is familiar
with the Wayuu culture.

Spanish is added as fallback, as it was in translatewiki, and it
generally makes sense, because the language is spoken in
Spanish-speaking countries and many speakers are literate
in Spanish.

Bug: T276745
Change-Id: I04d698e7c27d96f7e58c62f6f71e76142a30630d
2021-03-08 14:35:43 +02:00
jenkins-bot
04626a940f Merge "Add converter for the Talysh language (tly)" 2021-02-23 12:45:31 +00:00
jenkins-bot
41784a5f5c Merge "Chinese Conversion Table Update 2020-2" 2021-02-21 17:24:51 +00:00
Amir Aharoni
14d363c29f Add converter for the Talysh language (tly)
Mostly copied from UzConverter.

This is a very simple converter, with bidirectional one to one
correspondence: for every Latin letter there is a corresponding
Cyrillic letter and vice versa. There are no digraphs or punctuation
to convert.

The Latin alphabet is the primary one used for this language today,
and will probably remain so for the foreseeable future, so "tly" remains
the usual code, and "tly-cyrl" is added for Cyrillic.

Language name is changed:
* The main language name is now Latin.
* The word "language" ("зывон") is removed.
* The spelling of the word "Talysh" is based on the Pireyko dictionary.

Bug: T258975
Change-Id: I552e07967ea82e03c413a0b10b129a846aa007c7
2021-02-17 13:49:36 +00:00
Amir Aharoni
b025479670 Update the autonym of language shi
This language is known in English as Shilha, Tashelhit,
Tachelhit, and also by some other names.

The most authoritative modern name in the language itself
is Taclḥiyt, with the letter c. It appears in the textbook
"Méthode de tachelhit, langue amazighe (berbère) du sud du Maroc"
by Abdallah El Mountassir and also in the online
"Dictionnaire Général de la Langue Amazighe Informatisé"
( https://tal.ircam.ma/dglai/lexieam.php ). It also directly
corresponds to the spelling in the Tifinagh script.

This change was requested by the localizers in translatewiki
and authors in the Wikipedia Incubator in this language.
They asked to define the Latin script as the primary.

The name of the variants are updated in the i18n file:
* The Latin names are changed to Taclḥit, as the Latin autonym.
* The Tifinagh name is added: it was missing, which caused
  the item in the dropdown to be invisible.

Change-Id: I23689a90460110570c54a05587e5084607268035
2021-01-01 10:17:44 +02:00
Amir Aharoni
ad12bd92d8 Add Tyap to Names.php
Bug: T270365
Change-Id: I342318fb170339c8d80c66d08a1018ed15a47dca
2020-12-17 13:45:46 +00:00
Pikne
dbb1a9ef64 Decapitalize autonyms for Võro, Livvi-Karelian and Komi-Permyak
Võro speaker reports that language names in Võro are not
capitalized, just like in Estonian:
https://et.wikipedia.org/w/index.php?diff=5771671
Also decapitalizing Livvinkarjala and Перем Коми, respectively
per usage at https://olo.wikipedia.org/wiki/Piäsivu and
https://koi.wikipedia.org/wiki/Коми-пермяцкӧй_кыв

Change-Id: Ic5c5237f101ffde70990c388bacb202d1af26a79
2020-12-13 08:40:33 +00:00
Amir Aharoni
fa5013dadb Change the autonym of the Altai language
Making it the same as in language-data. This is the main
variety, so there's no need to call it "Southern".

Change-Id: I8c667b55d59b9c40b00e835f5ff1da6dbdf9bdf7
2020-12-09 10:29:58 +00:00
Umherirrender
c85a43561e Improve class property documentation
Reformat existing documentation to match the format

Change-Id: I190b54b5e962f17bab6502dd1b3c02f11dc926d2
2020-10-30 10:38:58 +01:00
Amir Aharoni
605ff51bf1 Add accusative case to Russian language GRAMMAR
Bug: T257500
Change-Id: I30a892a936c0ed9247bc6b63be747697cb9f3e26
2020-10-10 18:03:52 +03:00
MarcoAurelio
57322997cb Add language support for Madurese (mad)
Bug: T264582
Change-Id: I5f112a8cdd1d441b73c044dfa9363db41cc4597a
2020-10-05 10:13:33 +00:00
MarcoAurelio
c5b6d7901d Names.php: Add support for Nias/Li Niha language
Bug: T263968
Change-Id: Idf8922e80c386a9f22e6e8b0ead19817b118fc38
2020-09-28 08:49:11 +00:00
jenkins-bot
1d85e0df83 Merge "Add mrh Mara to Names.php" 2020-09-15 16:22:49 +00:00
David Kamholz
a7d7c2c7db Add ban-bali to list of known language codes
This change adds ban-bali (Balinese language in Balinese script), falling back to ban (Balinese language in Latin script).

The language code ban-bali is already known to UniversalLanguageSelector and will be used on Balinese Wikisource (currently in development, hosted on Multilingual Wikisource). ban-bali will likely be used as a page language only for now, or for pieces of text within pages. It's important to make it available as a page language so that ULS can apply the correct font.

Bug: T245359
Change-Id: Icaff92904e9d1250c8c84bfcc6cfa3ebcb5230bd
2020-08-18 14:46:32 -07:00
Jon Harald Søby
75d22c7659 Add mrh Mara to Names.php
Bug: T259330
Change-Id: I21eb638434a3ca77d55491c08b881383c89911ed
2020-08-07 12:28:15 +02:00
Chiefwei
249ce4ef1f Chinese Conversion Table Update 2020-2
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: Ife8aa010d7b1d77c2fe05df4bea856c4f36c464b
2020-08-02 18:14:47 +08:00
Base
1f44fd171a Adding default locative rule for Ukrainian
Prepending a default preposition to locative GRAMMAR forms
in Ukrainian language

Bug: T149550
Change-Id: I4649549dc3c722e53c7ea3accb6747df420e56f7
2020-06-12 09:49:03 +03:00
MarcoAurelio
9604fd92d3 languages: Add Southern Altay (alt)
Bug: T254854
Change-Id: I62c5c4a7115d0d9d3a08f038ae90b274934930a2
2020-06-09 09:53:53 +00:00
jenkins-bot
073dbe9ad3 Merge "Fix native sty name from cебертатар to себертатар" 2020-05-21 22:16:06 +00:00
Reedy
5f1000f7bd Fix languages/ PSR12.Properties.ConstantVisibility.NotFound
Change-Id: I6f88f2eaf2fc69016b99124eeb9f6e2616c148d2
2020-05-16 21:49:02 +01:00
Amir Aharoni
62642ffb49 Add Seediq (trv) to Names.php
Also known as Taroko, e.g. at
https://iso639-3.sil.org/code/trv

Bug: T215023
Change-Id: I1da162c7b996e430b5d636d3f7a7c30321262fac
2020-05-11 09:46:44 +03:00
Reedy
12a3883a7b Fix SingleSpaceBeforeSingleLineComment
Change-Id: I285af438ce484af40741489797f20455726ec110
2020-05-11 00:57:11 +00:00