Commit graph

21415 commits

Author SHA1 Message Date
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
jenkins-bot 8b6cb95fd7 Merge "Account for SkinComponentLink class attribute possibly being an array" 2024-07-02 09:55:15 +00:00
Translation updater bot 03081ffc4c
Localisation updates from https://translatewiki.net.
Change-Id: I00bd747e36642d9ac77733cd9150f91e1ab11f3d
2024-07-02 09:50:57 +02:00
James D. Forrester f244532f0f Update VE core submodule to master (3edaeb30e)
New changes:
61cf3d475 LinearContext: make context items aware when they're being refreshed
3edaeb30e Update OOUI to v0.50.2

Bug: T324735
Change-Id: Ia042ef8a57e4951867f17a4d1170a2857d2db108
2024-07-01 22:21:43 +01:00
jenkins-bot c6594ba0a5 Merge "Update VE core submodule to master (84477b4b9)" 2024-07-01 20:21:49 +00:00
jenkins-bot fd7194be26 Merge "EditCheckInspector: initially disable the continue action on mobile" 2024-07-01 18:17:45 +00:00
David Lynch 391addbfe4 Update VE core submodule to master (84477b4b9)
New changes:
dcfbd7125 Add more detail to support: comments
aa7c38662 build: Updating npm dependencies
4eb62c924 Make ve.ce.Surface#afterMutations understand updateTagName
909c9330a Re-enable mutation observer
0a179ccf1 build: Updating npm dependencies
443567c63 Localisation updates from https://translatewiki.net.
86f1f84ec rename .jsdoc.json to jsdoc.json
44f820380 styles: Use Codex color tokens for Mobile Editor
8d815c331 build: Update jsdoc-wmf-theme to 1.1.0
fd6ca89bf Suppress eslint warning about fs in test harness script
580a3cf52 Provide ve.entries, for browsers without Object.entries
7abf224ca Localisation updates from https://translatewiki.net.
15f3ccefd Use ve.cloneObject instead of OO.cloneObject
84477b4b9 Localisation updates from https://translatewiki.net.

Bug: T230323
Bug: T365052
Bug: T368081
Bug: T368082
Bug: T368116
Change-Id: Ia35231be8a0325671f329fbd71a72da826505587
2024-07-01 12:06:25 -05:00
Translation updater bot b34e7949f9
Localisation updates from https://translatewiki.net.
Change-Id: I93077216310f9a99b4a9c31bb6189a6bcc62b37b
2024-07-01 09:26:47 +02:00
Translation updater bot 265eede395
Localisation updates from https://translatewiki.net.
Change-Id: I8e9f5b429f152847eb28bf268504d54582fd0268
2024-06-28 09:43:42 +02:00
David Lynch 58e82f36aa EditCheckInspector: initially disable the continue action on mobile
This would cause an error if the continue action was chosen before
selecting an item in the list.

Change-Id: Ic1eb66caff112c09bb60b31a7221c48e2962b3d8
2024-06-27 23:24:10 -05:00
Translation updater bot 59e1a2fedb
Localisation updates from https://translatewiki.net.
Change-Id: Icc3f3ae8161cb6c8a2c4af353bc6a165b1618c8b
2024-06-27 09:22:18 +02:00
Ed Sanders 51e4edb017 Update jsdoc-wmf-theme to 1.1.0
Bug: T368081
Change-Id: I3d9e2f8edcf2adcfe06b83a911b690b665f2b349
2024-06-26 12:07:04 +01:00
Translation updater bot f1601effc2
Localisation updates from https://translatewiki.net.
Change-Id: I5e96c5e8fc3aa96e39bf2f73303c2e8125eec690
2024-06-26 09:22:34 +02:00
Translation updater bot 6fcd80d4d4
Localisation updates from https://translatewiki.net.
Change-Id: Ic1e8fece953d68ad3275b3e696a3db59bcd576b0
2024-06-25 09:31:12 +02:00