Compare commits

..

10 Commits

Author SHA1 Message Date
Amir E. Aharoni
cde3c26b35 Update jquery.uls from upstream
This actually updates a few languages, but it
mostly removed my name from authors because of
I9ebf982be6e1c740bb9fc8b4b30247bf9fdcae01 :)

Change-Id: I04eead32f11667988d02d4e31c0b7c694912ce12
2024-10-28 15:58:34 +00:00
Amir E. Aharoni
3c10659ef4 Update language search index
Adds languages recently added to core MediaWiki
and CLDR local names: knc, mdh, maw.

Bug: T356144
Bug: T377797
Bug: T377851
Change-Id: I3f9d0c02640fb0e27b3539cf71ee4702e3f9ee58
2024-10-28 10:42:04 -04:00
Fomafix
21a0a694cd Remove use of navigator.userLanguage for IE11
Since MediaWiki 1.41 the Internet Explorer 11 has only Basic support:
https://www.mediawiki.org/wiki/Compatibility#Desktop

Change-Id: I4f4fb6532b0fe7aab9a3cb787deb4731d899bb53
2024-10-28 04:12:12 +00:00
Umherirrender
095a0ae3b6 Use type-declaration on api module constructor
Parent class constructor gets type-declaration in 1145328459
Remove simple doc-blocks without further information

Change-Id: Iffcec26ba750213e4bdf5ce7993ab49f5af9c5ca
2024-10-25 20:31:55 +02:00
Translation updater bot
9ab393767b Localisation updates from https://translatewiki.net.
Change-Id: I388942c2465db1cb44449ce83ee137e862bef9d3
2024-10-25 09:53:12 +02:00
Amir E. Aharoni
800a1b6df6 Update language search index and add alias for dtp
Bug: T375891
Change-Id: I367ac4f2a2f0c356a862bf642248c5a8c64d2d82
2024-10-21 17:35:46 +00:00
Translation updater bot
38cd0736d2 Localisation updates from https://translatewiki.net.
Change-Id: I890dad2bb9a078c0f392e2f9ac17e59a6f0d3551
2024-10-21 18:18:17 +02:00
Translation updater bot
df9351828e Localisation updates from https://translatewiki.net.
Change-Id: I59bf3a8f211a5e645e075c2d71be296def962a73
2024-10-21 09:21:04 +02:00
Nemoralis
88f3942f2f Update jquery.uls from upstream
Updating to 27ba912d9b

Bug: T375891
Change-Id: If7a88302b92883a7dc53de1eba7afb7c0c5af693
2024-10-19 20:56:28 +04:00
Ebrahim Byagowi
d411ee1e93 Unbreak the ?setlang functionality
This mistake has caused setlang=xx to get stuck and not reload the page.

Bug: T377572
Change-Id: I1dd9aeb1a6c52ade6b60744a8b29cf39f8b85885
2024-10-18 23:20:31 +03:30
204 changed files with 970 additions and 264 deletions

View File

@@ -104,6 +104,8 @@ class LanguageNameIndexer extends Maintenance {
'ca' => [ 'valencia' ],
// Compatibility with the old name and other Chinese varieties
'cdo' => [ 'chinese min dong' ],
// Older name, see T375891
'dtp' => [ 'bundu-liwan, dusun' ],
// Spanish, the transliteration of the autonym is often used for searching
'es' => [ 'castellano' ],
// Armenian, the transliteration of the autonym is often used for searching

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Fwolff",
"Naudefj",
"Rooiratel"

View File

@@ -2,7 +2,6 @@
"@metadata": {
"authors": [
"Akamycoco",
"Amire80",
"Vickylin77s",
"嚴美鳳"
]

View File

@@ -2,7 +2,6 @@
"@metadata": {
"authors": [
"1917 Ekim Devrimi",
"Amire80",
"Kumkumuk",
"Mirzali",
"Orbot707"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Mogoeilor"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Awangba Mangang"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Benel",
"Bunukwiki"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Denayadennis"
]
},

View File

@@ -1,8 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80"
]
"authors": []
},
"uls-plang-title-languages": "ᨅᨔ"
}

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"BivutiChakma"
]
},

View File

@@ -6,6 +6,5 @@
"唐吉訶德的侍從"
]
},
"uls-plang-title-languages": "Ngṳ̄-ngiòng",
"ext-uls-compact-link-count": "Gì-tă $1 ciáh"
"uls-plang-title-languages": "Ngṳ̄-ngiòng"
}

8
i18n/cko.json Normal file
View File

@@ -0,0 +1,8 @@
{
"@metadata": {
"authors": [
"Salifu Ramatu"
]
},
"uls-plang-title-languages": "Aniem"
}

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Michawiki"
]
},

View File

@@ -5,5 +5,5 @@
]
},
"uls-plang-title-languages": "Bwambo",
"ext-uls-compact-link-count": "{{PLURAL:$1|mō̱|$1 pe̱te̱ }}"
"ext-uls-compact-link-count": "{{PLURAL:$1|mō̱|$1 pe̱te̱}}"
}

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Blahma",
"Gamliel Fishkin",
"KuboF",

View File

@@ -2,7 +2,6 @@
"@metadata": {
"authors": [
"Amaia",
"Amire80",
"Gorkaazk",
"Sator",
"Subi",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"J budissin",
"Michawiki"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Izuchi Onyeike",
"Pasjoesscc",
"Ukabia",

View File

@@ -1,8 +1,7 @@
{
"@metadata": {
"authors": [
"AgnesAbah",
"Amire80"
"AgnesAbah"
]
},
"uls-desc": "Jé nwu éné éku kí téné ichí lugbó wéwé kpaí kí néké nwí chétins ichí ché",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Kambai Akau"
]
},

View File

@@ -2,7 +2,6 @@
"@metadata": {
"authors": [
"Aliyu shaba",
"Amire80",
"Mohammedbama123"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Purodha"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Awinimi",
"Bugirbiig"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Arash71",
"Hosseinblue",
"Lakzon"

9
i18n/mdh.json Normal file
View File

@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Bangsa Manusia"
]
},
"uls-plang-title-languages": "Manga basa",
"ext-uls-compact-link-count": "{{PLURAL:$1|Isa pan|$1 pan}}"
}

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Chulsu463",
"Foavi33",
"MiiCii"

View File

@@ -2,7 +2,6 @@
"@metadata": {
"authors": [
"Abdul Fatawu 352",
"Amire80",
"Hasslaebetch",
"Raizkgh"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Laitei",
"Taytay",
"Teitei Para"

9
i18n/mui.json Normal file
View File

@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Jawadywn"
]
},
"uls-plang-title-languages": "Baso",
"ext-uls-compact-link-count": "{{PLURAL:$1|Siko' lagi|$1 lagi}}"
}

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Arent",
"Dinosaur918",
"Elroy",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"GastonJeremiah"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Misbahu umar"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Kakonjo"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Valentine Badu"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Samatics"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Gilbert Ndihokubwayo"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Germain92",
"RebecaRwanda",
"RebeccaRwanda",

View File

@@ -1,8 +1,8 @@
{
"@metadata": {
"authors": [
"Amire80",
"Caden99",
"Jon Harald Søby",
"Kimberli Mäkäräinen (WMNO)",
"Lea-Christine Sara",
"WMNO sámeprošeakta",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Milicevic01",
"Prevodim",
"Srdjan m",

View File

@@ -6,12 +6,20 @@
]
},
"uls-plang-title-languages": "ሉቃት",
"ext-uls-undo-language-tooltip-text": "ሉቀት ቀየረትምን $1",
"ext-uls-display-settings-language-tab": "ሉቀት",
"ext-uls-display-settings-title-short": "መርኣዪ",
"ext-uls-language-settings-cancel": "ኣትርፍ",
"ext-uls-webfonts-settings-info-link": "ወሰክ ሐብሬ",
"ext-uls-input-settings-title-short": "ማእተዪ",
"ext-uls-input-settings-ime-settings": "ገበይ ማእተዪ ናይ $1",
"ext-uls-input-settings-more-languages-tooltip": "ለሐሰያ ሉቃት",
"jquery-ime-other-languages": "ብዕድ ሉቃት",
"jquery-ime-help": "ሰዳየት",
"ext-uls-compact-link-count": "{{PLURAL:$1|ሐቴ ዝያዳ|$1 ዝያድ}}",
"prefs-languages": "ሉቃት",
"ext-uls-setlang-unknown-error": "ለይትኣመራ ገጋ",
"ext-uls-setlang-cancel": "ኢትቀይርዎኒ",
"ext-uls-empty-state-header": "ኣስክ ኣዜ ሉቀት ይኣለቡኒ",
"ext-uls-empty-state-desc": "ኣዜ ሉቀት ይኣለቡኒ",
"ext-uls-add-languages-button-label": "ኩሉ ሉቃት"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Tumbuka Arch"
]
},

View File

@@ -3,7 +3,6 @@
"authors": [
"Afrah2000",
"Ama dollars",
"Amire80",
"Kwamevaughan",
"Merlin266",
"Robertjamal12"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Tomas Armando Moz"
]
},

View File

@@ -31,17 +31,11 @@ use Wikimedia\ParamValidator\ParamValidator;
* @ingroup API
*/
class ApiULSLocalization extends ApiBase {
/** @var LanguageNameUtils */
private $languageNameUtils;
private LanguageNameUtils $languageNameUtils;
/**
* @param ApiMain $main
* @param string $action
* @param LanguageNameUtils $languageNameUtils
*/
public function __construct(
ApiMain $main,
$action,
string $action,
LanguageNameUtils $languageNameUtils
) {
parent::__construct( $main, $action );

View File

@@ -31,20 +31,12 @@ use Wikimedia\ParamValidator\ParamValidator;
* @ingroup API
*/
class ApiULSSetLanguage extends ApiBase {
/** @var UserOptionsManager */
private $userOptionsManager;
/** @var LanguageNameUtils */
private $languageNameUtils;
private UserOptionsManager $userOptionsManager;
private LanguageNameUtils $languageNameUtils;
/**
* @param ApiMain $main
* @param string $action
* @param UserOptionsManager $userOptionsManager
* @param LanguageNameUtils $languageNameUtils
*/
public function __construct(
ApiMain $main,
$action,
string $action,
UserOptionsManager $userOptionsManager,
LanguageNameUtils $languageNameUtils
) {

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Biggs ZA",
"Fwolff",
"Joris Darlington Quarshie",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Angpradesh",
"IND-ANP",
"Proabscorp!"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"DRIHEM",
"Hhaboh162002",
"Lolekek",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Manke ruLpa"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Dibya Dutta",
"Mohsin Ali",
"Nilamdyuti"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Xuacu"
]
},

View File

@@ -4,8 +4,7 @@
"1AnuraagPandey",
"1PandeyAnurag",
"Ajeetsinghawadh",
"Ajeetsinghawadhi",
"Amire80"
"Ajeetsinghawadhi"
]
},
"uls-region-WW": "दुनिया भर कय",

View File

@@ -2,7 +2,6 @@
"@metadata": {
"authors": [
"AZISS",
"Amire80",
"Khan27",
"Wertuose",
"Şeyx Şamil"

View File

@@ -2,7 +2,6 @@
"@metadata": {
"authors": [
"Alp Er Tunqa",
"Amire80",
"Arjanizary",
"Mousa"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Sagan",
"З. ӘЙЛЕ",
"Ләйсән"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Chinamoonroll",
"Joseagush"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Kjeanclaude"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Brazal.dang",
"Geopoet"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Red Winged Duck",
"Wizardist"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Artsiom91",
"Unomano"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Aquilax",
"DCLXVI",
"StanProg",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Baloch Afghanistan",
"Ibrahim khashrowdi"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Khun Kt",
"咽頭べさ"
]

View File

@@ -3,7 +3,6 @@
"authors": [
"Aftabuzzaman",
"Aishik Rehman",
"Amire80",
"Bellayet",
"Nasir8891",
"Sankarshan",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Fulup",
"Gwenn-Ael"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"DzWiki",
"Edinwiki",
"Srdjan m",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Исмаил Садуев",
"Умар"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Asoxor",
"Calak",
"Halbast",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Dvorapa",
"Mormegil"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Dafyddt",
"Lloffiwr",
"Robin Owain"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Christian List",
"Jubber",
"Peter Alberti"

View File

@@ -1,13 +1,14 @@
{
"@metadata": {
"authors": [
"Issahiddris98"
"Issahiddris98",
"Kalakpagh"
]
},
"uls-region-WW": "Duniya zaa",
"uls-region-SP": "Din gahim",
"uls-region-AM": "America",
"uls-region-AF": "Africa",
"uls-region-AF": "Afirika",
"uls-region-EU": "Europe",
"uls-region-AS": "Asia",
"uls-region-ME": "Middle East",
@@ -15,8 +16,8 @@
"uls-region-all": "Zuliyanima zaa yɛltɔɣa",
"uls-no-results-found": "Shɛhira shɛli kani",
"uls-common-languages": "Zuliya shɛŋa a ni tɛhira",
"uls-no-results-suggestion-title": "Din tooi niŋ ka a mali kɔrisi",
"uls-search-help": "A ni tooi yuli bo zuliya zuliya yɛlɔɣa yuli, ISO Coodi,zaŋti zuliya bee a ni tooi bɔm baŋ tiŋgbani shɛli ŋa ni be",
"uls-no-results-suggestion-title": "Din tooi niŋ ka a mali kɔrisi ni:",
"uls-search-help": "A ni tooi yuli bo zuliya zuliya yɛlɔɣa yuli, ISO Coodi,zaŋ n-ti zuliya bee a ni tooi bɔhim baŋ tiŋgbani shɛli ŋa ni be",
"uls-search-placeholder": "Yuli bɔ zuliya yɛltɔɣa",
"uls-search-placeholder-short": "Yulima"
"uls-search-placeholder-short": "Vihi"
}

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Domo John",
"Linus Konkor",
"Zakaria Tunsung"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Michawiki"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Nirajan pant",
"रमेश सिंह बोहरा"
]

View File

@@ -1,8 +1,7 @@
{
"@metadata": {
"authors": [
"Aguve",
"Amire80"
"Aguve"
]
},
"uls-region-WW": "Xexeme Godoo",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Evropi",
"Geraki"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"KuboF",
"Objectivesea",
"Orikrin1998"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Armando-Martin",
"Fitoschido",
"Macofe",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Pikne"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"An13sa",
"Sator",
"Theklan"

View File

@@ -3,7 +3,6 @@
"authors": [
"Ahmad252",
"Alirezaaa",
"Amire80",
"Namo",
"Reza1615"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Ebenoffen1"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"EileenSanda"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"PiefPafPier",
"Robin van der Vliet",
"Robin0van0der0vliet"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Kscanne"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"LeGuyanaisPure"
]
},

View File

@@ -2,7 +2,6 @@
"@metadata": {
"authors": [
"Akerbeltz",
"Amire80",
"GunChleoc"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Banjo",
"Elisardojm",
"Toliño"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"شیخ"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Fitoschido",
"P. S. F. Freitas"
]

View File

@@ -2,7 +2,6 @@
"@metadata": {
"authors": [
"Als-Holder",
"Amire80",
"Terfili"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Ashok modhvadia",
"CptViraj",
"Harsh4101991",

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Leonfd1992"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Joshateji",
"Samatics"
]

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Em-em"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Kolonahe"
]
},

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Santhosh.thottingal",
"Sfic",
"Siddhartha Ghai"

View File

@@ -1,7 +1,6 @@
{
"@metadata": {
"authors": [
"Amire80",
"Girmitya"
]
},

Some files were not shown because too many files have changed in this diff Show More