Commit Graph

3626 Commits

Author SHA1 Message Date
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
Timo Tijhof
09862cffec ext.uls.eventlogger: Remove more obsolete deferred complexity
Follows-up c578db02 and ea671b1f, which I thought removed
all code relating to the old async EventLogging method.
I didn't notice this UI code at the time, because I only took a
single pass over the code to find dead code. Now that that code
is gone, it is clear that the UI code is also redundant.

The mw.track() and logEvent() methods don't track the Beacon API's
async fetches, which also isn't needed, since the loss of browser
context upon navigation doesn't abort background beacons.

The loading of the EL library itself is already ensured via a
dependency so we already know there won't be an async fetch for
that.

What that leaves is some portion of older browsers in which a
EventLogging falls back to 'new Image'. This is basically just
IE 11 per <https://caniuse.com/beacon>, and for those some portion
of events will have been lost since EventLogging removed support
two+ years ago for tracking those fallback fetches via a Promise
(because of the perf issues caused by what the removed code here
was able to do).

Change-Id: Idf4378f983b6ba0e755ebadb97aa6d87cf95f7a5
2020-10-22 23:45:52 +00:00
jdlrobson
f8fde38197 Use require to clarify ext.uls.preferences
ext.uls.preferences only depended on ext.uls.common because of its
use of the uls global. This is unnecessary, and made clearer by using
require and module.exports to access it.

Change-Id: Ied2a1b560d19a18529fd766ced778c912199fa2f
2020-10-20 16:08:59 +00:00
jdlrobson
5cd10ce862 Reduce JS loaded on critical path
As a precursor to incorporating a new language switcher in the new
version of Vector I'd like to improve the performance of loading
the switcher.

It seems most code can be deferred until the language selector
button is clicked.

This shaves around 30kb of resources off the critical path for
most users. There's potential here for a positive performance
impact so we should follow up the deployment by checking the
associated performance graphs to see if there's improvement.

Note, if the compact personal links feature is enabled
there is no performance saving for now. This will be addressed in follow
ups.

Bug: T153844
Bug: T153845
Bug: T237061
Change-Id: I740600d18859422b2f98a5ef92d0321f6e9615a2
2020-10-20 13:40:49 +00:00
Niklas Laxström
8d5d63b996 Regular update of language name search database
Change-Id: I7325d18a2da7f3a84f3d43efcc84029586319acd
2020-10-20 08:17:48 +00:00
Translation updater bot
343bd1b9aa Localisation updates from https://translatewiki.net.
Change-Id: I9fc99711b8e3a9083326030f02b147af79b8b9ed
2020-10-20 08:31:41 +02:00
Niklas Laxström
67ac68a412 Update jquery.webfonts
23dc38d059

Bug: T265325
Change-Id: I56ada1b32b9c68c286abfc503ed7f9aec49c76e8
2020-10-19 09:02:36 +02:00
jdlrobson
a1963ce12d Merge ext.uls.inputsettings into ext.uls.displaysettings
These modules are always loaded together. There is no need to load
them in separate ResourceLoader modules

Change-Id: Ibdf7d1bbd9090ffed6a142055ee684ad97dd6680
2020-10-14 21:11:03 +00:00
Nikerabbit
fe6ae65c98 Revert "Update jquery.webfonts"
This reverts commit e0e69d35b2.

Reason for revert: causes more JS errors

Change-Id: Iceef32eb2f858d7b28e1e173d63c060c4407c2bd
2020-10-14 15:27:49 +00:00
Niklas Laxström
98f0bb42bd Remove ULSCompactLinksForNewAccounts and ULSCompactLinksEnableAnon
These are disabled by default and on production. They are only enabled
in the beta cluster, which is not needed.

Change-Id: Ifa847fd8a1f3d7d2695a7c1c4a1a93f136091604
2020-10-14 13:02:25 +00:00
Niklas Laxström
e0e69d35b2 Update jquery.webfonts
https://github.com/wikimedia/jquery.webfonts/commit/95ff58e089

Bug: T265325
Change-Id: Id28fbfa12dc7a9aba21c26cafb5427db8b052d0f
2020-10-13 13:35:32 +02:00
Amir Aharoni
1ae44d3b1b Update jquery.ime from upstream
Add the macron character to the Igbo tilde keyboard.

Updating to
3177f3ce24

Change-Id: I2f8d02ab1d0d93781d3889bfef700438a0ca2d2a
2020-10-02 20:45:12 +03:00
Amir Aharoni
c2ff179d5e Update jquery.uls from upstream
* Localization updates: az, mn, ti, tly, udm, yue, zgh
* New localizations: mnc, mni
* Update language-data: fixes autonyms for Altai languages, redirect for cbk

Updating to
5b615109ea

Bug: T263717
Change-Id: I039a9e629305bc930e772f69fb5350f34e202be9
2020-09-29 12:27:48 +03:00
libraryupgrader
2613a88399 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Change-Id: I4d36e8c0a37a2052e839f8de9ff039c2c07541ae
2020-09-25 11:52:47 +00:00
Translation updater bot
69c2dd8f65 Localisation updates from https://translatewiki.net.
Change-Id: I110c86b2fb09750fe50a67ab8255c34fc10795e3
2020-09-23 08:25:35 +02:00
Translation updater bot
42c79a47e1 Localisation updates from https://translatewiki.net.
Change-Id: I7bf96dbb7b3dbde6c1458579edc5ea9f665d4bb0
2020-09-21 08:30:49 +02:00
Niklas Laxström
d3b07d2ef0 Update language name search database
Change-Id: I2aaa0f975fc80ea42d88092f3bebfd505a48d253
2020-09-17 08:33:24 +00:00
Translation updater bot
acd845b6c4 Localisation updates from https://translatewiki.net.
Change-Id: I45ad72c44c1d17ef24141fd2c3360dc50d71cbdd
2020-09-16 09:09:45 +02:00
Reedy
99937ba18b Add GochiHand font
Bug: T258839
Change-Id: I38eacbfbc3293c7b7a2a6bf4f680b2f70f1a43ad
2020-09-16 05:20:07 +00:00
Reedy
c7caa09b0b Remove comment about eot file format
No eot fonts in the repo, and I presume we don't support those versions of IE anymore either...

Change-Id: I6a2d45592933cc9d1dfa0d0d0a0618a32aaee693
2020-09-15 13:09:11 +01:00
Translation updater bot
678d69747f Localisation updates from https://translatewiki.net.
Change-Id: I93c02e3a08884fd42802757255fb134189dcbb17
2020-09-10 09:50:14 +02:00
libraryupgrader
da796db073 build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
  The following rules are failing and were disabled:
  * no-shadow

* grunt: 1.2.1 → 1.3.0

Change-Id: I35acdb64081ede997f799ac57624403d1e83ec11
2020-09-05 01:20:51 +00:00
Translation updater bot
bf82aae870 Localisation updates from https://translatewiki.net.
Change-Id: I3b4c8bdbe0b9abd63db8b78a71f64ef0006f28b0
2020-09-03 10:05:25 +02:00
Ammar Abdulhamid
f13d28f4d1 Hide ULS language settings in Minerva skin
Bug: T259037
Change-Id: Id62fd434f5974834292bda09e8436efef97cb234
2020-08-31 10:53:09 +00:00
Translation updater bot
86719e150c Localisation updates from https://translatewiki.net.
Change-Id: Iba58391ced3c99304d4a47e272bac7337fa9bfee
2020-08-25 09:47:26 +02:00
Translation updater bot
6f624e5d58 Localisation updates from https://translatewiki.net.
Change-Id: I1f26897216277a05c0d94545318c473341e9828c
2020-08-24 11:59:27 +02:00
Translation updater bot
876eb80232 Localisation updates from https://translatewiki.net.
Change-Id: I89c3b0089c62ea3b03f69f7db184756b518f47ac
2020-08-18 08:37:58 +02:00
Translation updater bot
cf53a9e090 Localisation updates from https://translatewiki.net.
Change-Id: Ia2d3dd6e7b1691ada39604bd6fdc1d7240623b9f
2020-08-17 08:44:55 +02:00
Translation updater bot
4f43be87ab Localisation updates from https://translatewiki.net.
Change-Id: I1fef8860d0f1a8feeeff1fb4cea8f2603e39b55e
2020-08-14 08:39:49 +02:00
Translation updater bot
2a5f834de3 Localisation updates from https://translatewiki.net.
Change-Id: Ibe2639eb0dcda337adbf7631495743e3a0e61304
2020-08-12 08:19:58 +02:00
Translation updater bot
fae27d798d Localisation updates from https://translatewiki.net.
Change-Id: I62f09b9c227fdff6a456654159124fe08ad5cf2e
2020-08-11 08:21:19 +02:00
Translation updater bot
71d1f1a891 Localisation updates from https://translatewiki.net.
Change-Id: I978d7fd489f26ba8123aa6a6d449e723e4985075
2020-08-03 08:34:08 +02:00
Translation updater bot
45914ef446 Localisation updates from https://translatewiki.net.
Change-Id: I9f81c57fe95349bd738975be4a841c429abafc4f
2020-07-30 08:36:31 +02:00
Volker E
394b7cb185 Replace deprecated background-image-svg() mixin calls
Use normal `background-image` properties with SVGs now
that IE 8 and Android 2.1 is removed from Grade C.

Bug: T248062
Change-Id: I6026ff013e41cc147d916193d93c03a6b3d4efef
2020-07-30 04:31:04 +00:00
jdlrobson
b5aff8a06b Define unsupported skins
Previously UniversalLanguageSelector relied on the targets system
meaning the modules ext.uls.interface,
ext.uls.interlanguage and ext.uls.pt were
loaded on Minerva desktop skin unnecessarily and silently removed
on MobileFrontend which throws a warning.

Instead of doing this, check the skin

Bug: T237036
Bug: T235712
Change-Id: Ib38b041533cf959c3c4c30decc65869995c254fa
2020-07-28 14:55:40 +00:00
David Kamholz
dc4937eb1f update Bali fonts to fix spacing issue
Change-Id: I221e9c2db3373ffc14a9f764e5de311e980a93a6
2020-07-27 14:29:15 -07:00
Amir Aharoni
e5fbdb89b9 Update jquery.uls from upstream
* Localisation updates: bci, yue, awa, bs, kab, pt, ti, tly, tr
* Add languages:
** Altai (alt)
** Obolo (ann)
** Northern Altay (atv)
** Baoule (bci)
** Nuxalk (blc)
** Mara (mrh)
* Update autonym for Madurese

Updating to
d4b728ee12

Change-Id: I49b8795ecaa928001c7d3fee6c0cad9f8822616e
2020-07-25 16:04:57 +03:00
Ed Sanders
a628b1c705 Update jquery.ime
Change-Id: Ibcf7a4f076ceb86b91e81310bcb2fa64abc551dd
2020-07-24 19:31:40 +00:00
Translation updater bot
275603c277 Localisation updates from https://translatewiki.net.
Change-Id: I401a30b7fc63616c039b8074b5b383f3fcb5ea2a
2020-07-24 08:27:37 +02:00
Abijeet
e44e59497c Set language URLs to empty for older version of skins
During MLEB 2020.07 release testing noticed that if $wgULSPosition
is interlanguage, the ULS was not appearing.

Revert some of the changes introduced in
I2843edde1bb45c70911d5acf2f7dafdff3bac53e to fix this

Tested this change on,
1. MW 1.34, Timeless (1b22886)
2. MW 1.34, Vector (f39a3f0)
3. MW 1.36, Timeless (e5e188f)
4. MW 1.36, Vector (3926ffa)

ULS appears in all scenarios

Change-Id: I84feaed26c4e32d74ae90152a2d006648d4d9b64
2020-07-23 11:42:40 +00:00
Abijeet
09a19700d2 Update ULS_VERSION for the MLEB release
This is currently used in CleanChanges extension:
https://codesearch.wmcloud.org/search/?q=ULS_VERSION&i=nope&files=&repos=

Bug: T257286
Change-Id: I62cf6a20c6a990d21b8f958356bf35aabb749f38
2020-07-23 16:16:28 +05:30