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
Translation updater bot
f925d5caa2
Localisation updates from https://translatewiki.net .
...
Change-Id: I6fdf21d18e9029786630011f6c6b1f0ee4f2530c
2020-01-02 09:00:13 +01:00
Translation updater bot
5cda92a1a7
Localisation updates from https://translatewiki.net .
...
Change-Id: Iba27c1ab99ecbd88a05d42e0e92751807b0c7fd3
2019-12-29 20:42:31 +01:00
Translation updater bot
2523d17a32
Localisation updates from https://translatewiki.net .
...
Change-Id: I077c5dd709a9fd1a242e50da7d3c801f0b4c9283
2019-12-26 16:22:19 +01:00
Translation updater bot
a1e9105d60
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifdc930b7e496562c216f79c2af7b94dedab5eab0
2019-12-24 10:03:44 +01:00
Fomafix
8652470ec4
Use position:fixed instead of position:absolute
...
This prevents a wrong position of the dialog when there is a different
scroll position like on an URL with fragment, for example
Special:Version?setlang=de#Installed_software
Change-Id: Ic10c6b13461a259d87fd43a718acdd1421193b6c
2019-12-23 13:50:28 +00:00
Translation updater bot
9e389c7490
Localisation updates from https://translatewiki.net .
...
Change-Id: I5a698fc667485e26849450878b2490274b771d02
2019-12-22 17:41:57 +01:00
libraryupgrader
1aa27c8640
build: Updating mediawiki/mediawiki-phan-config to 0.9.0
...
Additional changes:
* Added .eslintcache to .gitignore.
Change-Id: I9c9736c1399422d2668d5a18712cb9b023149ef8
2019-12-22 09:08:52 +00:00
Fomafix
5fda459531
Remove URL parameter setlang from history when language is unchanged
...
This change allows to use the ULS language changer without getting a
dialog for restoring the old language.
This change requires that the module is also loaded in this case.
Change-Id: Ie5169e986d0362034ede122b0bc29ce7a4aa481e
2019-12-19 20:32:25 +01:00
Fomafix
d31fddd8e7
Use history.replaceState instead of history.pushState
...
This removes the URL with the URL parameter setlang from the history.
A click on history back doesn't show the URL parameter setlang anymore.
Change-Id: I0ea8c4508bedd9758a1cebbe8ecb2a7113bf8538
2019-12-19 20:11:19 +01:00
Fomafix
5b41346e76
Use a cookie which can changed by JavaScript for setlang
...
Before this change the cookie set by setlang can't changed with
JavaScript UI anymore.
Change-Id: Iad5fac0ee7de59813370849f22b685073e4cc535
2019-12-19 18:22:32 +01:00
Fomafix
8eb162020f
Remove type hints which are not supported by PHP 7.0
...
ULS currently supports MediaWiki 1.32+ which supports PHP 7.0+.
This change can reverted when the minimum required MediaWiki version is
1.34+.
Change-Id: I8115c4ae74c8aa91899899b1fb304ccbf1066ad8
2019-12-19 17:36:32 +01:00
Abijeet
ff02e63a45
Update setlang to display confirmation dialog to change language
...
setlang will now display a dialog to confirm with the user that
they would like to change their interface language. The preferred
language will only be updated if the user confirms.
The dialog will be displayed if the setlang parameter is present in
the query string and,
* A user is logged in, and their preferred language is not the same
as the one passed via setlang.
* For an anonymous user if the wgULSAnonCanChangeLanguage is true,
and the current interface language is not the same as the one
passed via setlang.
Bug: T63115
Change-Id: I882297d99a594fd82fd0aec3b4664e8bfd1eac3a
2019-12-19 14:54:34 +00:00
libraryupgrader
88b2f8ee2f
build: Updating mediawiki/minus-x to 0.3.2
...
Additional changes:
* Added .eslintcache to .gitignore.
Change-Id: Ifcd79b5966f44baae1f50144730c04d09d47f000
2019-12-18 14:43:59 +00:00
Translation updater bot
c3110dac43
Localisation updates from https://translatewiki.net .
...
Change-Id: I4a0d055bee7de729095425996fb7081ba2d37b1a
2019-12-18 09:26:55 +01:00
Translation updater bot
b3377b689d
Localisation updates from https://translatewiki.net .
...
Change-Id: I7b5acd9d83d7c2ac9cbfe9391a2ebc5f830a045a
2019-12-17 10:09:24 +01:00
Fomafix
61ebecff91
Use document.body instead of 'body' as jQuery selector
...
Change-Id: Ia551b3050ed546de1f9db44dbd332a5b6c108a9f
2019-12-16 15:51:09 +00:00
Translation updater bot
6d97927ad2
Localisation updates from https://translatewiki.net .
...
Change-Id: I5a45e86093797dce097ba7ec52fd5a11693ff79b
2019-12-16 12:15:48 +01:00
Fomafix
6a5b9e3164
Consistently use setTimeout, clearTimeout and location without window
...
Change-Id: Ie83313b3f2a7f9bc939eb19d7a82bc980f12b0b8
2019-12-16 10:19:35 +00:00
zoranzoki21
ef741394c4
Convert UniversalLanguageSelector extension.json to manifest_version 2
...
Bug: T239433
Change-Id: Id2e0af8bab2cb834c1ffaa0abe692e0c3d58c14d
2019-12-02 20:43:29 +00:00
Translation updater bot
f8c6802348
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib0d8fd385f9a50e64f691f41357c504765efcdb5
2019-12-02 09:24:26 +01:00
Amir Aharoni
8f87957a91
Update jquery.uls from upstream
...
* Rename ais to szy
* Add shy-latn
* Localization updates
Updating to
783ee39251
Change-Id: I23f43a7204a18c5a3b4a77f7ca1e8dbccc8071ab
2019-11-26 22:20:37 +01:00
Niklas Laxström
81e7f9a888
Update language name search index with CLDR 36 data
...
Change-Id: I2a9ff49eb64917a4e11938e654b8d4d387f9a7c8
2019-11-26 10:58:19 +00:00
Translation updater bot
6e0f6c23c0
Localisation updates from https://translatewiki.net .
...
Change-Id: I12fa6d55f71a07d2d5364cb5355972eeaf7e9c20
2019-11-25 09:11:14 +01:00