Commit graph

21393 commits

Author SHA1 Message Date
Bartosz Dziewoński 0460cd834b ApiParsoidTrait: Fix converting MessageValue to Message
Despite outwardly behaving just like a Message, in fact MessageValue
stores its parameters in an incompatible way.

Bug: T352012
Change-Id: I16c64cdc8c2795536579c52a0aa21832900d96b6
2023-12-18 22:18:38 +01:00
Ed Sanders d39f3c140c Update VE core submodule to master (4b3fa495f)
New changes:
14d84cde2 Revert "Put zero-width space after inline focusable nodes"
4b3fa495f Revert "Fix English Gboard backspace over aliens"

Bug: T325129
Bug: T330284
Bug: T353578
Change-Id: Ieba0bb75811ce568c5ce50bc7e3aab8d7058af28
2023-12-18 17:43:01 +00:00
Translation updater bot 6fa28fd7b6 Localisation updates from https://translatewiki.net.
Change-Id: I38fe15dd093fd263d79d58e5b41cc46c43cff92a
2023-12-18 18:19:30 +01:00
Ed Sanders 30530fd4f7 Update VE core submodule to master (a30185526)
New changes:
a6c8d13d7 Replace deprecated ve.(add/remove)PassiveEventListener calls
fab9a0054 ve.dm.Surface: Remove deprecated methods
211daffeb Localisation updates from https://translatewiki.net.
764a51fc6 Localisation updates from https://translatewiki.net.
10a6e236f HashValueStore: Avoid deprecated #clone method
a30185526 Localisation updates from https://translatewiki.net.

Change-Id: I25fbdefcac31b89d221f0071da2285116743d411
2023-12-18 16:28:47 +00:00
Translation updater bot dffcf8661d Localisation updates from https://translatewiki.net.
Change-Id: I13f4884b3788dbf19d330df2b3017b1aacdf63dd
2023-12-15 09:04:16 +01:00
Translation updater bot 341b12bba0 Localisation updates from https://translatewiki.net.
Change-Id: Iaf912eb5b7ce15c7dd8c8f8ed5bdd3b6a81fe8d4
2023-12-14 08:28:33 +01:00
Translation updater bot b98a7bc4ba Localisation updates from https://translatewiki.net.
Change-Id: Ic28dcd3ce5edd2d64020c28ee430bdf5c7624e28
2023-12-13 08:42:17 +01:00
Translation updater bot fff8e94ac4 Localisation updates from https://translatewiki.net.
Change-Id: I4d53131b771abccd5e0758cf8e87ac36bf3eb220
2023-12-11 10:44:19 +01:00
jenkins-bot 62cab37f00 Merge "Remove { passive: true } from removeEventListener" 2023-12-08 23:45:34 +00:00
jenkins-bot e7e7674d02 Merge "Add script to find files which exist in lib/ve's modules.json, but not extension.json" 2023-12-08 21:42:22 +00:00
jenkins-bot 35d8646c9c Merge "Add files missing from lib/ve's modules.json to extension.json" 2023-12-08 21:42:20 +00:00
jenkins-bot 666e170f18 Merge "Update VE core submodule to master (45dd9b115)" 2023-12-08 21:41:00 +00:00
jenkins-bot b1ff01375d Merge "updateSubmodule: Show removed files/i18n keys as well as added" 2023-12-08 20:19:52 +00:00
Ed Sanders 6b23d6a731 Add files missing from lib/ve's modules.json to extension.json
Mostly just tests, but also ve.ce.css which contains bidi isolate
rules used by LanguageAnnotation.

Change-Id: I003c62a6944854b2df77f1bb12f21794d968f021
2023-12-08 20:06:34 +00:00
James D. Forrester 1b24057d8e Update VE core submodule to master (45dd9b115)
New changes:
45dd9b115 Don't use ve.init.sa.Target in ve.init.Target tests

Change-Id: Iad3bcb3cede6405d7f9415d9b9f230460d846248
2023-12-08 15:06:16 -05:00
Ed Sanders fa307229d2 Add script to find files which exist in lib/ve's modules.json, but not extension.json
Change-Id: Ib5b3aa773961c622cdaf7f4420f720cb86297916
2023-12-08 15:04:13 -05:00
Ed Sanders a1e807cacd updateSubmodule: Show removed files/i18n keys as well as added
Also format these lists with a '- ' prefix.

Change-Id: I4ed9a6c99474057b3053de1f8cda92cd8c375941
2023-12-08 16:51:11 +00:00
Ed Sanders b19883e8d8 Update VE core submodule to master (c788040b1)
New changes:
ace73e1dd Show selection size in merge cells context item
a5a3c576d build: Run npm audit --fix as of 2023-12-07
1fd5de1cf build: Upgrade svgo from 3.0.2 to 3.0.5 and re-run

New i18n keys:
visualeditor-table-selection-dimensions

New files:
src/ui/styles/contextitems/ve.ui.MergeCellsContextItem.css

Change-Id: I30653d829ae77b5f356eba00e476ccdeba65d621
2023-12-08 16:40:03 +00:00
Translation updater bot 08fa969984 Localisation updates from https://translatewiki.net.
Change-Id: I5f24f4f4ec99ee08ecd29250ece23788a6409637
2023-12-08 14:46:53 +01:00
Ed Sanders dd4e766d4b Remove { passive: true } from removeEventListener
This option doesn't exist when removing an event.

Change-Id: I74cc8c41ad13ae7d2b4932c41d8dc51b764e1b6b
2023-12-08 11:00:01 +00:00
Ed Sanders fda355fe2e Update VE core submodule to master (402570007)
New changes:
cb1338d26 Localisation updates from https://translatewiki.net.
132bfc47b Move verbose copyright message to AUTHORS.txt
5f71215f4 Fix English Gboard backspace over aliens
3ed672344 Put zero-width space after inline focusable nodes
eb4d327dd Localisation updates from https://translatewiki.net.
404b3d340 Only update cursor holders if they're not already correct.
74ea95db2 Update OOUI to v0.48.3
ee54f0bc8 ve.ce.Surface: Remove some mentions of IE in "support" comments
190d81f1c Make headings of different levels "un-mergeable"
2b5cae3c2 DiffElement: Replace custom warning with MessageWidget:type=warning
58c4345fd DiffElement: Remove oldDoc and newDoc properties
d88122919 FormatAction: Use forEach loops
d0272af9f Don't convert empty-selected paragraphs
0fc4ee93f LinearArrowKeyDownHandler: Fix typo in tests

Bug: T261662
Bug: T325129
Bug: T330284
Bug: T52419
Bug: T54770
Change-Id: I6dfc372c9f3bdb2bef882226a49693e08de30383
2023-12-07 17:46:36 +00:00
Ed Sanders 7eb2d5dcd6 updateSubmodule: Don't fail silently due to grep result being empty
Change-Id: Ie9ffc5bf0ee09d8e5f3b5d6f7e6d94ba9db8beda
2023-12-07 17:45:15 +00:00
jenkins-bot d69bfd52b2 Merge "Link inspector: Use searchFragments feature in TitleWidget" 2023-12-07 16:44:26 +00:00
Translation updater bot 6cf4c89e38 Localisation updates from https://translatewiki.net.
Change-Id: Iad3fd88094f1a51500d88f587c25e5db6496a1cc
2023-12-07 10:03:37 +01:00
David Lynch 5d6463ebba Edit check config for whether to ignore references in certain sections
Adds two new configs:
* ignoreSections, array of section names that'll be compared
* ignoreLeadSection, bool for whether to ignore the lead section

Bug: T346949
Depends-On: I7ded925b91b1d86b3c76c4135c85a3f0be1dee5e
Change-Id: I44f18fadcafbe011008d8abff566e2ccd7682f4f
2023-12-05 15:47:17 +00:00
Translation updater bot af8fab06a1 Localisation updates from https://translatewiki.net.
Change-Id: I6138e5e924b37d057bd750d489ae3e7c621aa155
2023-12-05 09:16:08 +01:00
jenkins-bot 2034611b36 Merge "updateSubmodule: Show whole commit message in console output" 2023-12-04 13:39:15 +00:00
jenkins-bot ff54de70e2 Merge "updateSubmodule: Only show new files for resource loader (js/css/less)" 2023-12-04 13:39:12 +00:00
Translation updater bot bbfbba3e83 Localisation updates from https://translatewiki.net.
Change-Id: Ie6b17d53bfbc8b64f7be4c0bdbfcd0cf51e3bcea
2023-12-04 09:06:33 +01:00
Ed Sanders 74991b163a updateSubmodule: Show whole commit message in console output
We lose the color from the git log output, but having
all the information is more useful.

Change-Id: I06b430ce994aa5af4edc700db4676cccd2f9404d
2023-12-02 10:12:40 +00:00
Ed Sanders 770e3e90fa updateSubmodule: Only show new files for resource loader (js/css/less)
We don't care if there are new config files or new i18n files.

Also move --color=never to grep, as that will remove colours from
git diff.

Change-Id: I09ffcb2beefad95b5530b61a9e99c2dbf20c511f
2023-12-02 10:09:21 +00:00
Ed Sanders 46ab52dc53 Update VE core submodule to master (de810d614)
New changes:
994d81e02 Localisation updates from https://translatewiki.net.
2c2b7e62a Localisation updates from https://translatewiki.net.
f7d242e0d build: Add new language file
75c80c713 build: Fix patterns for grunt:tyops
28391560f build: Update ESLint to 0.26.0 and autofix
e207c05c8 Localisation updates from https://translatewiki.net.
ca7b4fd7a Refactor dm.Document getNearestFocusableNode to use a generic helper
de810d614 Visual diff mobile: Apply compact styles sooner and reduce margins

New files:
i18n/gur.json
i18n/kus.json

Bug: T346949
Change-Id: I1f90995e06d7f5387075fd65e0215e99aaa97b3e
2023-12-02 09:57:26 +00:00
Ed Sanders d42a0772bb Move verbose copyright message to AUTHORS.txt
Avoids having to update the date in every file every year,
which we stopped doing.

Change-Id: I7bf7aa0937eef911e00772470091753a7b06fd3d
2023-12-01 16:07:39 +00:00
jenkins-bot 82e6bc5fa0 Merge "Allow a global variable to forcible enable edit check" 2023-12-01 13:00:52 +00:00
Translation updater bot 4b0e6b9c53 Localisation updates from https://translatewiki.net.
Change-Id: I69d84849771cbb1e13a0bbb59cbd5ba0c92235d0
2023-12-01 09:41:27 +01:00
David Lynch 094c007df0 Allow a global variable to forcible enable edit check
The URL parameter turns out to be a bit painful for people to use in
some situations.

Bug: T350749
Change-Id: I7c88dc604dd321a7c78810b21f7ad8306ff9dab6
2023-11-30 10:27:50 +00:00
Translation updater bot 91bed09e35 Localisation updates from https://translatewiki.net.
Change-Id: I980b6fb8e09e0324080a6ab6b5207374cacc76b3
2023-11-30 09:39:07 +01:00
gerritbot eae3c3c1c5 Update UserOptionsLookup's FQN
User-options related classes are being moved to the MediaWiki\User\Options namespace in MediaWiki Core; reflect that change here.

Bug: T352284
Depends-On: I9822eb1553870b876d0b8a927e4e86c27d83bd52
Change-Id: Ifb380012959b5b2853586cd25b0d003b53dc38eb
2023-11-29 12:41:16 +00:00
Translation updater bot 6791f0c47e Localisation updates from https://translatewiki.net.
Change-Id: I47a8c1cb0ec8089ab417d04f9a0e0a221e7a510b
2023-11-29 08:32:05 +01:00
jenkins-bot 0ec1a7a2c0 Merge "Fix Gallery images always having |link=| and |alt=|" 2023-11-28 20:17:32 +00:00
David Lynch 5db452f5fa Fix Gallery images always having |link=| and |alt=|
Link is fixed by having the gallery image search results automatically
link to the image, which will resolve down to there being no `link=` in
the output. This lets us preserve whatever existing link has been
applied from source when editing gallery images later.

Follow-up to Iefc520b8513e833665dae9d5c3a9dca2762264a6

Bug: T350912
Change-Id: Iab21f72b7f1625d75fe52471b33718606c469518
2023-11-28 11:42:56 -06:00
Ed Sanders 876a947a7b Move EditCheck files to ./editcheck and structure as a sub-extension
Change-Id: I4085223a93b37e601b3627fc2d6db7978cac820e
2023-11-28 15:56:43 +00:00
Ed Sanders 3966573f02 build: Update ESLint to 0.26.0 and autofix
Change-Id: Ia5e15684c1c3dcd69985445a09fc4e4910368b5b
2023-11-28 11:18:09 +00:00
Ed Sanders 60f9dc2191 Fix width of preview in Vector 2022
Change-Id: Iea3109239a8d6519e7f93c8447ccfd40f1dc3aab
2023-11-27 16:29:31 +00:00
Translation updater bot 618e87b6b5 Localisation updates from https://translatewiki.net.
Change-Id: I811ee042b8eab771d3e63165ed376ee622b4b30d
2023-11-27 08:33:49 +01:00
Translation updater bot 1847eb84b0 Localisation updates from https://translatewiki.net.
Change-Id: Ibef39430937977ba0a3058692bf0568d1267d57b
2023-11-23 11:57:54 +01:00
Translation updater bot a402cec6bc Localisation updates from https://translatewiki.net.
Change-Id: Icd11a5bb72e1faa141db255858c9365d9f291ec4
2023-11-22 08:21:02 +01:00
jenkins-bot 3e96e895b3 Merge "Update VE core submodule to master (1947f053c)" 2023-11-21 14:20:38 +00:00
jenkins-bot 20fd2497cd Merge "VisualEditorEdit diffs should only compare the main slot" 2023-11-21 13:59:41 +00:00
Bartosz Dziewoński 1428ba02aa Update VE core submodule to master (1947f053c)
New changes:
eb4927054 ve.dm.InternalList#sortGroupIndexes: Fix merge conflict
26568bce9 Localisation updates from https://translatewiki.net.
709068c56 Update language lists
1947f053c Use annotations from view when pasting

New files:
i18n/dga.json
i18n/mos.json

Bug: T296905
Bug: T351549
Change-Id: I1da9f594ea00a242b8f1143544c1a2872376b3c5
2023-11-21 14:57:58 +01:00