Commit Graph

3466 Commits

Author SHA1 Message Date
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
Translation updater bot
50b3e3ccc9 Localisation updates from https://translatewiki.net.
Change-Id: I160e9350b016997a6ed69b025b44a52bec6ce1d0
2020-11-04 08:44:57 +01:00
Volker E
f5c4fe1826 Remove unnecessary rules and properties
Active state is already covered with `mw-ui-button`. Color needs to
become darker for better contrast ratio when button is toggled.

Change-Id: If888a862c0b642aaa200e8207f3804f76f05b8b0
2020-11-03 13:56:05 +00:00
Translation updater bot
97f878a314 Localisation updates from https://translatewiki.net.
Change-Id: I301425c1a4eddfde12c676f174fa21aebaa4af3b
2020-11-03 08:45:22 +01:00
Volker E
8d54c3faf7 Amend compact links icon to use latest WikimediaUI version
Also amending `color` & `padding` to be closer to button standard appearance and
increase `margin-bottom` to make “Edit links” link not stick to button.

Bug: T170137
Change-Id: Iabb6abfdb8fa69c9f2634b190cb5fa6c005eb17c
2020-11-02 07:00:55 -08:00
Niklas Laxström
79a038f166 Handle Apply button little bit more sanely
Change-Id: I55d48de703662f139549d764bf7c1f235111d5ab
2020-11-02 11:08:25 +00:00
jdlrobson
740ff490e0 Drop unnecessary ext.uls.init module
This module is just an alias at this point. It's only consumer
is taken care of in the depends on.

Depends-On: I7c362ad391b076d3c4214c7b01fca7bbaaa320b9
Change-Id: I842c1ba10b24967a3888107806788f7e7844339b
2020-10-29 11:52:47 +00:00
Niklas Laxström
5cb2aec0a1 Fix language switching using the undo tooltip
Introduced in I740600d18859422b2f98a5ef92d0321f6e9615a2.

We need to prevent the default action (navigating a link) so that
our custom code has a chance to run. Before it was synchronous so
it called location.href before default action had a chance to execute.
When it was made asynchronous, the default action got executed before
our custom code.

Change-Id: I292f99aa5f5ff536d8197174c317018462685866
2020-10-28 11:44:33 +00:00
Niklas Laxström
094c30bc1c Fix language selection using [...] button
Introduced in I740600d18859422b2f98a5ef92d0321f6e9615a2.

When onSelect was called for the new language, it set dirty to true.
Then the, now delayed, render function reset the dirty status to false.

There is no need to set dirty to false on render, so moved it to the
constructor.

Change-Id: Ibfa23f545c9d358e7e03fb299c238182ea449d7c
2020-10-28 09:29:47 +01:00
Translation updater bot
5ce38ab35c Localisation updates from https://translatewiki.net.
Change-Id: Ib7828e1d62f26ad4d83dcf935b900431a56daf56
2020-10-28 08:36:59 +01:00
Kartik Mistry
eab051abe1 Update version before MLEB release
Bug: T265886
Change-Id: I1821a7dfc72cd44ffc37c8cc8e1146978d5c3c6d
2020-10-26 12:09:04 +05:30