Commit graph

20623 commits

Author SHA1 Message Date
Translation updater bot f306cc3aec Localisation updates from https://translatewiki.net.
Change-Id: I4e2710178e1825887bc0d9771027e33822f63a46
2023-03-08 08:43:14 +01:00
Gergő Tisza 6d2ba502b8 Fix incompatible skin reporting logic
When checking for the presence of edit buttons, we should include
the VE edit button and the MinervaNeue page action link, but not
the "view source" button (which means the opposite: the user can't
edit).

Bug: T312632
Change-Id: I2eb6e833a0489c17cf8360aca61bd8b615e30461
2023-03-08 02:20:31 +00:00
Translation updater bot b372e13e55 Localisation updates from https://translatewiki.net.
Change-Id: Ic6192621ce07f076fc9e72039c27f16e35fc9c16
2023-03-07 08:55:18 +01:00
jenkins-bot b0f6367ae9 Merge "Per 1.40, VE should use parsoid directly in MW core." 2023-03-06 16:43:43 +00:00
Translation updater bot b1cd0e9229 Localisation updates from https://translatewiki.net.
Change-Id: I094471e9cc2bce15ad333856098c19c54e702d4d
2023-03-06 08:34:31 +01:00
Translation updater bot 370ee0483c Localisation updates from https://translatewiki.net.
Change-Id: Id24edf143c8e080bc83827e229f1635547751d5b
2023-03-03 08:49:48 +01:00
daniel 1d9af50f71 Per 1.40, VE should use parsoid directly in MW core.
VRS should no longer be needed to communicate with RESTbase.
The VisualEditorDefaultParsoidClient setting is retained for backwards
compatibility.

Change-Id: I1e7cdaa61d3d5b075b5551844d8b0293092c99ed
2023-03-02 18:39:17 +01:00
Translation updater bot 8583c0a53c Localisation updates from https://translatewiki.net.
Change-Id: I5da2fe9a0052a72c8a1c1ea783410b829047cfa2
2023-03-02 08:43:52 +01:00
Translation updater bot 490664b272 Localisation updates from https://translatewiki.net.
Change-Id: I7036ee501b60b0af3042bfcf971baef528429ba3
2023-03-01 08:25:11 +01:00
Translation updater bot fdcda109ba Localisation updates from https://translatewiki.net.
Change-Id: Ib2a397575fe94786f245d0882747192cfbe1abf8
2023-02-28 08:29:50 +01:00
Translation updater bot 70e472ed17 Localisation updates from https://translatewiki.net.
Change-Id: I749598bc781c068deb54a3846c3faa29fcb56140
2023-02-27 08:28:33 +01:00
James D. Forrester b12b5e21d9 build: Upgrade mediawiki/mediawiki-codesniffer from 40.0.1 to 41.0.0
Change-Id: I82a51fabffbdecd947077f143fff3a7ec7e3dbd6
2023-02-25 18:54:59 -05:00
Translation updater bot d3a35b5088 Localisation updates from https://translatewiki.net.
Change-Id: I1935fe6bd6b3056abb3c608f90bd735b03fa3b48
2023-02-24 09:00:58 +01:00
Ed Sanders 30b0f10c27 Template context: Link to source templates in "Generated from:" list
Bug: T328021
Change-Id: I0960f4033f99813ac761daf69abf437b00e7d3f0
2023-02-24 00:12:15 +00:00
Bartosz Dziewoński 19942e0e7b Update VE core submodule to master (51ac44db2)
New changes:
2a954cee0 BlockImageNode: Re-use captionData
3fce57ddb Localisation updates from https://translatewiki.net.
ab66f88eb CompletionWidget: Avoid double scrollbars
54195acfe CompletionWidget: Avoid exception when trying to update torn down widget
98d3af0a7 CompletionAction: Make suggestion data more extendable

Bug: T330401
Change-Id: I3480c988d3ee3b89423576a8ac8414070041a0cd
2023-02-23 19:51:36 +01:00
Translation updater bot 6437074655 Localisation updates from https://translatewiki.net.
Change-Id: I072693b5d9523d90fdc95f622952fe1ee34b6c79
2023-02-22 09:01:45 +01:00
Arlo Breault c068c166e2 Preserve link content for broken media
Parsoid will start populating the link content with the alt text if it's
available before falling back to the filename.  Preserving what's there
is needed to avoid dirty diffs during the transition and for cached
content.  In the future, we can remove errorText and replicate Parsoid's
new behaviour..

Bug: T273014
Needed-By: Iddf3e204d6e489cc8a33034da0d9e540efe65553
Change-Id: I7ab3d141b1df92d4447f7e3d6164082844d5bd10
2023-02-22 00:40:20 +01:00
jenkins-bot 8710f1ce75 Merge "Update MWGallery tests with newer Parsoid output" 2023-02-21 22:44:41 +00:00
jenkins-bot 864cd7045d Merge "Don't allow table attributes to be edited when hasExpandedAttrs" 2023-02-21 22:18:55 +00:00
Translation updater bot 22d0f85c77 Localisation updates from https://translatewiki.net.
Change-Id: I690265c39e97ecfa855cb3e1496f9756cd04fb89
2023-02-21 08:22:06 +01:00
Ed Sanders 1d4f828cbd Don't allow table attributes to be edited when hasExpandedAttrs
...but do allow table contents to be edited.

Bug: T307305
Change-Id: I4d714b35d2787d7259aab8250d6a772533dfde2e
2023-02-20 23:35:27 +00:00
Bartosz Dziewoński 286aa90ed9 Update VE core submodule to master (08c5c702b)
New changes:
24b2c7f0d ve.dm.Transaction: Factor out isAnnotationOnlyOperation
4c47b65c5 ve.dm.Surface#getModifiedRanges: Convert arguments to options object
5c15a0801 ve.dm.Surface#getModifiedRanges: Add excludeAnnotations/excludeAttributes
618d865d4 Localisation updates from https://translatewiki.net.
0f0f0f108 Localisation updates from https://translatewiki.net.
daae27877 Revert "Try to prevent selections inside ref/template nodes on Firefox"

Bug: T329983
Bug: T330104
Change-Id: Ie649e26838b1248fa4a4002dd2c121761a02c959
2023-02-20 21:19:59 +01:00
Translation updater bot 247d4cf042 Localisation updates from https://translatewiki.net.
Change-Id: I0b7e8432c4b48caf0c8659490b50f15a9e98fb88
2023-02-20 09:47:37 +01:00
Translation updater bot bbfb06c678 Localisation updates from https://translatewiki.net.
Change-Id: Ia9595d577082f080f1411056731132468d8b27b3
2023-02-17 08:56:56 +01:00
Translation updater bot c426b7f660 Localisation updates from https://translatewiki.net.
Change-Id: I97115d96479bcacf3b2460cb67575818d7d6a822
2023-02-16 08:47:44 +01:00
Ed Sanders 3eb41eae26 Update MWGallery tests with newer Parsoid output
Change-Id: I3c13ac60747c07b7e6d5f418e47154f41b2e11c1
2023-02-15 14:50:58 -08:00
Translation updater bot 6372e6bba2 Localisation updates from https://translatewiki.net.
Change-Id: I2cf00c4d5c7730a454dc1da8bd4e3dd127837f27
2023-02-15 08:26:27 +01:00
jenkins-bot 398ca10b0b Merge "Update VE core submodule to master (3b05386e0)" 2023-02-14 22:44:51 +00:00
Bartosz Dziewoński e3730c1a5e Update VE core submodule to master (3b05386e0)
New changes:
db3ef6ee9 Localisation updates from https://translatewiki.net.
b2a22bde4 Localisation updates from https://translatewiki.net.
40c846f1d Update DOMPurify to 2.4.4

Bug: T279215
Change-Id: Ia41f3c47a03776e17ac20ee1067f8ab7eb351a50
2023-02-14 23:27:20 +01:00
Translation updater bot 49c515bd00 Localisation updates from https://translatewiki.net.
Change-Id: I340250a2a3f98d1c346c39922b92e2ac0813f63a
2023-02-14 08:32:20 +01:00
jenkins-bot 2dd4987b57 Merge "DesktopArticleTarget.init: Ignore fake section edit links added by gadgets" 2023-02-13 23:39:26 +00:00
jenkins-bot 09a3f24e57 Merge "DesktopArticleTarget.init: Fix init from "Add topic" tab in some cases" 2023-02-13 23:39:23 +00:00
jenkins-bot b5b7d69c47 Merge "Enable visual diffs on history pages by default" 2023-02-13 22:08:41 +00:00
Bartosz Dziewoński 7aa1d55a48 DesktopArticleTarget.init: Ignore fake section edit links added by gadgets
Bug: T328094
Change-Id: Ia9554bfa90944fec0ebc0eadde65f13beb562fbd
2023-02-13 22:57:23 +01:00
Ed Sanders 44f5f47636 Enable visual diffs on history pages by default
Bug: T314588
Depends-On: I1617433d307b92075cab33efae7e57f3a3fcc7d9
Change-Id: I0948add56007368bc95e20687d01d70495e013c5
2023-02-13 21:49:58 +00:00
Bartosz Dziewoński d7e0d1deae DesktopArticleTarget.init: Fix init from "Add topic" tab in some cases
Going through onEditSectionLinkClick() is not needed, and it confused
some code that actually expected a section edit link.

Bug: T328094
Change-Id: I8975ade38d9dd064272781fb9d4bd22bab4d65ce
2023-02-13 22:34:36 +01:00
Translation updater bot effcd01ccd Localisation updates from https://translatewiki.net.
Change-Id: I7c6632b2e979da7c858654b60eb2010b2543b5e7
2023-02-13 08:31:28 +01:00
jenkins-bot a70826e8bd Merge "Follow-up I3412c53cc: Fix reference to target in ve.ce.MWWikitextSurface" 2023-02-12 15:14:28 +00:00
Ed Sanders 12395b0a57 Follow-up I3412c53cc: Fix reference to target in ve.ce.MWWikitextSurface
Bug: T329439
Change-Id: I67632bf62c0373e7825ccd9fbe263116928e7e35
2023-02-12 11:13:48 +00:00
Translation updater bot c1f6629088 Localisation updates from https://translatewiki.net.
Change-Id: I6b6e8e6e1870c6ae9802c1503ddcf6490f8b6d8a
2023-02-10 08:44:46 +01:00
jenkins-bot 33a980b150 Merge "Don't unnecessarily load huge icons for Wikimedia logos" 2023-02-09 11:39:59 +00:00
Translation updater bot 4aa84c2150 Localisation updates from https://translatewiki.net.
Change-Id: I09115bdd81a756ec1dd8d98b710d4ad2c084715d
2023-02-09 10:12:56 +01:00
jenkins-bot d9eb3ab803 Merge "Loosen the edit link selector specificity in setupMultiTabs()" 2023-02-08 20:24:41 +00:00
Bartosz Dziewoński a9aade6d66 Don't unnecessarily load huge icons for Wikimedia logos
The only icon we use from 'oojs-ui.styles.icons-wikimedia'
is the CC licenses logo.

Recently in I6217692e98088814c7a33bbc7ef8174622e03f25 more
Wikimedia project logos were added to that pack, and some
of them are positively huge. They may be improved in T328492,
but we're not using them anyway, so it makes sense to me
to use a custom icon pack here.

This reduces the download size for opening the editor for
the first time (uncached) by around 500 KB.

Change-Id: Ibe8a9ce9e4f1ded28fc9fd7e4ee41d5823123ceb
2023-02-08 19:08:38 +01:00
Translation updater bot 732c0615a1 Localisation updates from https://translatewiki.net.
Change-Id: I23a7073408f97e6ac36a2d8db43777bfe5ff0a88
2023-02-08 08:40:51 +01:00
Jack Phoenix eb71d7710a Loosen the edit link selector specificity in setupMultiTabs()
This allows VE to support even more skins with minimal or no changes to the skins themselves.

Partially reverts 75ff121b29.

Change-Id: I7536610459b7401015d4a033cc516c5d9a0ca5f1
2023-02-07 20:28:32 +00:00
jenkins-bot b5b4d42b3b Merge "Target#tryTeardown should succeed when target isn't active" 2023-02-07 16:41:05 +00:00
James D. Forrester f6dcd98b38 Update VE core submodule to master (109c9a606)
New changes:
597ca6403 Localisation updates from https://translatewiki.net.
a938d5338 Update OOUI to v0.46.3
109c9a606 Try to prevent selections inside ref/template nodes on Firefox

Bug: T272207
Bug: T313162
Bug: T327086
Change-Id: I9b91729271e320576ea8425a68dc540a31d23a2e
2023-02-07 09:59:28 -05:00
Bartosz Dziewoński 5736f8ead6 Target#tryTeardown should succeed when target isn't active
It makes other code easier to write when we want to make sure
that no target is active.

Change-Id: Ica75f8334ef32ffbcc59109a46624acdf271847d
2023-02-07 00:03:07 +01:00
David Lynch d8fd73d72a Avoid error if watchlist has been toggled before editing
onWatchToggle didn't cope with the case where there was already an event
in the hook-queue when it was registered during setup

Bug: T328955
Change-Id: Ic80f707e86ba3c9f88097cac8aec8c6b3cc32cee
2023-02-06 15:58:45 -06:00