Commit Graph

3334 Commits

Author SHA1 Message Date
Abijeet Patro
56c38a5515 Revert "Simplify ext.uls.preferences module"
This reverts commit 61f1a9863a.

Reason: mw.storage.getObject was introduced in MW 1.34. Need to
support MW 1.33 for MLEB 2020.04 release.

Change-Id: If9cd8d1f9e1ab544eba280c8fa7b36db91b64573
2020-04-16 12:43:38 +00:00
Translation updater bot
19baf4fa22 Localisation updates from https://translatewiki.net.
Change-Id: If70136dc2305611a03c8fa17ca6db6b4b69a4f7a
2020-04-14 08:25:42 +02:00
Translation updater bot
a23f01c1d1 Localisation updates from https://translatewiki.net.
Change-Id: I77e181c3cae3a23bd8ce9ae3d167fb3803c02a74
2020-04-13 09:03:10 +02:00
Amir Aharoni
c9e9619826 Update jquery.uls from upstream
* Localization updates
* Update Kildin Sami autonym

Updating to
d97c2e9d8d

Change-Id: I5ce4a1d3ee5f67d13fe3c79da190dfde1e678d5f
2020-04-07 14:14:54 +00:00
Amir Aharoni
33def89dcc Update jquery.ime from upstream
Updating vec-GVU rules.

Updated to
54eeaca56f

Change-Id: I690dab2a3d7ac448117860357e96163ba181b66e
2020-04-07 13:34:22 +03:00
Translation updater bot
615b6b9956 Localisation updates from https://translatewiki.net.
Change-Id: I599604bf55b5f771c1be9c2d7a6ef6c39c8279f3
2020-04-07 08:51:54 +02:00
Translation updater bot
1663a406f2 Localisation updates from https://translatewiki.net.
Change-Id: I4f8275c4ee82d0408617d5e20d1583813523a707
2020-04-06 09:03:02 +02:00
libraryupgrader
0c5089a6b6 build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: I5e0a17bd7744493781cd7b7fefc35124df9ddcac
2020-04-05 10:55:42 +00:00
Translation updater bot
4696ccfe51 Localisation updates from https://translatewiki.net.
Change-Id: I4d443017a241a6bb97c1ae1363ca37b505056fc4
2020-03-25 08:33:55 +01:00
libraryupgrader
7b0ad5816d build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.4.0 → 6.8.0
  * https://npmjs.com/advisories/1179
* svgo: 1.2.2 → 1.3.2
  * https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
  * https://npmjs.com/advisories/1488

Change-Id: I1a6abedafa6bf9ff7edb41a21a7d3a8e9852a9d7
2020-03-21 08:32:19 +00:00
libraryupgrader
93f1c0a19f build: Updating npm dependencies
* minimist: 0.0.8 → 1.2.5
  * https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
  * https://npmjs.com/advisories/1488

Change-Id: Ie1b0d453d8c2b002ee1eb53c3a69ddf2df038b80
2020-03-19 18:57:23 +00:00
Translation updater bot
5de076b6f7 Localisation updates from https://translatewiki.net.
Change-Id: I6e839881aadd084324f4e480b040fbb7e22d2aaa
2020-03-13 08:55:21 +01:00
Translation updater bot
900a60c5e7 Localisation updates from https://translatewiki.net.
Change-Id: I2c72d607fb2f953a70daaadfbdcaa1d6e1bc304d
2020-03-12 08:43:44 +01:00
Translation updater bot
6df455704c Localisation updates from https://translatewiki.net.
Change-Id: Ia845998691598907b4e82ecad28900836e64603d
2020-03-11 08:30:15 +01:00
Kartik Mistry
379fafb400 Update jquery.uls from upstream
Change-Id: I92fea922a6f8cabe4c4f6c74e87f393f0ec7f719
2020-03-09 11:57:14 +05:30
David Kamholz
44ea2ceeb3 added Pustaka Bali and Vimala fonts for Balinese
Bug: T247142
Change-Id: Ie77a72ca532272662dd2c3f7f4d5a3ea2236f067
2020-03-09 05:47:15 +00:00
libraryupgrader
3eddb6b712 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I1e0f98d12d3fc4427ad9469194dfa27e755e2d52
2020-03-08 15:13:20 +00:00
Reedy
da1c81d691 Run compile-font-repo.php
Running it on a repo without any changes, results in ext.uls.webfonts.repository.js changes

Change-Id: I28353a1da384eb6e3386d8697e80a2b33daaf455
2020-03-07 08:05:45 +00:00
Reedy
8b4e263ed7 Fix webfonts typo
Change-Id: I3cc3264f347454a0c15981653163226c13a2a007
2020-03-07 00:07:22 +00:00
Translation updater bot
4bdc8b2a6e Localisation updates from https://translatewiki.net.
Change-Id: Id4899c12c13f08614e5ded33068b02078d20c20d
2020-03-05 08:40:09 +01:00
Translation updater bot
29e88806b7 Localisation updates from https://translatewiki.net.
Change-Id: I7530b94ef1e60eb8abea7b6177c86848d881d1df
2020-03-04 08:54:14 +01:00
Niklas Laxström
61f1a9863a Simplify ext.uls.preferences module
Related to T246370

Change-Id: Iedef79c75ef0ab9c1baff5a0e6f1953c3c56ac91
2020-03-03 11:38:23 +00:00
Translation updater bot
31f23edd14 Localisation updates from https://translatewiki.net.
Change-Id: Ib290553bf1d284a31fd7f90bc99404a1e444616d
2020-03-03 08:15:25 +01:00
Translation updater bot
93628379b9 Localisation updates from https://translatewiki.net.
Change-Id: Id5fe076af7f56e5862875603df47808046e29a37
2020-03-02 09:11:55 +01:00
libraryupgrader
1fbf5f97bc build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: Ic26989566157dd688077800fcb5302d2a24efe62
2020-02-21 04:11:01 +00:00
Translation updater bot
263db3d365 Localisation updates from https://translatewiki.net.
Change-Id: Ie426e0e07e0a458f1c269d488f21b11c014d0cec
2020-02-20 09:28:01 +01:00
Translation updater bot
33ec81ed19 Localisation updates from https://translatewiki.net.
Change-Id: Iaa294944958378821a3ec0c043c4c422ced82bb1
2020-02-18 08:25:45 +01:00
Translation updater bot
b30a54cacd Localisation updates from https://translatewiki.net.
Change-Id: I6f66420d1b721cce94325fd2e6732e439d268e14
2020-02-17 08:47:59 +01:00
Amir Aharoni
ed42b4a6c3 Update jquery.uls from upstream
* Localization updates for af, ksw, nqo, ti

Updating to
186c342617

Change-Id: I32b987d87a6568d87ec012c6f49cc82509a532bc
2020-02-13 13:47:44 +02:00
Translation updater bot
a8613c716e Localisation updates from https://translatewiki.net.
Change-Id: I684c37c9969f5e82872e92b22682dd42d8b56ec2
2020-02-10 08:36:13 +01:00
Translation updater bot
dd0e8657fd Localisation updates from https://translatewiki.net.
Change-Id: I088c42abe70404f36796fa8acb4ef972946de745
2020-02-06 08:20:12 +01:00
libraryupgrader
c3e4ac27c0 build: Updating composer dependencies
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: I1675c0646922afb2931634eb84a7ec4eb2220b5b
2020-01-30 08:25:32 +00:00
Translation updater bot
17d3bd74f3 Localisation updates from https://translatewiki.net.
Change-Id: Id040c8edadd9d886f55ceb7f4bdb8cd5ec42487f
2020-01-28 08:26:46 +01:00
Fomafix
9fabb9a4ff Simplify variable assignment.
This makes the code shorter and the message is generated only in the
else path.

Change-Id: I1367280b6c154fe77b8a2cfbcdb6333aecefab53
2020-01-23 14:40:25 +01:00
Thiemo Kreuz
a5ae7cb556 Streamline a few pieces of JavaScript code
The main goal here is to reduce complexity. For example, the method to
remove a parameter from the current URL is never used with another
parameter. The complexity is not needed.

This is inspired by the changes I have seen in Icaf086f.

Change-Id: If22c25e84f50ac380320cd581690835ddb70f01d
2020-01-23 09:29:12 +00:00
Abijeet
459d55c5d3 Remove setlang URL parameter on dialog close
Add two new options for ext.uls.dialog - afterOpen and afterClose.
These are callback function which will be triggered after the dialog
opens or closes.

Using the afterClose callback in ext.uls.setlang to remove the
setlang parameter from the URL if the dialog is closed without
pressing any button. This might happen if the user closes the dialog
by pressing Esc, or by clicking on the overlay.

Also see: Ie3215d12d9c77f15597495e21610707b272eeee9

In addition, renamed all occurrence of setlang to setLang.

Bug: T63115
Change-Id: Icaf086f947b1d91bf7ad5b36f126da0be1fc7747
2020-01-23 09:27:15 +00:00
Kartik Mistry
1375f0c56c Update version before MLEB release
Change-Id: I02e948abf9263f6fcbac0f59f345e4a80358be4e
2020-01-23 11:09:32 +05:30
Translation updater bot
4de92c400b Localisation updates from https://translatewiki.net.
Change-Id: Ieec1c0433c5b6572e8f87b570b920a51c925a182
2020-01-21 08:17:14 +01:00
Fomafix
80b8d411aa Use document.documentElement instead of 'html' as jQuery selector
Change-Id: I1b3bb53a31125333d14d1659fdadd2a81140ae50
2020-01-20 14:52:13 +00:00
Fomafix
0a605f40ab Use PHP syntax features from PHP 7.1
* void return type (https://wiki.php.net/rfc/void_return_type)
* Nullable type (https://wiki.php.net/rfc/nullable_types)

The parent change ensures that PHP 7.1+ is required.

This change reverts commit 8eb162020f.

Change-Id: Ifb8fc52f4b161ea89fef2c84e51e4c8f2b648a49
2020-01-20 13:49:55 +00:00
James D. Forrester
a0dab26fb1 build: Explicitly require PHP 7.1+, per MLEB baseline
Change-Id: I602d302f3e32af1d0ab3586d3fcbea31ecf50e1c
2020-01-20 13:49:54 +00:00
Translation updater bot
b7aec09dd3 Localisation updates from https://translatewiki.net.
Change-Id: I302c0832ec0a7faef50504561a07c2d8b6fcb56b
2020-01-20 08:50:57 +01:00
libraryupgrader
546643a82d build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate

Change-Id: Id07ab99e34e0de415585ff8ddf9b15fb413acef9
2020-01-15 10:09:41 +00:00
Abijeet
5ad4f74ea9 Add support for keyboard events for the setlang dialog
Support has been added for:

* Esc: Closes the dialog
* Tab: Ensures that tabbing keeps focus on the focusable elements
  in the dialog. If no overlay is not present, the focus is
  allowed to flow normally.

This should not happen but if NO focusable elements are found and
overlay is displayed, focus is locked on the overlay.

Also add description and other license information for uls.dialog
& uls.setlang files.

Bug: T63115
Change-Id: Ie3215d12d9c77f15597495e21610707b272eeee9
2020-01-14 15:14:37 +00:00
Translation updater bot
ec55f8c158 Localisation updates from https://translatewiki.net.
Change-Id: I1a341dd2e6cf0d858348f23c8b373be627a3a6af
2020-01-13 09:12:22 +01:00
Translation updater bot
11ac040c2c Localisation updates from https://translatewiki.net.
Change-Id: I93afeceaf7b63f8a88abb5f9e9e7a30dedc01b0a
2020-01-10 08:34:51 +01:00
libraryupgrader
a19a9791f3 build: Updating npm dependencies
* stylelint-config-wikimedia: 0.7.0 → 0.8.0
* grunt-stylelint: 0.12.0 → 0.13.0

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: Ib1790ffb8818752c89e8cd075a62c2dc5cbf0daf
2020-01-10 06:06:36 +00:00
Translation updater bot
1c294f8981 Localisation updates from https://translatewiki.net.
Change-Id: I23bd07228b36f7fadd169d0aef2dcb9b64eec217
2020-01-06 08:51:04 +01:00
Santhosh Thottingal
6f1ccbd3b7 Update jquery.ime library
Changes:
1. build: Update eslint
2. telugu jna gunintham fixes

Updating to 6d591016d2

Change-Id: I092ae22f51bb18ef5dd23f8b1552ca7ced17face
2020-01-06 07:02:34 +00:00
Santhosh Thottingal
f39d684103 Update jquery.uls from upstream
* Localization updates
* Update language data
* Remove IE6/7 support

Updating to
9a0e73bc68

Change-Id: I18ae8fe756ba21b06e6292651889309924fa9ee8
2020-01-06 11:54:04 +05:30