Commit graph

21393 commits

Author SHA1 Message Date
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
Translation updater bot 509955509f
Localisation updates from https://translatewiki.net.
Change-Id: I2fbd9e2cc79ff1cc47addd20d274f22b77ebe41a
2024-07-19 09:42:31 +02:00
C. Scott Ananian 90a0a76999 Remove use of deprecated Html*Helper::init() methods
HtmlOutputRendererHelper::init() and HtmlInputTransformHelper::init()
have been deprecated.

This is a replay of Id63d93db801d0bfb3fdb4c69bf7dfeea4e68ea8f and
I8b5cd59f839446709ffd0ce1b78c1bba40195ae0, which got merged prematurely
before their Depends-On was merged.

Depends-On: I1e1213597c6be012f2bc024c2b370c968ff3b472
Change-Id: Ie762dc34523eed79bc537143394b04e64f004b53
2024-07-19 03:00:38 -04:00
Translation updater bot 7adfd7394b
Localisation updates from https://translatewiki.net.
Change-Id: I2a9bdd5457896f79ec87f901dd4822d9ec99a20a
2024-07-18 09:24:05 +02:00
jenkins-bot c322fe0459 Merge "Rewrite a conditional to make the logic a little clearer." 2024-07-17 10:22:07 +00:00
Translation updater bot 20089f309f
Localisation updates from https://translatewiki.net.
Change-Id: If8f308f310943a693c8c77b316e3a13d21716604
2024-07-17 09:34:19 +02:00
Translation updater bot fac581b216
Localisation updates from https://translatewiki.net.
Change-Id: I4050b745fa7b8eccc707f320874a2e3925490f92
2024-07-16 09:41:46 +02:00
jenkins-bot 4a4bda78ab Merge "Reenable test after Cite-related fix" 2024-07-15 12:07:23 +00:00
Translation updater bot 83e951d33a
Localisation updates from https://translatewiki.net.
Change-Id: Ia6dc068e460bb43a200a7b8f28affde76788637e
2024-07-15 09:25:24 +02:00
Translation updater bot d258beed04
Localisation updates from https://translatewiki.net.
Change-Id: I9dba26b3e7b2def4a2d22171d381864e7410c135
2024-07-12 09:42:19 +02:00
Translation updater bot 8569eff4d0
Localisation updates from https://translatewiki.net.
Change-Id: Ibe091d3d5d9dc111217050d6bdfe5cc02c844509
2024-07-11 09:32:13 +02:00
Zoë 652e140dc5 Rewrite a conditional to make the logic a little clearer.
I spent a couple minutes looking at this before I saw that we needed
`this.updateVisibility()` to only fire if the loop iterated at least
once.

Change-Id: I7d03f73a35e3ded539898effa064dc0e14ba595f
2024-07-08 15:27:07 +01:00