Ed Sanders
f3930e7e12
EditCheck: Use getLinearFragment shortcut
...
Change-Id: I53859c24567e01e24ff46a88799ee0edadbd8e1b
2024-10-30 20:28:14 +00:00
Ed Sanders
d06e9dbc31
Update VE core submodule to master (0e82a6db8)
...
New changes:
db0f21d03 ve.ce.Surface: Check dataTransfer.files is non-empty
e1cd78933 [BREAKING CHANGE] Move selection handling code to SelectionManager
b4b63a463 Move drag/drop handling code to DragDropHandler
540272769 Use the onPaste handler for dropped content
d3f9d8485 ClipboardHandler tests: Run tests in series
1232c0420 Tests: Introduce ve.dm.example.annotateText to simplify runs of annotated text
69d7ca482 Apply an annotation to imported (pasted/dropped) text
0e82a6db8 ve.ce.ClipboardHandler: Fix async test running
Added files:
- src/ce/annotations/ve.ce.ImportedDataAnnotation.js
- src/ce/ve.ce.DragDropHandler.js
- src/ce/ve.ce.SelectionManager.js
- src/dm/annotations/ve.dm.ImportedDataAnnotation.js
- tests/ce/ve.ce.DragDropHandler.test.js
Local changes:
- Implement new selection manager architecture
Added files:
- src/ce/annotations/ve.ce.ImportedDataAnnotation.js
- src/ce/ve.ce.DragDropHandler.js
- src/ce/ve.ce.SelectionManager.js
- src/dm/annotations/ve.dm.ImportedDataAnnotation.js
- tests/ce/ve.ce.DragDropHandler.test.js
Bug: T371996
Bug: T377427
Bug: T78696
Change-Id: If8d38246badf919c32915beda7c9a14f16e62a8a
2024-10-30 17:52:56 +00:00
Translation updater bot
2e382cd4c8
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia79f5e60b4c4782a85f358f9091ab79123efee76
2024-10-30 08:24:59 +01:00
jenkins-bot
80eff2ac37
Merge "MWGalleryDialog: Highlight item at closest index when removing an image"
2024-10-29 14:50:15 +00:00
jenkins-bot
407bb951b8
Merge "MWGalleryItemWidget: Remove unnecessary event argument"
2024-10-29 14:50:13 +00:00
jenkins-bot
56a80e3759
Merge "Update VE core submodule to master (7a373467c)"
2024-10-29 14:34:47 +00:00
jenkins-bot
9425db2172
Merge "Update VE core submodule to master (bae9101b7)"
2024-10-29 14:17:54 +00:00
James D. Forrester
56906735b5
Update VE core submodule to master (7a373467c)
...
New changes:
a1510bd0a collab: Make the join link work regardless of user preferences
d95719c77 Localisation updates from https://translatewiki.net .
e0bea1191 Localisation updates from https://translatewiki.net .
2b8072471 Update language list from TranslateWikiBot
921adbb50 When build fails due to ve.availableLanguages, output a helpful message
7a373467c Update DOMPurify to 2.5.7
Bug: T370817
Bug: T377905
Change-Id: I73e80cab56ad48bbbd5243f574cd15205cb1999b
2024-10-29 09:56:00 -04:00
jenkins-bot
a9c64ebfc6
Merge "MWGalleryNode: Check node still exists when updating"
2024-10-29 10:37:31 +00:00
Translation updater bot
95ed3549cb
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia95cd51dc16078cf8f37a2aeeb3921c27d40fe09
2024-10-29 08:42:28 +01:00
Translation updater bot
6c1f3e24a9
Localisation updates from https://translatewiki.net .
...
Change-Id: I7d993f95d817137f75228827195891347997a6f0
2024-10-28 08:24:42 +01:00
Andre Klapper
90aa7fd9cf
Use explicit nullable type on parameter arguments (for PHP 8.4)
...
Implicitly marking parameter $... as nullable is deprecated in PHP
8.4. The explicit nullable type must be used instead.
Bug: T376276
Change-Id: I6b296c77f8a2f6f1a146972271b1fcb3360d0cc2
2024-10-26 15:18:36 +02:00
Translation updater bot
d088ccdab0
Localisation updates from https://translatewiki.net .
...
Change-Id: Icec5cb468e374bf1c1add3cc6c76e226e49f6bc6
2024-10-25 09:53:31 +02:00
jenkins-bot
8bab4a1b40
Merge "Replace uses of deprecated MediaWiki\Message\Converter"
2024-10-23 19:36:54 +00:00
Jon Robson
f29daa890d
SkinFactory::getSkinNames is deprecated, use getInstalledSkins
...
Bug: T377521
Change-Id: I4f66ce9929e0240e1c89f59ef781d0a378263322
2024-10-23 08:38:16 -07:00
Ed Sanders
4bc814f1a0
Update VE core submodule to master (bae9101b7)
...
New changes:
7906a6b9e build: Updating npm dependencies
92e6a5338 TextStyleAnnotation: Don't register abstract base class
456ca9b2e Localisation updates from https://translatewiki.net .
a68ba80d2 Get all annotations by ranges
dc49d9592 Demos: Default to WMUI theme
222ac7d23 Add unit tests for ve.dm.BranchNode#getAnnotationRanges
ba73b9e91 Return annotation ranges in lexicographic order
6e40aa524 Localisation updates from https://translatewiki.net .
1a4640a4a ve.ce.Surface: Remove unused $deactivatedSelection and $findResults
9455e0f0a ve.ce.Surface: Replace text/xcustom clipboard storage with a custom key
ddd14aa9b [BREAKING CHANGE] Move paste handling code to ve.ce.ClipboardHandler
19f0e500b CollabProcessDialog: Replace mw.user.getName with platform method
ecd607353 Implement pasteSourceDetectors
bae9101b7 Localisation updates from https://translatewiki.net .
Added files:
- src/ce/ve.ce.ClipboardHandler.js
- tests/ce/ve.ce.ClipboardHandler.test.js
Local changes:
* Implement new paste handler architecture
* Use new clipboard key
Bug: T360624
Bug: T376306
Bug: T78696
Change-Id: Iea10d32b6132ae364d486cc6b96895bb937ac944
2024-10-22 15:31:24 +01:00
Bartosz Dziewoński
d08df5302b
Replace uses of deprecated MediaWiki\Message\Converter
...
The converter is no longer needed now that Message and MessageValue
use the same internal format for the message parameters.
Depends-On: I625a48a6ecd3fad5c2ed76b23343a0fef91e1b83
Change-Id: I9f27d7e31be144e09ed3d0e0e858433477327b00
2024-10-21 20:52:46 +02:00
Ed Sanders
3dfef738e2
MWGalleryDialog: Highlight item at closest index when removing an image
...
Bug: T373981
Change-Id: Ib0edc97279c6ec4e0529197d9beb1d7c9c51ee28
2024-10-21 17:18:43 +00:00
jenkins-bot
f834094206
Merge "Localisation updates from https://translatewiki.net ."
2024-10-21 17:17:02 +00:00
jenkins-bot
03f8d2b916
Merge "Use statslib instead of statsd in DirectParsoidClient"
2024-10-21 16:59:40 +00:00
Translation updater bot
32790fc61e
Localisation updates from https://translatewiki.net .
...
Change-Id: I85087394d706f99079bd5a8183046a67a84e2119
2024-10-21 18:18:22 +02:00
Ed Sanders
332188807a
MWGalleryNode: Check node still exists when updating
...
Bug: T377717
Change-Id: I13f9c1ced3e59d4d88aaca02b884d06cc57b11a6
2024-10-21 14:03:15 +01:00
Translation updater bot
b62311a4dd
Localisation updates from https://translatewiki.net .
...
Change-Id: Idac0ccdd9ce4cbd5b60ee4a2cadb2077b7601a68
2024-10-21 09:21:09 +02:00
jenkins-bot
c4ee53262c
Merge "Use namespaced classes"
2024-10-20 18:07:51 +00:00
Umherirrender
0463bec879
Use namespaced classes
...
Changes to the use statements done automatically via script
Change-Id: Ic6450685433e240a4e93ce2beec381da16587b15
2024-10-20 14:01:32 +02:00
Yiannis Giannelos
bfc4edbbc5
Use statslib instead of statsd in DirectParsoidClient
...
Depends-On: I7d4ca748c106dfd560dae31294decfb2b181e2db
Depends-On: Ib14a1ee44b81476447717bc6aa00b54de1dca995
Change-Id: I0d8eb6cacd761fa4959419b10d59046e61c714ff
2024-10-18 22:36:40 +00:00
Umherirrender
67a191f41a
build: Move exclude from composer.json to .phpcs.xml
...
Exclude the whole lib/ve/* folder instead of the node_modules folder
The mediawiki ruleset sets exclude the node_modules folder in root
since version 19.0.0 (ab87d2eb60)
Change-Id: I585cc0524c179b2a9b472300a39d2d7c7b3ba383
2024-10-18 20:26:46 +02:00
jenkins-bot
3ffa8f92df
Merge "editcheck: Remove try/catch around transaction squashing"
2024-10-18 18:11:07 +00:00
jenkins-bot
c2379d7d9c
Merge "editcheck: Remove mw.editcheck.Diff"
2024-10-18 18:01:11 +00:00
jenkins-bot
b82b2948fe
Merge "editcheck: Rename shouldApplyToSection to isRangeInValidSection"
2024-10-18 18:01:09 +00:00
jenkins-bot
b92ce78406
Merge "editcheck: Move adjustForPunctuation to AddReferenceEditCheck"
2024-10-18 18:00:27 +00:00
jenkins-bot
9cc33b619f
Merge "editcheck: Document some methods and improve some APIs"
2024-10-18 17:58:10 +00:00
Translation updater bot
e637f262d4
Localisation updates from https://translatewiki.net .
...
Change-Id: I1359c287e5aa35d8421fa11d0c5a66cca923453c
2024-10-18 09:25:50 +02:00
Ed Sanders
cf8a08f76c
editcheck: Remove try/catch around transaction squashing
...
According to T333710 we haven't seen an error in the last year.
Change-Id: I7ee3447674cdda8a4350b6cf10d5d907c2162e2e
2024-10-17 17:10:02 +01:00
Ed Sanders
4cd67004de
editcheck: Remove mw.editcheck.Diff
...
This object just contained a pointer to the surface and dm,
and had one utility method.
Move the method to mw.editcheck, and pass around a surface model
or document model to other methods as appropriate.
Change-Id: Ie81d76dea2823b633328f982ee20027808bfc8e3
2024-10-17 17:10:02 +01:00
Ed Sanders
f91c62c0eb
editcheck: Rename shouldApplyToSection to isRangeInValidSection
...
Also refactor the loop at the end, and reorder arguments.
Change-Id: I378e5103889dd57b29948c932389e3dfa071255f
2024-10-17 17:10:02 +01:00
Ed Sanders
0cfeb76abc
editcheck: Move adjustForPunctuation to AddReferenceEditCheck
...
This method is highly specific to reference insertion. If we ever need
it for another check it can be moved back with a more specific name.
Change-Id: Ia629c8672281f33d45ea1fff6630af9bd331d80e
2024-10-17 17:10:02 +01:00
Ed Sanders
de70933dca
editcheck: Document some methods and improve some APIs
...
* Pass just the ve.dm.Document to shouldApplyToSection, instead
of the whole diff.
* Do the quicker range check first in getModifiedRangesFromDiff
Change-Id: I1bda3a77c1c51f50fd7baadaa3619cf6719a073a
2024-10-17 17:10:02 +01:00
Translation updater bot
7a8bb6ceae
Localisation updates from https://translatewiki.net .
...
Change-Id: I6b9f779cd26cfacfdd1fd75c37caf17d566cf558
2024-10-17 09:22:56 +02:00
Translation updater bot
0c3bc884b9
Localisation updates from https://translatewiki.net .
...
Change-Id: I64d06a61f19ac273a9fcaeac75fe8f0ce41b4170
2024-10-15 09:42:15 +02:00
Translation updater bot
11c2aafdd2
Localisation updates from https://translatewiki.net .
...
Change-Id: I18aa40260f8c532f3ca1e61ce1cdb7ab1a16daec
2024-10-14 09:30:37 +02:00
Translation updater bot
a8ea758c46
Localisation updates from https://translatewiki.net .
...
Change-Id: I0fe0dd7b91896d905bd4b538c2c89fb83a2ceaec
2024-10-11 09:25:32 +02:00
Ed Sanders
f4a80809e0
Update VE core submodule to master (c98f3a542)
...
New changes:
0010fb749 Localisation updates from https://translatewiki.net .
e838c053e Localisation updates from https://translatewiki.net .
6f4c0dcef Localisation updates from https://translatewiki.net .
c98f3a542 Follow-up I813c341cb1: Build node tree when empty
Bug: T376901
Change-Id: Ieea535cfa2b9c9c6960a949c3645256da87eca5d
2024-10-10 18:19:01 +01:00
Translation updater bot
a4a9ecea13
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib2891c51d5071957f3df970b23b75f2cad7897b4
2024-10-10 09:22:37 +02:00
jenkins-bot
c2dd7617a3
Merge "ve.ce.MWPreNode: Fix primaryCommandName"
2024-10-08 16:38:41 +00:00
Ed Sanders
67b5e1c5e1
ve.ce.MWPreNode: Fix primaryCommandName
...
Change-Id: I20f3c946ef9a7436756dc298fa9609ffd05ce5a1
2024-10-08 15:16:02 +01:00
jenkins-bot
516a221ea3
Merge "tests: Use real mw.Api in ve.ui.MWTemplateTitleInputWidget tests"
2024-10-08 13:20:00 +00:00
jenkins-bot
87e0a960ab
Merge "Fix "target is undefined" exception when loading fails"
2024-10-08 13:18:28 +00:00
Translation updater bot
5e5de7f714
Localisation updates from https://translatewiki.net .
...
Change-Id: I04a501c50603dfbbcb275c25606e094f9c10e6d1
2024-10-08 09:45:33 +02:00
Bartosz Dziewoński
365cefa878
tests: Use real mw.Api in ve.ui.MWTemplateTitleInputWidget tests
...
Otherwise the changes to mw.widgets.TitleWidget in
Iec338e9f595b452c19ce8e74eb81339fbce11640 cause the test to fail.
To avoid making real API requests, use fake server instead.
Change-Id: I7ff705af79760e33200a2dfbfdd05138c18bb110
2024-10-07 19:24:43 +00:00