Commit graph

21364 commits

Author SHA1 Message Date
jenkins-bot 69d71626a8 Merge "Edit check: move some methods into BaseEditCheck" 2024-11-26 16:25:37 +00:00
Translation updater bot 0aaa6599dc
Localisation updates from https://translatewiki.net.
Change-Id: I332097e6937e4768f316a509d396d168b5ad7652
2024-11-26 08:17:28 +01:00
jenkins-bot f6b4e3359b Merge "Separate tag help links from their labels" 2024-11-25 17:48:16 +00:00
David Lynch 2c73af983e Edit check: move some methods into BaseEditCheck
This is mostly cleanup from 4cd67004d removing Diff, which was the
original caller of the moved functions.

Change-Id: I015cb310527d9e7593e4ba6ac15ac204435d9ab4
2024-11-25 10:50:41 -06:00
Translation updater bot d2134d7df2
Localisation updates from https://translatewiki.net.
Change-Id: I03a0e35bd7f7668bf36d8bebc225ce54d982f4f5
2024-11-25 08:25:02 +01:00
jenkins-bot 2aca9f32e1 Merge "ArticleTargetSaver: Use mw.deflateAsync" 2024-11-22 22:09:20 +00:00
jenkins-bot 3ffa2ac018 Merge "Edit check: move config defaults to the client-side" 2024-11-22 17:43:54 +00:00
David Lynch d806186810 Edit check: move config defaults to the client-side
This lets us encapsulate everything about a check in its JS definition,
which makes it much simpler for other extensions or gadgets to create
checks.

Change-Id: Ica23fc26a576d55addb001e4baf78b3702927208
2024-11-22 10:57:45 -06:00
Translation updater bot a226525fd7
Localisation updates from https://translatewiki.net.
Change-Id: I1d8ca1c49d1343184de0bfda68dbb8819ca6a954
2024-11-22 08:43:06 +01:00
jenkins-bot c7979510e6 Merge "Editcheck: fix typo in ConvertReferenceEditCheck" 2024-11-21 18:11:26 +00:00
David Lynch afb55049a3 Editcheck: fix typo in ConvertReferenceEditCheck
Follow-up to 4cd67004de

Change-Id: Ie95f36344c3627bcf0ab2a8fc2abcaf1745ab3a8
2024-11-21 11:33:23 -06:00
Ed Sanders 3e28af7602 ArticleTargetSaver: Use mw.deflateAsync
mw.deflate is deprecated. mw.deflateAsync is faster in supported browsers.

Change-Id: Ia16e5823365b55b741f3184572b7bdeb5bbb1bd6
Depends-On: I722ebb03c0db7c7b3ee16cc8881e41909142cee9
2024-11-21 13:23:31 +00:00
Translation updater bot 3085fba0f3
Localisation updates from https://translatewiki.net.
Change-Id: I4aa33a05b617af99e739a1df94b175e58c23aa7c
2024-11-21 08:23:07 +01:00
Translation updater bot 32e3cfb07e
Localisation updates from https://translatewiki.net.
Change-Id: I9ba14ac02d592dd27e9404f461821b626cf3dbdc
2024-11-20 08:27:37 +01:00
jenkins-bot c6303220e1 Merge "EditCheck: Add more method documentation" 2024-11-19 18:07:43 +00:00
Ed Sanders 43b49080c9 EditCheck: Add more method documentation
Change-Id: Ia250a0c09d700b0f8e78bf2ea9c17e35b8c40d6d
2024-11-19 13:56:18 +00:00
jenkins-bot 41daeb6b11 Merge "Revert "editcheck: Remove try/catch around transaction squashing"" 2024-11-19 11:54:07 +00:00
Translation updater bot b70d878f27
Localisation updates from https://translatewiki.net.
Change-Id: I3d101c8ec1414c98e4e079142613880fcae8cec0
2024-11-19 08:19:18 +01:00
DLynch 733d0a835e Revert "editcheck: Remove try/catch around transaction squashing"
This reverts commit cf8a08f76c.

Reason for revert: these errors are still happening

Bug: T333710
Bug: T380234
Change-Id: I4b4a061757316bf720fecc7cfd971737b68d122f
2024-11-19 02:03:17 +00:00
Ed Sanders ae9717975a Update VE core submodule to master (09c2bd53d)
New changes:
03ef2ad75 Fix an inheritance typo
835107926 LinkContextItem: Fix alignment of items in "Text" section
30fdf399a Update OOUI to v0.51.2
30569879c Remove annotations from reparented meta items
2d4c9d100 Mark pastes from other VE instances as such
4249774e7 newFromDocumentInsertion: Skip list replacement when new list is empty
647f621b0 Follow-up I83ea6ddb: getAnnotationRanges Re-initialise for each branch node
a13132496 Move linear part of getAnnotationsRanges to ElementLinearData
09c2bd53d Localisation updates from https://translatewiki.net.

Bug: T130142
Bug: T379563
Bug: T379619
Change-Id: Ic764b9940cbe82d0e3a0b0ba9fa0e62f3c7bdd60
2024-11-18 17:02:54 +00:00
jenkins-bot c6f6967e45 Merge "MobileArticleTarget: Make close/publish buttons fixed width" 2024-11-18 11:45:48 +00:00
jenkins-bot 8014f6d538 Merge "Move edit checks to /editchecks folder" 2024-11-18 11:25:29 +00:00
jenkins-bot 0ca531b130 Merge "Fix forwarding promise rejection arguments" 2024-11-15 11:05:05 +00:00
Translation updater bot d8256488eb
Localisation updates from https://translatewiki.net.
Change-Id: I6e0c363c917a20742cc1303745b0715e795604b4
2024-11-15 08:45:57 +01:00
Bartosz Dziewoński 02654c0086 Fix forwarding promise rejection arguments
Follow-up to arrow functions refactoring
(4db99d7a27).

Change-Id: I6ea41256d9a91552736742100630aab333375125
2024-11-14 21:38:23 +00:00
Bartosz Dziewoński bf22d07d2b Fix Phan error related to showPendingTakeover()
Caused by type hints added in MediaWiki core in
I3e0df790ff9db2fa630f82408a7254a359fe61ca.

Change-Id: I45d0906c11d9e66801dfedd54e6018e90ef027c4
2024-11-14 22:38:00 +01:00
Ed Sanders ee79edb58b Move edit checks to /editchecks folder
Change-Id: I27eee69c4086d44fd7d60bacde9a76c170af63fe
2024-11-14 16:44:59 +00:00
Translation updater bot a0ec12fda5
Localisation updates from https://translatewiki.net.
Change-Id: Id3a8e36e2344f1dd18b85c70281d41588d7bcac7
2024-11-14 08:20:59 +01:00
Translation updater bot 7b81b03b23
Localisation updates from https://translatewiki.net.
Change-Id: I5710b86c431723ef1a13db5927c3ce94cde4d889
2024-11-13 08:26:46 +01:00
Ed Sanders e434ad65ec MobileArticleTarget: Make close/publish buttons fixed width
This aligns them with the mobile wikitext editor. At mobile
widths the difference is negligible. On tablets this distinguishes
"navigation" buttons from the surface toolbar buttons.

Bug: T344370
Change-Id: I342e3bb579afb9f26e2af743e28eedb32efa3d46
2024-11-12 23:01:05 +00:00
Željko Filipin df82cecfd7 selenium: Replace Node.js Assert library with WebdriverIO Expect library
Assertions from Expect library are more readable that assertions from Assert library.

Bug: T325740
Change-Id: I3255483d99e096deea12aaccbebeabcdcc2e1b21
2024-11-12 13:57:48 +01:00
Translation updater bot 56e1607665
Localisation updates from https://translatewiki.net.
Change-Id: Icb76796ebce9c3604c6ea0637722af88fa4c42a6
2024-11-12 08:19:19 +01:00
Ed Sanders a5200b46e5 Update VE core submodule to master (50d3711de)
New changes:
f9d6ec27b ClipboardHandler: Give importedData annotations unique event IDs
ec97d88b7 ClipboardHandler: Improve handling of text style conversion
6454e904a Demo: Don't restore from auto-save when switching to/from source
8b4a254b9 Localisation updates from https://translatewiki.net.
2e48754b7 Add test case documenting wrong behaviour when moving annotated metadata

Change-Id: I18f2ce43797c464b50197120570ccd5b9891f034
2024-11-11 16:21:34 +00:00
jenkins-bot 6c4b4ec7d4 Merge "Edit check: fix an error when drawing selections" 2024-11-11 11:19:39 +00:00
Translation updater bot a6b5a0e269
Localisation updates from https://translatewiki.net.
Change-Id: I13863d8b54dc1ef138f5172accce7de0806ab816
2024-11-11 08:24:16 +01:00
David Lynch 239aa714fa Edit check: fix an error when drawing selections
Follow-up to 793a1364aa

Change-Id: Ieb4f30ba2fe37fdca8cad559d3e4211c83642a5c
2024-11-10 23:19:13 -06:00
jenkins-bot 98d112aec0 Merge "Diff extension body contents" 2024-11-10 14:01:07 +00:00
Ed Sanders b8f032d266 Handle view tab clicks even on edit pages
This allows the proper "discard changes" dialog to show.
A few more steps of the teardown now happen in the client,
but eventually in DesktopArticleTarget#teardown we check
again if we weren't on a view page and redirect (as this
is what we do after save).

Bug: T379367
Change-Id: I995649f37e5d841b6c1784a74f3bd353adfbe69f
2024-11-08 14:05:09 +00:00
Translation updater bot d414ced79c
Localisation updates from https://translatewiki.net.
Change-Id: Ibc75b2094f88d4eef7eaf9c7ac36a82831a95266
2024-11-08 08:29:59 +01:00
Translation updater bot d0dedfb512
Localisation updates from https://translatewiki.net.
Change-Id: I5e4db7bb8e52c3fbc5f01de5b364c29e13e62f1e
2024-11-07 08:19:59 +01:00
Translation updater bot b67045c994
Localisation updates from https://translatewiki.net.
Change-Id: Ia9dd30ec921c6c93b41b626df84a167e1fbe48e7
2024-11-06 08:24:48 +01:00
jenkins-bot dd56e0c226 Merge "Allow multiple highlight fragments to be passed to an edit check" 2024-11-06 05:28:42 +00:00
Ed Sanders 176e9c3297 CollabTarget: Use generateUniqueId
Change-Id: I69faf3b2efe70d1d880585dd41f227d2d0562594
2024-11-05 15:44:39 +00:00
Ed Sanders f2b44a9364 Update VE core submodule to master (267db0f3c)
New changes:
d4b5b74d7 ve.ce.Surface: Use getLinearFragment shortcut
1c0e86633 Localisation updates from https://translatewiki.net.
fb7f4ed65 Platform: Implement generateUniqueId
6cbed3ff7 Localisation updates from https://translatewiki.net.
507999ffe AnnotationInspector: Remove useless context binding in arrow callback
267db0f3c Localisation updates from https://translatewiki.net.

Change-Id: Ibe022e6439d01d71e5476c2e8f61c3b72c69e0ff
2024-11-05 15:43:53 +00:00
Ed Sanders 793a1364aa Allow multiple highlight fragments to be passed to an edit check
Change-Id: Ie9d7010a1a0ee6a5c570d4fd6988fc876afdb9e2
2024-11-05 11:41:50 +00:00
Translation updater bot 477358b3cb
Localisation updates from https://translatewiki.net.
Change-Id: Idd38f7b3e8b554c91c73d35c9ead3f6a20c2eb90
2024-11-05 08:34:09 +01:00
Translation updater bot ba8f1b28b4
Localisation updates from https://translatewiki.net.
Change-Id: I7114febeebcfcc924f5e725649abee6d9f24a885
2024-11-04 08:23:53 +01:00
Translation updater bot 40ec9aa520
Localisation updates from https://translatewiki.net.
Change-Id: I186490be48fa70d1d1573b610cb3d2e18efed1c5
2024-11-01 08:36:58 +01:00
libraryupgrader e810e1bf6d build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Change-Id: Id253c6d8319329a9cb156dede70fbe4db761d3f7
2024-11-01 03:10:34 +00:00
jenkins-bot 0dfdc3b009 Merge "EditCheck: Use getLinearFragment shortcut" 2024-10-31 11:32:25 +00:00