Commit graph

21254 commits

Author SHA1 Message Date
James D. Forrester 07c0ab5a35 build: Update MediaWiki requirement to 1.43
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I58cc6a04628f8b443b7a8ae46752151bbcfd6305
2024-08-22 18:48:21 -04:00
jenkins-bot 69d4d869d8 Merge "tests: Force templateDataInstalled condition for MWTemplateTitleInputWidget" 2024-08-22 19:32:02 +00:00
jenkins-bot eae9fc876a Merge "Edit check: center the text in the proofreading toolbar" 2024-08-22 12:28:14 +00:00
Translation updater bot 31b7db023a
Localisation updates from https://translatewiki.net.
Change-Id: If835daa3817582d7a15d2afff15224515b2b6080
2024-08-22 09:23:20 +02:00
David Lynch 16c2dd919b Edit check: center the text in the proofreading toolbar
Bug: T341308
Change-Id: I5e12cefe690c2b9fba7cd7998a11723931575465
2024-08-22 01:23:27 -05:00
Timo Tijhof 07a132d310 tests: Force templateDataInstalled condition for MWTemplateTitleInputWidget
Change-Id: I730a0e53547d4e7510fcec09905ea98030490c0d
2024-08-22 00:29:16 +01:00
Translation updater bot 55301c4596
Localisation updates from https://translatewiki.net.
Change-Id: Iba58cf8cf9a4e420145a8fd9cbc6b7dbc73ee76d
2024-08-21 09:24:20 +02:00
Translation updater bot 762a5c0ff9
Localisation updates from https://translatewiki.net.
Change-Id: I71885816cfe342b8cba5b6e5d443dbee1f12a859
2024-08-19 09:25:55 +02:00
jenkins-bot fcce9b0b89 Merge "Move edit section colorings to core" 2024-08-17 14:19:55 +00:00
jenkins-bot b54f4ebb28 Merge "Fix getTemplateDataQueryTitle() when the title ends with a newline" 2024-08-16 15:30:57 +00:00
Translation updater bot 34c9961e03
Localisation updates from https://translatewiki.net.
Change-Id: I6c6fc1c5215f7c077b6318a73f9e3667bd1a0a79
2024-08-16 09:30:10 +02:00
Translation updater bot fd15b8b6de
Localisation updates from https://translatewiki.net.
Change-Id: I7c303550e44dd07c1cca634d5f1f8d7f252bff77
2024-08-15 09:21:17 +02:00
Ebrahim Byagowi 84557b6d13 Move edit section colorings to core
Bug: T372436
Depends-On: I691dbef2313e006de4b7d096232c531d81bdd380
Change-Id: If6c606cd6d3816b9286aee0ffd4d96be704521d4
2024-08-14 22:24:00 +03:30
Translation updater bot bc43b809ff
Localisation updates from https://translatewiki.net.
Change-Id: Ic372ec473c68033fd3e24c1665429ce1760f8860
2024-08-14 09:24:10 +02:00
Jamie Kuppens 317d6dd724 Reattempt save when refreshing temporary user if session expired
A notice already appears and informs the user of the visual editor that
they're not logged in if their session has ended. Showing an additional
error dialog informing the editor of this when saving changes is not
needed.

Bug: T345975
Change-Id: I20a904dbc6d3c2f0d08e4ceea27e35ee1b65bb71
2024-08-13 16:33:55 -07:00
Translation updater bot dfb4826617
Localisation updates from https://translatewiki.net.
Change-Id: I6f3866b03f41b31f3ff10084f9b1556bc5c0b72b
2024-08-13 09:52:17 +02:00
Translation updater bot ca1586a6ed
Localisation updates from https://translatewiki.net.
Change-Id: Ic93b15e04deb2e2795d6163d62be4fca9d721522
2024-08-12 09:23:31 +02:00
libraryupgrader d2bcf4a8bf build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: If09c329ac41b2c30a125cf664ad2e0d9fb7ad8be
2024-08-10 16:16:11 +00:00
Bartosz Dziewoński 326b4a2804 Replace deprecated PermissionManager::getPermissionErrors() and friends
Change-Id: Ic217af5f9766ae2d7850597a4aec1a890d58766f
2024-08-09 13:35:29 +00:00
Translation updater bot 459a6e2605
Localisation updates from https://translatewiki.net.
Change-Id: Ie74c95168186a14433fd1c38f5eabe1dbce6366e
2024-08-09 09:37:31 +02:00
jenkins-bot 00e4b4cd65 Merge "Edit check: another counter for the save process" 2024-08-08 08:08:57 +00:00
Translation updater bot b0ac08ecce
Localisation updates from https://translatewiki.net.
Change-Id: I1e36f4ea3f9da58a34b988e331db64eb2a47556c
2024-08-08 09:20:55 +02:00
David Lynch 65b695ea2f Edit check: another counter for the save process
preSaveChecksShown + preSaveChecksNotShown = preSaveChecksAvailable
allowing us to use simple stat counters to detect errors in check
generation.

Follow-up to 57daf35bd6

Change-Id: I0586b766b5beec3bd059c90875ad0e2d1f092fab
2024-08-07 21:01:17 -05:00
Translation updater bot a61c488da8
Localisation updates from https://translatewiki.net.
Change-Id: I388e9c00f613d2cbe35c7261f421b1028ea9f811
2024-08-07 09:24:49 +02:00
Bartosz Dziewoński 4f76d3fef7 Update VE core submodule to master (be8847993)
New changes:
cf83d253d Use safe access (hasOwnProperty) for selection stores
c2ee0773b alphabetize scripts in package.json
3206d1e9e fix jsdoc warning
682a9bc0a Handle right-click-delete in Firefox programmatically
435d81879 ve.dm.TransactionProcessor: Use ve.compare
70cce6bb0 Update OOUI to v0.50.3
227cfd31a i18n: Use localized digits in VE's find and replace dialog
4daaf826f Localisation updates from https://translatewiki.net.
4e34a2b05 Localisation updates from https://translatewiki.net.
a4186823b Localisation updates from https://translatewiki.net.
4d129d953 Update OOUI to v0.50.4
44e1bfb1f Localisation updates from https://translatewiki.net.
79dfba95c Localisation updates from https://translatewiki.net.
4a2e52396 Localisation updates from https://translatewiki.net.
cca20d203 Follow-up 79dfba95ce4: build: Update languages to add 'sjd'
c2c5b7a56 ve.ui.AuthorItemWidget: Fix color picker
9b5f854b6 Localisation updates from https://translatewiki.net.
62cbcaf56 Localisation updates from https://translatewiki.net.
b03c13815 Localisation updates from https://translatewiki.net.
be8847993 Localisation updates from https://translatewiki.net.

Bug: T220629
Bug: T368198
Change-Id: Ib2b1a5db75598f7cf627e6fbaf0c19f53b49c925
2024-08-06 23:48:17 +02:00
Translation updater bot ee0f32d8e9
Localisation updates from https://translatewiki.net.
Change-Id: I3d5480b275d33446255a151a9b906daf7041f622
2024-08-06 09:49:26 +02:00
jenkins-bot c3e7d584e5 Merge "Reenable Cite-related test" 2024-08-05 08:10:00 +00:00
Translation updater bot f0f1623051
Localisation updates from https://translatewiki.net.
Change-Id: I651b9daca7ca198b3cf4606692438787ab357ad3
2024-08-05 09:26:07 +02:00
Ebrahim Byagowi 5c798b0eea Move editsection bidi isolate to MediaWiki
MediaWiki needs this even without VisualEditor so let's move it there.

Bug: T371702
Depends-On: I4dcfa3916a07e92565b5667adb2ead0115fdb438
Change-Id: I0562ea1e5bd28eabd3ef0bcd8372155da67bcd0c
2024-08-02 18:52:54 +03:30
jenkins-bot 48d5697d0a Merge "Define brackets spacing in a direction aware way" 2024-08-02 10:57:36 +00:00
jenkins-bot 0a25668ff6 Merge "Don't set direction for editsections" 2024-08-02 10:53:17 +00:00
Ebrahim Byagowi 0f85b14328 Define brackets spacing in a direction aware way
This also resolves the bug but it hides the underlying issue on it
that's why I like to have this but after having
Ia7dd8076c8789ed04d3fb52a078c70561ee5c6f8

Bug: T371665
Change-Id: I7340829acbd2bf3fcccfb631848964e5338470b0
2024-08-02 11:30:27 +03:30
Translation updater bot ae0d9ee102
Localisation updates from https://translatewiki.net.
Change-Id: Iddbf7d403cffa79a3987e01ed711d28375bedf5b
2024-08-02 09:41:27 +02:00
Ebrahim Byagowi 6965da7012 Don't set direction for editsections
This causes editsection to jump

Bug: T371665
Change-Id: Ia7dd8076c8789ed04d3fb52a078c70561ee5c6f8
2024-08-02 11:09:45 +03:30
David Lynch 57daf35bd6 Edit check: some simple counters for steps in the process
Change-Id: Iac0faea1f06eb30ac075a702cdcaaec29e0fbaf0
2024-08-01 11:21:46 -05:00
Translation updater bot 31bd3f00cd
Localisation updates from https://translatewiki.net.
Change-Id: I1a3897fd10a54f11e8eed9f13a6695fc1b7b6d09
2024-08-01 09:19:10 +02:00
Translation updater bot 94969b054b
Localisation updates from https://translatewiki.net.
Change-Id: Ia017745170b8464df7c943386113a4e274bcd804
2024-07-30 09:45:00 +02:00
libraryupgrader 922cb42392 build: Updating fast-xml-parser to 4.4.1
* https://github.com/advisories/GHSA-mpg4-rc92-vx8v

Change-Id: I4e2f6ba6c8dc72dabc2fcf8cbc3ee8e4bac09e0d
2024-07-30 04:34:16 +00:00
Translation updater bot a0d1ea7cd9
Localisation updates from https://translatewiki.net.
Change-Id: I3f976325bd1ceacb108358e08312a88f4a1125e2
2024-07-29 09:29:05 +02:00
Sébastien Beyou 6ea7ab19fd Fix getTemplateDataQueryTitle() when the title ends with a newline
According to ECMAScript, .trim() and RegExp’s "\s" capture the same
characters, so I replace the initial "\s*" by .trim() to remove
whitespaces and line terminators at the beginning and at the end.

Bug: T371000
Change-Id: Id9188f97a3136b986b052b71cd4079c1109ea8ff
2024-07-26 16:18:29 +02:00
Translation updater bot c2ddd5d81b
Localisation updates from https://translatewiki.net.
Change-Id: Ia8abf848f7a4e355b1cef59afc8ac333a0108ea2
2024-07-26 09:47:36 +02:00
James D. Forrester 8c9605921c DesktopArticleTarget: Set wgCurRevisionId and wgRevisionId once publish goes through
Bug: T370771
Change-Id: I0100c155352ec55275f40616f87e69af52d6e97b
2024-07-25 12:28:15 -04:00
Translation updater bot 3c14d837e0
Localisation updates from https://translatewiki.net.
Change-Id: I83b5ba0e70a0f79726b7f6cbddf7dfbdb09b0bfd
2024-07-25 09:20:20 +02:00
Ed Sanders b302e0288b Disable edit mode switch in multi-user environment
Bug: T370819
Change-Id: I8244aaa0783e35ca70385045a8165e0bcb9a91dc
2024-07-24 13:37:18 +01:00
Adam Wight 67417c28b8 Reenable Cite-related test
Bug: T370512
Depends-On: Id8684ccee2e6725af2c861da20fc31af1067e614
Change-Id: I8453ce99daae2dbec58088186961a30ae9d1c3e7
2024-07-24 11:44:35 +02:00
Adam Wight b4da46585c Temporarily disable Cite-related test
This can be reenabled once Cite changes are merged.

The disabled test is also updated in this patch so that it will pass
with the new Cite code.

Bug: T370512
Change-Id: I56b52c399d2c76689fdcb0bc7fd50a8c0ced28fd
2024-07-24 11:43:33 +02:00
Bartosz Dziewoński 8e56a05d6b Add missing real-time editing error messages
Used in lib/ve/collab/ve.collab.js and in
modules/ve-mw-collab/ve.init.mw.CollabTarget.init.js.

Change-Id: Ic03ede112886117df0d39ba2b1d6c81125673373
2024-07-23 21:27:13 +02:00
Translation updater bot 81580e9524
Localisation updates from https://translatewiki.net.
Change-Id: I6a235135d027a76a52c2b7c9a6817aa96ac7b1dd
2024-07-22 09:26:18 +02:00
Timo Tijhof ba6f60032b tests: Fix DesktopArticleTarget dirtying location.href
Without this, wheneve VE is installed, test execution ends with the
address bar rewritten to Special:Badtitle, which affects reloads etc
and makes debugging anything else harder.

Bug: T250045
Change-Id: Ic453ae388c842369ff1cb1e84dcad4a8bbc7d54f
2024-07-20 04:05:42 +00:00
jenkins-bot 5f34505733 Merge "Remove use of deprecated Html*Helper::init() methods" 2024-07-19 16:37:42 +00:00