Commit graph

781 commits

Author SHA1 Message Date
Translation updater bot 7c52cac05e Localisation updates from https://translatewiki.net.
Change-Id: Ifbcafb706a271976f721cceba1b79633988bc045
2023-09-12 08:26:30 +02:00
Translation updater bot b5b9cba7f8 Localisation updates from https://translatewiki.net.
Change-Id: I12f123cd3b596db91189328149b40e27f6228435
2023-09-11 09:03:15 +02:00
James D. Forrester d63555f3e8 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I3606309b5d9e401577fcf7a5230ae60e6f5b6774
2023-08-19 11:27:24 +00:00
gerritbot 4f513b6232 Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I1de316ddfa572a72ca68f9806b93f958286c8ef2
2023-08-19 04:14:04 +00:00
Translation updater bot a67d9a1d85 Localisation updates from https://translatewiki.net.
Change-Id: I1c6670e012b01f6d78f693d2428fc5d4a71c0d31
2023-08-17 12:09:35 +02:00
Translation updater bot 56fb5412ce Localisation updates from https://translatewiki.net.
Change-Id: Ied0dc3d61d547e35b56f0d67d9f54d58361d8e1f
2023-07-24 09:36:52 +02:00
Máté Szabó a6030db858 Follow-up Ie3ed681b: Unstub getCaretPosition() as well
It was pointed out in the review of Ie3ed681b that the naive fallback
for replaceSelection() was not working because CodeEditor only had a
stub getCaretPosition() implementation. So, let's implement that as well
in case people want to use it. It seems to work reasonably well locally
with the native replaceSelection() disabled.

Bug: T342127
Change-Id: I8d3683808394faefa56c7cdff31dc18978c4dd92
2023-07-21 14:45:41 +02:00
Máté Szabó 2f7ce4dd50 Add explicit replaceSelection() implementation
The $.textSelection() facade in CodeEditor is missing a
replaceSelection() implementation. This causes $.textSelection() to
fall back to a naive implementation, which does not work, thus breaking
any gadget or extension that tries to interact with CodeEditor using
this method. As a fix, provide a native replaceSelection()
implementation that calls the appropriate ACE editor method:

Bug: T342127
Change-Id: Ie3ed681b39c5d4d2bed50030a397a2b1c877c9fb
2023-07-18 16:38:55 +02:00
Translation updater bot 795d19bd6f Localisation updates from https://translatewiki.net.
Change-Id: Ic3aa714080d7225b311a182c59a253770109f5b6
2023-07-14 09:32:49 +02:00
Translation updater bot 90c61ea9d8 Localisation updates from https://translatewiki.net.
Change-Id: I31d3c04421b45dfb25c73a01e0cff9f57d162ac7
2023-07-06 10:11:28 +02:00
Jon Harald Søby 075cfc12e4 Remove use of autoMsg in favour of using mw.message directly
Use mw.message directly instead of relying on WikiEditor's
<key>Msg feature.

Bug: T154891
Change-Id: Ifc9016ecd35cb0d8bbbf858b704cb0b574e38f56
2023-07-05 02:03:55 +02:00
Umherirrender 4d6a470aae Create HookRunner class and the hook handler interface
Bug: T271013
Change-Id: Ie8e152530599d11da12cb9272a3b757da1cca1ab
2023-06-04 21:23:14 +02:00
libraryupgrader 024d0332f3 build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: Ifecf31f6a86fd640ce5f9cc0cc2d9a89aeaea587
2023-06-01 02:55:33 +00:00
Translation updater bot c6ee9083c1 Localisation updates from https://translatewiki.net.
Change-Id: I86d9d6227089afd7fbba657d4a30fbdc0b946f1a
2023-05-29 09:58:49 +02:00
gerritbot 417ce7bebf Update moved class EditPage
See T321882. Moved in Ibefc44eb64aed

Bug: T321681
Change-Id: I5a66b76658c3eb19f2afe5b9a8ce4748767e6c2d
2023-05-06 21:19:29 +00:00
Translation updater bot 83ec48d13f Localisation updates from https://translatewiki.net.
Change-Id: I4a5e81349bccb7c5452fbf67c1f46937cc8bb733
2023-05-05 10:38:16 +02:00
libraryupgrader 4af38f4930 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Ib1eb68c26716ef9e144a9dc7030f40c35560e5ef
2023-05-05 02:40:22 +00:00
jenkins-bot 3590c0195c Merge "Replace deprecated Hooks::run" 2023-05-01 09:42:22 +00:00
Umherirrender 10dddec75b Replace deprecated Hooks::run
Bug: T335536
Change-Id: Ifc18d80c15f714d58aef33c9991079db9406a19e
2023-04-29 20:13:21 +02:00
libraryupgrader da6252f405 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: Ib912e9a015a90ffdb39d2696d98c8be5431442d7
2023-04-29 01:27:12 +00:00
Translation updater bot 2bee4c4f57 Localisation updates from https://translatewiki.net.
Change-Id: I0f66393d3f1da4c198a85fcdcc61833da31ced43
2023-04-17 09:12:53 +02:00
Raimond Spekking 197a672b61 Merge "Localisation updates from https://translatewiki.net." 2023-04-10 12:49:13 +00:00
Translation updater bot 7136282de9 Localisation updates from https://translatewiki.net.
Change-Id: I86a926e4df89c457e51640e0a2a7be88647adb85
2023-04-10 09:44:50 +02:00
Translation updater bot 1a0935a375 Localisation updates from https://translatewiki.net.
Change-Id: Id7bd6dccace54c0cbc085f8c26788345916908ba
2023-04-10 09:20:27 +02:00
jenkins-bot fe024e6813 Merge "Use core behaviour regarding saving options for non-registered users" 2023-03-27 14:25:51 +00:00
Translation updater bot 459aa6d418 Localisation updates from https://translatewiki.net.
Change-Id: I24aa53174fc3af89e0b7c29b95f0ea9a337455df
2023-03-27 08:40:43 +02:00
Bartosz Dziewoński 62c3d99a7f Use core behaviour regarding saving options for non-registered users
mw.Api#saveOptions will skip the API call and return a 'notloggedin'
error when the current user is not registered.

To handle temporary users as well, just fall back to that behaviour
instead of being explicit, and the right thing will also happen
(probably it will return an error, although the behaviour may change).

Bug: T332430
Change-Id: I4aafd6f74b74971c52b6222f8ec97a4963bb6a7b
2023-03-17 20:33:43 +01:00
libraryupgrader 79c2815bdb build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.1 → 0.14.0

Change-Id: I8de4097ea27b4ccc247015077d7917c3a29436cc
2023-03-15 03:23:29 +00:00
libraryupgrader d225dc4042 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: I2dcbe7f830d12bc2149f193e1babf7633b029a11
2023-03-11 23:25:42 +00:00
Translation updater bot ebc9da605f Localisation updates from https://translatewiki.net.
Change-Id: I9c6b754696bed4e081f2e9af1e5ec7100a66d3b6
2023-03-07 08:44:08 +01:00
Translation updater bot 0d0e43a29c Localisation updates from https://translatewiki.net.
Change-Id: I7f389a3fb0ca9e7766d0079ea8153752f2b2f7b1
2023-02-28 08:28:37 +01:00
David Lynch 333d8b94b7 Update Ace to 1.15.2
- Fix line height regression

Bug: T329686
Change-Id: Ia381d0ba3314a2d879dd18a3bf44f81d4e623b6a
2023-02-21 13:53:16 -06:00
Derk-Jan Hartman 941cc7c109 Update Ace to 1.14.0
- Improved ES6 support

Bug: T324609
Change-Id: I22234ee259c2663a511f9285d4c43d4256e29c66
2023-01-16 23:26:34 +01:00
Jon Robson cf169e60e2 Enable CodeEditor modules on mobile
Depends-On: Ifa355f3821c72935c74650fa635a6ab863c70d39
Bug: T324723
Change-Id: I271e99c777b638bd4c4bae642f8c7c87fc0ae5cd
2023-01-05 20:31:30 +00:00
Translation updater bot 9336114847 Localisation updates from https://translatewiki.net.
Change-Id: I66428e753257b7fa704e410b5ab53f006f630075
2023-01-04 08:28:42 +01:00
Translation updater bot 4388be67a5 Localisation updates from https://translatewiki.net.
Change-Id: I9abc840de19b5eb7b83f448f5e0782f09abd236b
2022-12-21 09:14:29 +01:00
Nardog a2199fe310 Configure JS linter without overriding safe options
I263e08a397 overrode linter options set by Ace worker, such as ES6 and
browser globals. Using changeOptions instead of setOptions avoids this.

Bug: T1092
Change-Id: I31ba98a7a04063df175ed3188fed3a8ef1a2dab0
2022-12-19 12:45:35 +09:00
Translation updater bot 98e5fa0108 Localisation updates from https://translatewiki.net.
Change-Id: Ia926c3887350fe49d26f7fec9696373ef4c33eba
2022-12-14 08:15:29 +01:00
Translation updater bot 7dde33c516 Localisation updates from https://translatewiki.net.
Change-Id: Ia6d2e6b2bb4626b84d761e158f26cf2c493d37c7
2022-12-06 08:51:36 +01:00
Translation updater bot 7534f20b7c Localisation updates from https://translatewiki.net.
Change-Id: I8df8ff05efa4e12a6b19c5d5286e9bb7d45f1c46
2022-11-21 08:15:35 +01:00
Translation updater bot 9be05e70b4 Localisation updates from https://translatewiki.net.
Change-Id: I872aabb56b1bdf2461598319bdd40422a5066030
2022-11-18 09:17:52 +01:00
Translation updater bot 156c035c3e Localisation updates from https://translatewiki.net.
Change-Id: I6fa1330dddae2697af219582687c308631afcfbd
2022-11-17 08:26:41 +01:00
libraryupgrader 138bae60d2 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 40.0.1

npm:
* stylelint-config-wikimedia: 0.13.0 → 0.13.1

Change-Id: Id219f60bb8e6b1c3b8fd37dc241b9e477be482c5
2022-11-16 04:20:08 +00:00
libraryupgrader bf0ec8a2f9 build: Updating grunt-stylelint to 0.18.0
Change-Id: Ibeeeea74226887336639bdd86409de0b331874ea
2022-11-13 02:27:21 +00:00
libraryupgrader 58f6d50433 build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: I70d5df1297c0a5848d88c2bdad891ced40d2779f
2022-10-09 03:00:34 +00:00
libraryupgrader f757f73b20 build: Updating grunt-banana-checker to 0.10.0
Change-Id: I4d3c1fca7dd1063363458cab0e4247bdb0d76fbd
2022-10-06 21:10:14 +00:00
Translation updater bot 4e134b33ba Localisation updates from https://translatewiki.net.
Change-Id: I52a1f472b305085dd960f492903559e17007dd0d
2022-09-26 08:14:51 +02:00
Translation updater bot 6f94596322 Localisation updates from https://translatewiki.net.
Change-Id: If61beee7deee865b79e890a491eb53c5f99d7b0a
2022-09-12 09:36:12 +02:00
Translation updater bot 293cf3533f Localisation updates from https://translatewiki.net.
Change-Id: Idb0d4e1b93b8e16a37613522007e5260116cb6e3
2022-09-05 10:10:09 +02:00
Translation updater bot c0dfb07e89 Localisation updates from https://translatewiki.net.
Change-Id: Ia98858b32d0c53c41ff0fee153b28435335c61ac
2022-06-28 08:39:17 +02:00