Commit graph

20802 commits

Author SHA1 Message Date
jenkins-bot 8d70615b5e Merge "Enrollment for the edit check a/b test" 2024-02-19 15:27:16 +00:00
Translation updater bot 993f595f4f Localisation updates from https://translatewiki.net.
Change-Id: I12d2a688eea033d9b5211e77df53fadee38222aa
2024-02-19 08:41:19 +01:00
jenkins-bot d90ab2b724 Merge "Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()" 2024-02-17 03:23:36 +00:00
Bartosz Dziewoński 1bed037383 Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()
Bug: T343994
Change-Id: I406174f9fe3b269f65dac4a15629e12d2abd6338
2024-02-17 03:01:13 +01:00
David Lynch e7861de221 Enrollment for the edit check a/b test
The enrollment happens in ArticleTargetLoader so that the bucket will be
set for init logging.

Bug: T342930
Depends-On: I9c7c0fb52a6ec68609df6b518c7d35ddd98a95bf
Change-Id: I03c8dc8beb2eb267c052b856a30343ecab3a7657
2024-02-16 10:18:21 -06:00
jenkins-bot 8f058ffe86 Merge "Only activate edit check in visual mode" 2024-02-15 22:27:01 +00:00
David Lynch 9c7f772d4f Only activate edit check in visual mode
Change-Id: I9b2dac998cd33a855f56e91c77332ef6ae156f7d
2024-02-15 12:20:03 -06:00
Translation updater bot 52d1bb5a4e Localisation updates from https://translatewiki.net.
Change-Id: Icfb9c28373ef9c31eb3e5073849a1a52540bf31f
2024-02-15 13:29:23 +01:00
James D. Forrester b72d2db4ab Replace wfGetDB() with ICP getReplicaDatabase()
Bug: T330641
Change-Id: Icdc90aa05cb56a04cf1c7f91bcfc3da5011f41a3
2024-02-14 11:05:30 -05:00
Translation updater bot b224d16b64 Localisation updates from https://translatewiki.net.
Change-Id: Id6c3c7d9d5ea86b114ca0c7ca4e7ba5b6152b727
2024-02-14 08:19:38 +01:00
Ed Sanders 265f7a5722 Separate Apex fixes from Monobook fixes
Change-Id: I5ac462ecb66d2e16910905ca62db0d9167d843ea
2024-02-13 13:58:55 +00:00
Translation updater bot 3e15293b39 Localisation updates from https://translatewiki.net.
Change-Id: I5a7705caff83659f2aab0bc5b1026078b6c6e69b
2024-02-12 14:50:49 +01:00
Bartosz Dziewoński b119b633cf Update VE core submodule to master (58a24a62c)
New changes:
f5fe845bc ve.collab UI and bookmarklet
e096b57e9 Localisation updates from https://translatewiki.net.
5ed427d39 FocusableNode: Try to redraw highlights during setup
d966cf7be Exclude OOUI from generated JSDuck documentation
4abb6dfa6 Update OOUI to v0.49.0

Local changes:
* Exclude OOUI from generated JSDuck documentation
* ve.ui.MWConfirmationDialog: Remove copied documentation

Added files:
- .jsduck/external-ooui.js
- collab/ve.ui.CollabProcessDialog.js
- collab/ve.ui.CollabTool.js

Bug: T185396
Bug: T250843
Bug: T356983
Change-Id: I8fcacbbf4f9f213e58af91cc79ef8e89b65895b4
2024-02-08 20:46:40 +01:00
libraryupgrader d64480d678 build: Updating mediawiki/mediawiki-phan-config to 0.14.0
Change-Id: I3ae6574da5e7e1a267ee1071150a07798424c4cb
2024-02-08 01:47:47 +00:00
Translation updater bot a2c98acff9 Localisation updates from https://translatewiki.net.
Change-Id: Ie054681b6cd91535ef12e85896680d186df34114
2024-02-07 08:28:00 +01:00
libraryupgrader 824549a0ee build: Updating npm dependencies
* wdio-mediawiki: 2.1.0 → 2.5.0
* get-func-name: 2.0.0 → 2.0.2
  * https://github.com/advisories/GHSA-4q6p-r6v2-jvc5
* postcss: 8.4.26 → 8.4.33
  * https://github.com/advisories/GHSA-7fh5-64p2-3v2j

Change-Id: I7e247eb0a07ba724d7fe99477bd44da4cf186b92
2024-02-06 10:04:54 -05:00
Ed Sanders 3938f89b7b Update VE core submodule to master (4ec4a75e4)
New changes:
a28d52ee0 ve.ce.Surface#drawSelections: Always set class attribute
0199cbea0 Localisation updates from https://translatewiki.net.
804d94dbd Zero out padding in source mode paragraphs as well

Bug: T352875
Bug: T355805
Bug: T356093
Change-Id: Icc6340ad48ff18ae156225d2abe41e812274aabd
2024-02-05 21:40:10 +00:00
Translation updater bot 605033f89f Localisation updates from https://translatewiki.net.
Change-Id: I1ffe80a29a119604b2713da072e98c785ebeed48
2024-02-05 08:50:49 +01:00
jenkins-bot 0ad8138d73 Merge "editSwitch: Use secondary group for WikiEditor switch menu" 2024-02-03 07:50:09 +00:00
James D. Forrester 627e85b0da build: Upgrade mediawiki/mediawiki-phan-config to 0.13.0
Change-Id: I058794cf64878c9b467f5e3eb646785a7ec4c06f
2024-02-02 11:01:25 -05:00
Ed Sanders 3ca82f8d57 Tests: Use CE HTML helpers
Depends-On: I2ac2ecd6937e936f877fc3fb17feaa4d3610ee50
Change-Id: If3790fc7449ea2f7bbf56783f590fcb8d9126cb8
2024-02-01 15:30:22 +00:00
Umherirrender 4e94b88f99 Remove the VisualEditorHookRunner service
The HookRunner class is a lightweight class and not designed to be a
service, the needed HookContainer should be injected instead and a hook
runner created when needed.
The overhead from the service wiring is the same as using new objects
when needed.
This follows practice from core and the documentation in
core/docs/Hooks.md in the section "Hook runner classes"

Change-Id: Ib42281dfae8a5a260005d82ed3bb7da12e1b645e
2024-01-31 20:02:36 +01:00
Sam Wilson 9226a67ea1 editSwitch: Use secondary group for WikiEditor switch menu
Instead of inserting the editSwitch menu manually to the WikiEditor
toolbar, use the 'secondary' section which is already aligned to
the right.

Bug: T308423
Depends-On: Iff6d80628ebb5ec5685136fa02c2345eb5b49d42
Change-Id: Ic307f9dc7ad976862c8d8c6551ed29e6071f655f
2024-01-31 06:49:14 +03:00
Translation updater bot 1cefa11870 Localisation updates from https://translatewiki.net.
Change-Id: Ib06cd35af4dccb4d8d2c4fd54e8f267572bfabb5
2024-01-30 09:39:57 +01:00
Bartosz Dziewoński 14f9f67b26 Update VE core submodule to master (7e6f20f81)
New changes:
c926791f8 Localisation updates from https://translatewiki.net.
1bddfacb7 Localisation updates from https://translatewiki.net.
71aef21f2 Localisation updates from https://translatewiki.net.
144c989be Localisation updates from https://translatewiki.net.
9aaec7c45 Localisation updates from https://translatewiki.net.
b8f8b95e3 Localisation updates from https://translatewiki.net.
4a38cd94c build: Update languages to add 'cv' and 'mag'
49d98ff58 Update OOUI to v0.48.4
097627de6 build: Upgrade svgo from 3.0.5 to 3.2.0 and re-crush
907ecc317 Localisation updates from https://translatewiki.net.
59920d034 Localisation updates from https://translatewiki.net.
b37194f0e Rebaser: Improve export output of checklists
cf93e0a74 Delete deprecated utilities and methods (1)
1f91e0220 Localisation updates from https://translatewiki.net.
473d74ad3 WindowAction: Wait for 'closed' promise before re-activating
8ba6db852 ve.dm.Node: Add a "resetAttributes" mode to getCloneElements
44cbaef22 Localisation updates from https://translatewiki.net.
7c2c7b262 CheckListItemNode: Use handlesOwnChildren to inject checkbox into text wrapper
d606206fd Test: Create ce(Wrapper)Paragraph helpers
c47f4b072 Tests: Use existing CE HTML helpers
3d08f0414 Tweak slug animation values

Bug: T355889
Change-Id: Id6cb9b81c39427e69ca4a70dbb389de0704841e0
2024-01-29 23:29:07 +01:00
Jon Robson e17ff06c9b Dialogs: Avoid using the deprecated mw.mobileFrontend function
As mentioned in the ticket access to this library is now
deprecated and consumers should require the module. The existing
method is replaced with the method in the migration table in the
Phabricator ticket.

Bug: T348807
Change-Id: I72a5242399d2cd04b5c9fbee947dc59d94c0ba7c
2024-01-29 20:46:38 +00:00
Translation updater bot 66155b8c95 Localisation updates from https://translatewiki.net.
Change-Id: I55637ce25bb162db81d2e3658e00b077dcc0edfa
2024-01-28 16:08:20 +01:00
David Lynch d5cd77b254 MWTocWidget should fetch the metaList from the correct location
Follow-up to 7954f5897c

Bug: T355944
Change-Id: I5070c7e958af918ffd5d5467219026ad114ca4a1
2024-01-26 10:26:48 -06:00
jenkins-bot 2f568758de Merge "Replace confusing use of rawParams() in onSkinEditSectionLinks()" 2024-01-25 13:01:51 +00:00
Umherirrender 5ec06f50d6 Drop RL targets definitions from module class, no longer honoured
Bug: T328497
Follow-Up: I0ba090e37cef19219a2145b3c062b3a3c98f0e95
Change-Id: I3b430a4bd7d098f82b06a8d2871aeb19e729a62e
2024-01-23 21:40:20 +01:00
jenkins-bot de84ca16ca Merge "MWBlockImageNode: Re-use existing captionData slice" 2024-01-23 16:02:52 +00:00
Ed Sanders 4156acc5ba MWBlockImageNode: Re-use existing captionData slice
Change-Id: I9e79897bd3c28265e52c07cf6ab503a745bfd4cf
2024-01-23 15:18:28 +00:00
Umherirrender 66ac85e025 Stop writing to tablesUsed in tests
Bug: T351733
Change-Id: If99bfa771835f1738d1b88245c154a500722f8ef
2024-01-20 12:46:35 +01:00
Translation updater bot d61f6477bf Localisation updates from https://translatewiki.net.
Change-Id: I5a94fb972947fdff5307b2e0b1b1402a8ce013b9
2024-01-18 09:27:47 +01:00
Translation updater bot 39c17116dd Localisation updates from https://translatewiki.net.
Change-Id: If3647fa26b4ba972bbeba9b8d9e44cd1c1ffbf5c
2024-01-17 08:37:54 +01:00
Translation updater bot 3d5b187dfd Localisation updates from https://translatewiki.net.
Change-Id: Id667d56e4c45288cf907e56b9d1a36ca01947d88
2024-01-16 08:26:33 +01:00
Bartosz Dziewoński 79d2e5a3ac Replace confusing use of rawParams() in onSkinEditSectionLinks()
This message is treated as text, and the entire result is escaped
later. rawParams() has no effect except for avoiding parsing wikitext,
so use plaintextParams() instead.

Change-Id: Ifa1f1b51546d4c24b8789b6264302a3ced81cd52
2024-01-15 22:50:54 +01:00
Reedy b6ac79b462 foreign-resources.yaml: Fix SPDX licenses
* DOMPurify: matches 9dd85f475b
* spark-md5: matches 0ecf4dcf84
* Universal Language Selector data: matches 847a3aa7cf

Bug: T355005
Change-Id: Ie98290df530c981873d5987933fd7640645b3a65
2024-01-15 14:02:17 +00:00
Translation updater bot d3d25a13c1 Localisation updates from https://translatewiki.net.
Change-Id: I8d467e3af64c396055a3c3bb22cd455c1e66a59e
2024-01-15 08:25:47 +01:00
Umherirrender dda33540d4 Use namespaced OOUIImageModule in extension.json
Change-Id: Icc2fbf2dc2f9c3eefd45a68caa12fe6f775cb8f5
2024-01-13 22:24:20 +01:00
jenkins-bot 956905d6cd Merge "Remove comment mentioning a deleted message" 2024-01-12 16:49:28 +00:00
James D. Forrester 2ab7f87bac extension.json: Drop RL targets definitions, no longer honoured
Bug: T328497
Change-Id: I0ba090e37cef19219a2145b3c062b3a3c98f0e95
2024-01-12 08:54:53 -05:00
Translation updater bot 793f101b5e Localisation updates from https://translatewiki.net.
Change-Id: I56b4ea6f274f73d5aca311849de6ff4897c21da0
2024-01-12 09:01:15 +01:00
Translation updater bot b11be1970e Localisation updates from https://translatewiki.net.
Change-Id: I226fabe6fcf68d98798dee81f0ece610e8968691
2024-01-11 10:06:31 +01:00
Translation updater bot b4c6326095 Localisation updates from https://translatewiki.net.
Change-Id: I5ff26bd380f5d5b9d25ea8ad0bdb539ba12fd15c
2024-01-10 08:33:36 +01:00
Translation updater bot c62da0c557 Localisation updates from https://translatewiki.net.
Change-Id: Ic537fdc1dfb5f0243eca73e8deb34ffe1e2c22c6
2024-01-09 09:00:57 +01:00
Translation updater bot 35c65c4a67 Localisation updates from https://translatewiki.net.
Change-Id: I58271f4bc4129f38337a4a7b0a99773a7a526999
2024-01-08 11:31:55 +01:00
thiemowmde 81c90568b0 Remove comment mentioning a deleted message
The message is gone via I160a119.

Change-Id: Iaa55aaa62f9f8964b2449ac2e9b22eaa51d96707
2024-01-07 17:52:29 +00:00
Jon Robson 8e97b19742 phan: Use ActionEntryPoint
Ib70e4e67e4cb1b65ac218c095864fb6eb43d0929
changed the type of the last parameter of
BeforeInitializeHook::onBeforeInitialize

Bug: T354216
Change-Id: Icd9e2a70fe001aa706b4059236b93db2eeb79369
2024-01-05 10:03:24 -08:00
Translation updater bot 6c296521d2 Localisation updates from https://translatewiki.net.
Change-Id: Id830b6fb32fafe1f0450c4f600895e390889a41c
2024-01-05 09:13:39 +01:00