Commit graph

21328 commits

Author SHA1 Message Date
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
Translation updater bot 12ef5b7471
Localisation updates from https://translatewiki.net.
Change-Id: I4f57e1bc8942df5cb879f6635168fda9ec53acb5
2024-07-08 09:34:15 +02:00
Translation updater bot f2a2b4ac62
Localisation updates from https://translatewiki.net.
Change-Id: I5ccc37eee970d29bc1bca322ec096881de77acca
2024-07-05 09:48:56 +02:00
Translation updater bot 6fabf7c388
Localisation updates from https://translatewiki.net.
Change-Id: I0205f173c35c4ade30e41bf64553368672c6b6d1
2024-07-04 09:25:08 +02:00
Sam Wilson 3d636f1af2 Diff Renderer: load diff modules before using OOUI classes
Avoid calling OOUI\Tag->__toString() before enabling OOUI.

Bug: T360631
Change-Id: Ia05b933822ccaae32bb9d2510391f0d4bb1ea810
2024-07-03 16:59:48 +08:00
Translation updater bot c4828126e6
Localisation updates from https://translatewiki.net.
Change-Id: I12d6f99bfa9111dd73dcb4019abd5b392fef0196
2024-07-03 09:27:43 +02:00
jenkins-bot fa7287409a Merge "Use transitionend events instead of hard coding animation time" 2024-07-03 01:22:43 +00:00
Ed Sanders bc9c900b6a Use transitionend events instead of hard coding animation time
transitionend is supported by all our target browsers.

Also use requestAnimationFrame without a fallback as
this is also supported by all browsers.

Change-Id: I563cacdc8b2365ad4b69dfccb7e46a9f176dbd9b
2024-07-03 00:43:19 +01:00
Jdlrobson 47442144d5 Revert "Remove use of deprecated HtmlOutputRendererHelper::init(..."
Revert submission 1039794-split-render-id

Reason for revert: Depends-On has not been merged yet so this
is causing CI issues.
Reverted changes: /r/q/submissionid:1039794-split-render-id

Change-Id: Iac6316cf7010b5ea92672e9ad6f09e8ee57e066b
2024-07-02 22:42:31 +00:00
Jdlrobson eb3b47be84 Revert "Remove use of deprecated HtmlInputTransformHelper::init(..."
Revert submission 1039794-split-render-id

Reason for revert: Depends-On has not been merged yet so this
is causing CI issues.
Reverted changes: /r/q/submissionid:1039794-split-render-id

Change-Id: Ifcb43e8e3dd845c146498562b398affe2936593f
2024-07-02 22:41:41 +00:00
Divec e64037f19d Merge "Remove slug animation values overrides" 2024-07-02 18:36:03 +00:00
Divec e2934f2ebb Merge changes from topic "split-render-id"
* changes:
  Remove use of deprecated HtmlInputTransformHelper::init() method
  Remove use of deprecated HtmlOutputRendererHelper::init() method
2024-07-02 18:26:30 +00:00
jenkins-bot 1ac180346c Merge "Replace hardcoded colors with Codex design tokens" 2024-07-02 17:30:01 +00:00
Divec 47607eb1c6 Merge "Update jsdoc-wmf-theme to 1.1.0" 2024-07-02 13:57:05 +00:00
Adam Wight a0ece81a44 Reenable test after Cite-related fix
Bug: T247921
Change-Id: Ic5ddcb2b861186f3defd10447b4d1b525bda3fbf
Depends-On: Ieff73769f8ebbc3724f6a9b498487c4e7d09aa2e
2024-07-02 10:39:41 +00:00
Adam Wight 4715dd444d Temporarily skip a Cite-related test
Needs to be skipped in order to merge a change in Cite.

Bug: T247921
Change-Id: I32276021713876b3dac2210c26bbd27500009c14
2024-07-02 12:31:43 +02:00