Commit Graph

3867 Commits

Author SHA1 Message Date
Translation updater bot
28540535b3 Localisation updates from https://translatewiki.net.
Change-Id: I586b5cc72e1a56fc5ca6a346192998f088ab4710
2022-05-24 08:26:02 +02:00
Amir E. Aharoni
9f09b99d0b Update jquery.ime and uls from upstream
ime:
* Add Efik tilde keyboard.

Updating to
17e579a871

uls:
* Update Efik autonym.
* Localization updates.

Updating to
6fc0e736d9

Change-Id: I01974dff80117b0e03a5de94786a28eb6a9e587f
2022-05-23 15:02:44 +03:00
Translation updater bot
6c67c5764e Localisation updates from https://translatewiki.net.
Change-Id: Icff94b7c28b61162244e1017ba838ec3f418b7fd
2022-05-23 08:17:49 +02:00
libraryupgrader
44f4805cbb build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt: 1.4.1 → 1.5.2
* stylelint-config-wikimedia: 0.11.1 → 0.13.0

Additional changes:
* Set `name` in package.json.

Change-Id: I31e94f6b5ca7d41a2c256e97cc21769b729c10f0
2022-05-21 16:59:16 +00:00
Translation updater bot
7e8c53cf96 Localisation updates from https://translatewiki.net.
Change-Id: I8ef9c4a775ee28879c5762bcda829b2b5059a96c
2022-05-20 08:37:39 +02:00
Translation updater bot
869ae97cb8 Localisation updates from https://translatewiki.net.
Change-Id: I7bbcbfe6f860c0f4d8e14d7f50aae5fe9d37d2aa
2022-05-19 08:19:53 +02:00
Amir E. Aharoni
0305e1217f Update jquery.uls from upstream
Update language-data and localization.

Updating to
54864601fa

Change-Id: I9c73426dae72f14b6b8ca08b28bc29cb43d2333f
2022-05-18 18:27:59 +03:00
Translation updater bot
d00052384e Localisation updates from https://translatewiki.net.
Change-Id: Ib8b52cf1f1c865bd75972043c0d451e309654529
2022-05-16 08:25:33 +02:00
Translation updater bot
eeaa0d1b3a Localisation updates from https://translatewiki.net.
Change-Id: I9690f7b78dbc27620d570956de3d3c4c9aa229c7
2022-05-13 08:26:59 +02:00
Translation updater bot
729194afd6 Localisation updates from https://translatewiki.net.
Change-Id: I119c44c49a9377f35c1d5d15b3b4c762d99fcc1f
2022-05-11 08:12:19 +02:00
Translation updater bot
aa59254ffc Localisation updates from https://translatewiki.net.
Change-Id: If7783b79363d846a286d53cab71229ac7c04f7e1
2022-05-10 08:10:08 +02:00
NikG
257112ce78 ULS actions menu buttons: Add support for href
Currently, actions menu button only support an event handler to be
called upon button click. However, when the desired result of a
button click is just a redirection, "href" attributes are preferable,
due to their accessibility support.

To better handle such cases, this patch also adds support for "href"
attributes inside action item buttons. When "href" property exists
for an actions menu item, it is used and the event handler is
ignored.

Bug: T289840
Change-Id: I776680c19564f032acd550206c7d1306407420e0
2022-05-09 09:08:49 +00:00
Translation updater bot
449b43b2e3 Localisation updates from https://translatewiki.net.
Change-Id: I2308795c29c7cc8a7281a7865e6c689415491616
2022-05-09 08:12:32 +02:00
Amir E. Aharoni
b60a925d77 Update jquery.uls from upstream
* Localization updates (awa, rw)
* language-data update, see
f422273d0f

Updating to
f422273d0f

Change-Id: Iecc1c8a256260e40a0253c6fe11d8a93dc319ae5
2022-05-05 11:38:24 +04:00
Translation updater bot
048cbdafe6 Localisation updates from https://translatewiki.net.
Change-Id: I3ee1886c00fd9128c58ab91c476bd33e7c7762c7
2022-05-05 08:07:06 +02:00
Translation updater bot
0de97304be Localisation updates from https://translatewiki.net.
Change-Id: Ifac5901d948faa590af277fe5c725f205e3dcf17
2022-05-02 08:20:34 +02:00
Translation updater bot
90fa4f6c37 Localisation updates from https://translatewiki.net.
Change-Id: Iff6cc17a32d87bee5399a19e540acf74bbe7fa7d
2022-04-26 08:54:58 +02:00
Abijeet
a924ab4a8f Update version for MLEB 2022.04
Bug: T305141
Change-Id: I90a9eba2bb732dae855bfb58212d31b6fd7d0609
2022-04-25 18:16:52 +05:30
Translation updater bot
ce86d4b056 Localisation updates from https://translatewiki.net.
Change-Id: If8242d5ead81b7c1b2eb39f1cf7deff638af1b65
2022-04-25 08:19:16 +02:00
Translation updater bot
ebed69e99b Localisation updates from https://translatewiki.net.
Change-Id: I100cbc12c7b5efbd63b45753127726f0f2d66ed9
2022-04-22 08:23:51 +02:00
Translation updater bot
a08e134334 Localisation updates from https://translatewiki.net.
Change-Id: Icc14be6b9408e338d94752999ec62057b80db49a
2022-04-21 08:12:47 +02:00
Thiemo Kreuz
78c25ebcf7 Fix-ups to comments and User interface usages
* Use isRegistered() from the more narrow UserIdentity interface.
* More specific type hints.
* Remove comments that literally repeat the code.

Change-Id: Icd0eaf8236be41b258efcf81d581540d2448e9e3
2022-04-20 09:54:25 +02:00
Translation updater bot
5009917eba Localisation updates from https://translatewiki.net.
Change-Id: Iaa4475f77733eceff48b45bce7350269bc558f4c
2022-04-19 10:16:13 +02:00
Translation updater bot
ed4d7acbbc Localisation updates from https://translatewiki.net.
Change-Id: Ifeebc944f97b19018069a58493074ad896688f33
2022-04-18 10:07:04 +02:00
Translation updater bot
16b4b84ad7 Localisation updates from https://translatewiki.net.
Change-Id: Ifbb6c0e38dc8f192cf92a508eac90728d8657bad
2022-04-15 09:57:07 +02:00
Translation updater bot
18dc567e78 Localisation updates from https://translatewiki.net.
Change-Id: I49c4537d190c6d61886746be78c515d6ae4d0b0d
2022-04-14 08:27:31 +02:00
Amir E. Aharoni
f3b0aeced0 Update jquery.ime and jquery.uls from upstream
jquery.ime
* Fix z-index for ime-open class and remove from imeselector-menu
Updating to
1f6c9d0165

jquery.uls
* Update language-data, add Efik (efi)
Updating to
62bcddbd8f

Change-Id: I9e68adb7085812b74c2d97a324c7fd6ac4dffc10
2022-04-13 10:59:44 +03:00
NikG
9fc25cc862 Require action menu items registry at the top of uls interface module
"ext.uls.actions.menu.items.registry.js" should be required at the
top of the "ext.uls.interface.js" file. The latter is the main file
of the "ext.uls.interface" module, and it's the only one that is
executed when the module is added as an external dependency. Since,
the "mw.uls.ActionsMenuItemsRegistry" object is needed outside ULS
extension (inside ContentTranslation), the corresponding file should
be required at the top of the main file so that it's available.

Bug: T289840
Change-Id: I70ced03c09b7907c6dbf2aa35a29d5fd14b790e6
2022-04-13 07:02:57 +00:00
Translation updater bot
2cb39cd29c Localisation updates from https://translatewiki.net.
Change-Id: I412cf7d448761ca75864544a88e3b0559e0533ee
2022-04-13 08:33:02 +02:00
Translation updater bot
e6fda3d00a Localisation updates from https://translatewiki.net.
Change-Id: I14a5b27064a14e73a21677f631dff6bb45de7399
2022-04-12 08:15:03 +02:00
Translation updater bot
eddaa062ed Localisation updates from https://translatewiki.net.
Change-Id: If87ba1e47b95a2d66345d84631004ab1a253a48c
2022-04-11 08:14:49 +02:00
Santhosh Thottingal
5e6838ebdf Add actions menu inside content language selector
This patch replaces the display and input settings menu bar at the
bottom of the content language selector, with a floating icon that
opens a menu containing all the available language actions. In case
that only the language settings action is available, the language
settings menu is being opened instead.

In order to provide extensibility and support the addition of new
action items from other extensions, a registry class that inherits
from OO.Registry class is created. This class is used to create a
singleton registry object that holds all action items that should
be rendered inside the menu. Other modules/extensions can use this
registry to add new actions items to the menu, by passing the item
as argument, in the following form:
{ name: "", icon: "", text: "", handler: function() {} }

Bug: T289840
Change-Id: Iee017a9e3e6a654145e9fdd2b7df35baa348697d
2022-04-11 05:24:08 +00:00
Translation updater bot
03ab8c3b0b Localisation updates from https://translatewiki.net.
Change-Id: I899a8d86eff06677211a6411a56cf13aabcc0b57
2022-04-08 08:28:29 +02:00
Translation updater bot
271805ac5a Localisation updates from https://translatewiki.net.
Change-Id: Iadd8213f83caa629ca9c676b6c19a7ebfbbcda25
2022-04-05 08:26:18 +02:00
Translation updater bot
50a9b7c71d Localisation updates from https://translatewiki.net.
Change-Id: Id8902787be0c99d47ce63f2f107404c30f09e75d
2022-04-04 09:35:20 +02:00
Translation updater bot
189ff5b266 Localisation updates from https://translatewiki.net.
Change-Id: I982ffb0d53d67a04ba0465073600e543841eb9ee
2022-03-30 08:18:47 +02:00
Amir E. Aharoni
28c52ed05c Update jquery.uls from upstream
Localization updates. In particular, replace
non-standard "tokipona.json" with "tok.json".

Change-Id: Iaaac304b7e8f96afd1d22239bfcc59900b4050ad
2022-03-22 05:54:22 +00:00
Translation updater bot
0a52f7988b Localisation updates from https://translatewiki.net.
Change-Id: I47ea301716a9cd42d9d5da31376f082f9a4b6522
2022-03-21 08:15:36 +01:00
Translation updater bot
fa7b8b0465 Localisation updates from https://translatewiki.net.
Change-Id: Iaafd41bf415f117730eb151c281f542d2e126835
2022-03-15 08:25:54 +01:00
Niklas Laxström
7b50fee222 Update language name search index
Change-Id: I963cbe6a55aab69ae799620b2e343cfd065c72aa
2022-03-14 09:33:59 +02:00
Translation updater bot
b282d3dfca Localisation updates from https://translatewiki.net.
Change-Id: Id926a5dfbefd8467e927cd82ee54f0a4f4915625
2022-03-14 08:14:56 +01:00
Translation updater bot
93a34c831a Localisation updates from https://translatewiki.net.
Change-Id: Ief052a6f7c28c7465b726360f2dcf95ba1aa48b1
2022-03-11 08:33:23 +01:00
Timo Tijhof
af60848942 displaysettings,inputsettings: Rename two classes for consistency
I suspect these may have been accidentally mixed up or miscompleted
from a nearly data-attribute or interface message, since all other
classes start with `.uls-` in this repository.

* "uls-input-settings-imes" is not used referenced anywhere else.

* "uls-sub-panel" is referenced in one skinStyles override, updated with
  https://github.com/StarCitizenTools/mediawiki-skins-Citizen/pull/434.

Change-Id: Ia0b23d795f7807ef9227f66d0890a25524cd5a9f
2022-03-10 05:19:48 +00:00
Translation updater bot
ced02578ec Localisation updates from https://translatewiki.net.
Change-Id: I7b498cff5b841497b29a880b4fb28f9c624497e8
2022-03-09 08:10:17 +01:00
Ed Sanders
02e17c5242 build: Update eslint-config-wikimedia to 0.22.1
Change-Id: I02692eeabb23c5b99997faa7a17d42f019148ed1
2022-03-08 09:41:49 +00:00
Abijeet
03cf7863ec Stop propagating first click handler when loading languagesettings
The languagesettings dialog does not open when clicking the
uls.trigger for the first time. This issue occurs when the user is
not logged in, ULSPosition is personal, and ULSAnonCanChangeLanguage
is false.

Without this change, the following happens:
* uls.languagesettings is loaded via uls.interface
* uls.languagesettings::hide is called via uls.languagesettings::init
* click method is triggered immediately via script in uls.interface
* uls.languagesettings::show is called
* uls.languagesettings::hide is called - triggered via ::show
  method - $( document.documentElement ).trigger( 'click' ); but
  dialog is not visible yet, so this does nothing
* uls.languagesettings::show displays the uls.languagesettings
* hide method called again via click handler for documentElement

With this change in place the hide method is not called again due to
e.stopPropagation();

Additionally add a parameter autoOpen that can be set to open the dialog
automatically.

Bug: T301882
Change-Id: I54e8172ae017c4a9c6ab5b841d9328b2f24f97a8
2022-03-08 09:39:43 +00:00
Amir E. Aharoni
4385fbf157 Update jquery.ime and jquery.uls from upstream
jquery.ime:
* Add Fante with Akan keyboards.
* Internal cleanup in Kashmiri keyboard.
Updating to
fdedae1788

jquery.uls:
* Update language-data.
Updating to
85c3341aec

Change-Id: Ia00283d88f65c406a64e645b5ec75bf2a97ebc1e
2022-03-07 18:20:03 +02:00
Translation updater bot
c86cd37167 Localisation updates from https://translatewiki.net.
Change-Id: I36ebadbd422e148bf31e460365106e3d5bce3346
2022-03-07 08:11:51 +01:00
Reedy
f8eda0ca0c Use namespaced Babel class
Depends-On: I16411d99d97762606ed43e5a0093ff7ed1cfa0b8
Change-Id: I15ae2cd07b88991ed6f150e12af30bee9499dbdc
2022-03-06 14:41:56 +00:00
Reedy
430afafeb7 Use ExtensionRegistry to see if Babel is loaded
Change-Id: Iabc24b4580bab39a6d232d61e9c52a641cce41a3
2022-03-06 14:41:10 +00:00