Commit Graph

3776 Commits

Author SHA1 Message Date
Niklas Laxström
4fc7bc9200 Handle corrupted values in input preferences
Bug: T246370
Change-Id: I13c730a6d584ad2f73807e11d5ceadfcb16a6040
2021-01-19 08:45:05 +00:00
Translation updater bot
207c5e6a9e Localisation updates from https://translatewiki.net.
Change-Id: Ieeb7d713fb5d4df4df6001f491ffded0411df6f3
2021-01-19 08:20:21 +01:00
Amir Aharoni
ba7f400b0e Update jquery.uls from upstream
* Localisation updates.
* Update language-data, adding gld and guw.

Updating to
5ccc75a8cf

Change-Id: Iae1f2a866d927ad390d11c6443bc8576d15f34df
2021-01-18 16:53:11 +00:00
Translation updater bot
b8ee0a7788 Localisation updates from https://translatewiki.net.
Change-Id: I13861d121eb71584c3764d7b0160d5313507c299
2021-01-18 08:40:16 +01:00
Amir Aharoni
7559bc51d1 Update jquery.ime from upstream
Add Nias tilde keyboard.

Updating to
4fe35290e1

Change-Id: Id91e2040c226330fad247fa9a595da5ffa1e54b9
2021-01-15 16:14:58 +02:00
Translation updater bot
e086cf7f92 Localisation updates from https://translatewiki.net.
Change-Id: Ie7478b3d66f238f19f48159083f537ff206445aa
2021-01-14 08:51:41 +01:00
Ottomata
93c48e4667 Finalize migration of UniversalLanguageSelector to event platform
Bug: T267352

Change-Id: Ic961eba1587e4f5c61c8a92d74501abeb45f6699
2021-01-12 08:57:59 -05:00
Translation updater bot
81a72f9377 Localisation updates from https://translatewiki.net.
Change-Id: I448b3c5b78edd7937e0f3a3fe4937c1064fd5c17
2021-01-11 08:35:36 +01:00
Translation updater bot
cc0a81000f Localisation updates from https://translatewiki.net.
Change-Id: I708c71fdee65174deb959133e0160bbb6be467a9
2021-01-08 08:56:37 +01:00
Translation updater bot
6266ffcb6f Localisation updates from https://translatewiki.net.
Change-Id: I499fcbb28df98508c6a5d9324a57c9e5eba9e2a7
2021-01-06 08:29:26 +01:00
Translation updater bot
90a80d4f2d Localisation updates from https://translatewiki.net.
Change-Id: I5252550b443b13c6f9bab7ce55a752073d617294
2021-01-04 08:45:05 +01:00
Amir Aharoni
77eafbb8a8 Update jquery.uls from upstream
* Localisation update for kcg
* Autonym update for shi

Updating to
bf23ab9f3a

Change-Id: I30325d4174898924ca40dc822f84e1cb507822ab
2020-12-31 22:56:04 +02:00
Translation updater bot
6500fc649d Localisation updates from https://translatewiki.net.
Change-Id: I78e3285ccf8cde32236f5ad294e2f7544332170e
2020-12-30 10:15:17 +01:00
Translation updater bot
d38585cd34 Localisation updates from https://translatewiki.net.
Change-Id: I6466423838adba07252890a3029ba46ca0a8abad
2020-12-28 10:40:23 +01:00
Amir Aharoni
c5684fcc72 Update jquery.ime from upstream
Use consistent macron below character in the Tyap keyboard.

Updating to
cd027ccb71

Change-Id: I0342609dc944cb6240a1447a9ed0f34f9e748889
2020-12-23 13:33:52 +00:00
Amir Aharoni
2bc15fe56f Update jquery.uls from upstream
* Localization updates
* language-data update:
** Add languages: elm, izh, nia, nog
** Change capitalization for koi, olo, vro

Updating to
ed6d31d7ff

Change-Id: I8752b00ccea80fbad8afea33adac2ebf55fcfc23
2020-12-23 11:15:57 +00:00
Translation updater bot
5e4fa66627 Localisation updates from https://translatewiki.net.
Change-Id: I6e10ffadd5040e3486952cb22108aa5ee08eaace
2020-12-23 08:33:14 +01:00
Translation updater bot
1ffd7935cf Localisation updates from https://translatewiki.net.
Change-Id: I1c0424fb624289600cbccbab7375f860879b725f
2020-12-22 08:33:07 +01:00
Translation updater bot
138c2ed242 Localisation updates from https://translatewiki.net.
Change-Id: I236a756d0989562cb30d36b97ae850810c89e5c1
2020-12-21 08:40:30 +01:00
libraryupgrader
c9902caa2f build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I8555f4d344a81522df9f80798804a559635246e2
2020-12-20 04:31:23 +00:00
James D. Forrester
9fc9dbafa3 Use User->isRegistered(), not deprecated isLoggedIn()
Bug: T270450
Change-Id: Ibeb882b8917f43aed9fd2411a6d4a2400532da33
2020-12-18 22:16:26 +00:00
Translation updater bot
dcc067c59f Localisation updates from https://translatewiki.net.
Change-Id: I3b0fe7faca4ff51fdf3a95bb16e01a4e42e53a15
2020-12-18 08:25:03 +01:00
Translation updater bot
ef8da6dbb3 Localisation updates from https://translatewiki.net.
Change-Id: Iaa595d46b2325173db3cbf97560e1404ec95d142
2020-12-14 08:43:49 +01:00
libraryupgrader
555664d1ee build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.10.4 → 0.10.5

npm:
* ini: 1.3.5 → 1.3.8
  * https://npmjs.com/advisories/1589

Change-Id: Id9ab9ba9698d083d69ddce7bec23d9b8f79523ac
2020-12-11 23:07:14 +00:00
Translation updater bot
e86d90ee3c Localisation updates from https://translatewiki.net.
Change-Id: Iae2b212ca3bb8b21f2e1531b64b543587f4d4b8d
2020-12-11 08:36:56 +01:00
Translation updater bot
d012dc8dd7 Localisation updates from https://translatewiki.net.
Change-Id: Ie1e88f1ab23142e8e838088f86847fa063add675
2020-12-10 08:36:01 +01:00
Amir Aharoni
441a195512 Update jquery.uls from upstream
language-data updates:
* Add Tyap language (kcg)
* Start splitting Min Dong (cdo), see Bug T139010

Updating to
93aafb7d16

Change-Id: I71d647ba9a61aebb5601be925908ace4829f4cef
2020-12-09 11:55:44 +00:00
Translation updater bot
90e0ccf516 Localisation updates from https://translatewiki.net.
Change-Id: I87f337069d36c978c58877e9cac071c7662e4396
2020-12-09 08:42:44 +01:00
Translation updater bot
3adddeb7d1 Localisation updates from https://translatewiki.net.
Change-Id: I500fff4399db02ed2971087b6e3e46cea84085fd
2020-12-08 08:22:36 +01:00
Amir Aharoni
4eec58bf80 Update jquery.ime from upstream
Add keyboards for Madurese and Tyap.

Updating to
89f0f90d42

Change-Id: I4450a898d299aa3469ef6a278c6bbc5a219bf1d0
2020-12-07 15:51:10 +02:00
Amir Aharoni
01f9a1453d Update jquery.uls from upstream
Localization updates (ban, grc, lez).

Updating to
dd8555bad4

Change-Id: If37dda33b1fc4fa352a7bf8bf8304bcd6ee89da3
2020-12-07 13:23:45 +02:00
libraryupgrader
f17391c7f3 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I258d7faae294759233fbc98301bdabed9ef1b878
2020-12-07 06:34:30 +00:00
Amir Aharoni
7a0d559dc0 Add the Boyo Gagrai for the Ho language in the Warang Citi script
Bug: T233301
Change-Id: Iad328485531b97428f795b154f8181e71947a5fd
2020-11-30 15:31:31 +00:00
Translation updater bot
2ddc451d5e Localisation updates from https://translatewiki.net.
Change-Id: Ie6be35bf9f68cb9afca205655c6ed5a745f762e9
2020-11-26 08:28:37 +01:00
Translation updater bot
84c47d81ff Localisation updates from https://translatewiki.net.
Change-Id: Id8d6a841aed72587dd5f67a5922f5f0cdd20100d
2020-11-24 08:40:51 +01:00
Translation updater bot
1e8558942c Localisation updates from https://translatewiki.net.
Change-Id: I0b343584b54503d1ddd910bdf3b93ae16bf32ddc
2020-11-23 08:40:16 +01:00
libraryupgrader
4cbb7dbacf build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I3f607402859275cdcfe34dcc5ed62ab48985a6c5
2020-11-22 12:05:00 +00:00
libraryupgrader
c7e711e103 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I39296449f9b3c8c12385a165900c98b67f6fe878
2020-11-20 21:35:36 +00:00
Translation updater bot
d75fa810da Localisation updates from https://translatewiki.net.
Change-Id: I90a0f9167b214a39988a3baf41574da068a70beb
2020-11-19 09:10:45 +01:00
jdlrobson
d69d5773e5 Compact language links module is loaded via server side
This provides an alternative mechanism to
I0518ecdf402ebf5eb6bad2c430f6462322c0d8e1 for loading the compact
language link module. Instead of relying on the client, the HTML
is inspected.

Bug: T264824
Change-Id: I977a998388b3e70f7fe4d97fa05be3c1ac1bf676
2020-11-18 17:07:59 +00:00
jdlrobson
ab6decae11 Allow skins to register their own button and disable compact
Example usage:
Iabd4688c6081b4de391b9655b92a16f3a414e018

We will skip loading the compact link if we don't need
to compact the languages.

Note special handling is known for Timeless which stops
propagation of events. This will be fixed in Timeless at a
later date.

Bug: T264824
Change-Id: I0518ecdf402ebf5eb6bad2c430f6462322c0d8e1
2020-11-18 17:06:40 +00:00
Amir Aharoni
077a3ac844 Make a more specific CSS selector in getLangsWithBadges
This should avoid problems with elements that are not real
interlanguage links, which may be added by other code,
for example user scripts.

Bug: T267887
Change-Id: I3f9c618b417363f667a31e9dad335c1aec15b055
2020-11-17 10:25:43 +02:00
Niklas Laxström
4387bb9d61 CompactLinks: Better handling of opening links to new tab/window
* Check for any of Shift, Ctrl or Meta
* Only do it for links
* Support both mouse and keyboard

Change-Id: I0b331b802e1d96ae0e0511746d6b42663db924b1
2020-11-16 14:51:47 +00:00
Amir Aharoni
78884e87b2 Update jquery.uls from upstream
Return an empty array if there are no languages in territory.

Addresses T265158.

Updating to
9a1f5c0e5a

Bug: T265158
Change-Id: I36f69a2007791a4469eff6415eedbaecc3f60f70
2020-11-16 13:32:50 +02:00
Amir Aharoni
835d1dd586 Update jquery.ime from upstream
Return an empty array if there are no previous IMEs
in preferences.

Addresses bug T262865.

Updating to
77bd142ad4

Bug: T262865
Change-Id: Ifce6707914be0033239bc88ce0dc869ba8626e2c
2020-11-16 10:41:09 +02:00
Translation updater bot
47973849ad Localisation updates from https://translatewiki.net.
Change-Id: If70c5da7cf8f01d2b2775fe82fe02b30188ef9e6
2020-11-09 08:36:02 +01:00
jdlrobson
61e66598b5 Update jquery.uls
https://github.com/wikimedia/jquery.uls/commit/967eec093edb153f4fdd0e5e4

Updates:

1) Always send event when triggering onSelect
The $.uls function in jquery.uls.core in createLanguageFilter passes the
onSelect function to the $.fn.languagefilter so the onSelect there should be
made compatible.

2) Removal of png images no longer needed for old browsers.

Bug: T261973
Change-Id: Ie316cc627178dde15d22607b2099d0da96dd6fda
2020-11-05 17:06:23 +00:00
jdlrobson
e3569d32a7 Separate compacting of language list from launching of dialog
This refactor will allow us to separate these two functions so that
the modernized version of Vector can avoid loading the compact
language list.

Changes:
* `options` is now optional to the CompactInterlanguageList constructor
The max value is already defined in
CompactInterlanguageList.prototype.init
* this.interlanguageList is now initialized inside the constructor
Previously calling CompactInterlanguageList.prototype.createSelector
or getCompactList before calling init would throw an exception.
This will be important in I0518ecdf402ebf5eb6bad2c430f6462322c0d8e1 when
the responsibilities of wiring up the button and compacting the languages
is separated.

Bug: T264824
Change-Id: I9606df30a050d0cdaf7add2deff849cd5b895bab
2020-11-05 08:44:06 +00:00
libraryupgrader
7ed148646d build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected

Change-Id: Ie51d2cbd02d94196ef523b55b7beb84ff893d331
2020-11-04 18:26:16 +00:00
Amir Aharoni
43deb543b7 Update jquery.ime from upstream
* Add Obolo keyboard

Updating to
c794c46252

Change-Id: I3b11cdf10f6c2d122177879f9f27612cc319cb22
2020-11-04 14:22:43 +02:00