Commit graph

21394 commits

Author SHA1 Message Date
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
Translation updater bot ff082d0887 Localisation updates from https://translatewiki.net.
Change-Id: I7cdd7c62e63c848f87c4511c6447076bd6c45b8e
2023-11-21 08:30:00 +01:00
Translation updater bot 2d676dda0e Localisation updates from https://translatewiki.net.
Change-Id: I943a3148878cf4dcf864cb10f8598d1abd439918
2023-11-20 08:52:43 +01:00
jenkins-bot ff2c146117 Merge "Update VE core submodule to master (5b5119dd8)" 2023-11-17 16:43:03 +00:00
Ed Sanders 8d1e86a00f Update VE core submodule to master (5b5119dd8)
New changes:
e717a74b3 Localisation updates from https://translatewiki.net.
5b5119dd8 CompletionWidget: Fix scrollable-gutter in CSS-disabled clippable element

Bug: T351448
Change-Id: If213d44c7604273bcbea44e70c4f6893d8395d3e
2023-11-17 16:00:18 +00:00
Ed Sanders d3b3c64bb6 updateSubmodule: Remove debug code
Change-Id: I15d9db60e57cf1177d106a203343124ac9765622
2023-11-17 15:59:58 +00:00
jenkins-bot 097fc806d3 Merge "updateSubmodule: List new files and new i18n keys in commit message" 2023-11-17 15:39:00 +00:00
Ed Sanders ededb6280f Link inspector: Use searchFragments feature in TitleWidget
Bug: T52881
Depends-On: Ic0a10935ad45846afc8feb75cec00a4bfcde3d86
Change-Id: I6e1c148a671abe87bb9e9ce153e9b0b70e5746ec
2023-11-17 15:12:05 +00:00
jenkins-bot 3c609d13c5 Merge "Convert MWSaveDialog.css to less" 2023-11-17 13:41:27 +00:00
Ed Sanders 7ac1622753 updateSubmodule: List new files and new i18n keys in commit message
These new files and message keys will likely need to be
added to extension.json.

Change-Id: I23067fe946038a2bea3eebe74ecffd274e9138b5
2023-11-17 13:35:47 +00:00
Ed Sanders 7545b46d16 Convert MWSaveDialog.css to less
Change-Id: I13d23492bcd7264076df0679a6405d2e5969919e
2023-11-17 13:12:09 +00:00
Translation updater bot 8d33060efb Localisation updates from https://translatewiki.net.
Change-Id: I6804e6844c960fab322eddca401c2304d1d78850
2023-11-17 08:53:26 +01:00
jenkins-bot 8411bd0954 Merge "Remove handling of Minerva edit links" 2023-11-16 18:37:24 +00:00
jenkins-bot ba5c9995d0 Merge "Recognize DEFAULTSORT again" 2023-11-16 17:50:50 +00:00
David Lynch b71a34cce5 VisualEditorEdit diffs should only compare the main slot
We diff only on provided wikitext. This was causing inaccurate diffs on
pages with slotted content (e.g. File: pages on commons), which would
claim the edit would delete all the slot contents other than the
wikitext in main.

Also, remove the very old backwards compatibility params that were being
passed to getResultData in this method.

Bug: T351235
Change-Id: I135082162b96503e8d896aa4014abc9f4b936580
2023-11-16 09:18:06 -06:00
Translation updater bot 5580a83617 Localisation updates from https://translatewiki.net.
Change-Id: I6581587e9c53cdf7698c0ff26ded286dd3fabb66
2023-11-16 09:10:17 +01:00
Translation updater bot e880db34a0 Localisation updates from https://translatewiki.net.
Change-Id: I5e1f891d11518bb99aa308e5bdae98a12c5396fb
2023-11-15 15:44:23 +01:00
jenkins-bot ec554b48be Merge "Drop meaningless version number 0.1.2" 2023-11-14 21:11:06 +00:00
Ed Sanders 34a8841759 Update VE core submodule to master (5a692bdf1)
New changes:
621250374 Localisation updates from https://translatewiki.net.
e78dacd08 List diffs: Restore list items that were split while flattening
4e0cfba4e List diffs: Handle 'listNodeAttributeChange' before 'depthChange'
06b8eeb80 List diffs: Fix overwriting top-level list when nested item added
c8e7fd1aa List diffs: Handle 'depthChange' together with 'listItemAttributeChange'
4d0d384ac List diffs: Try to handle list type changes when the list node is gone
c79d087e5 List diffs: Fix losing track of already processed list type changes

Bug: T324354
Bug: T345891
Change-Id: Ibab91409c0db772a12643ae2e0085a827f83bc1f
2023-11-14 16:29:04 +00:00
jenkins-bot b8d46f3eae Merge "updateSubmodule.sh: Use gerrit remote if it exists" 2023-11-14 16:19:56 +00:00
jenkins-bot 7bfa823396 Merge "CollabTarget: Remove unused CSS rules" 2023-11-14 16:13:13 +00:00
Translation updater bot 8493fad1e3 Localisation updates from https://translatewiki.net.
Change-Id: Iab2269f6d5777d9aba00ac201ee411721addc389
2023-11-13 08:42:39 +01:00
jenkins-bot 36ee2c29bd Merge "VisualDiff: Remember the current mode when the diff changes" 2023-11-13 06:10:55 +00:00
jenkins-bot 4c8b4479cc Merge "Use expression builder instead of addQuotes()" 2023-11-11 01:23:52 +00:00
Bartosz Dziewoński d23e912884 Use expression builder instead of addQuotes()
Bug: T350992
Change-Id: Ide2edebf979a21628aa5832d6ac8774fc55310f6
2023-11-11 00:29:25 +01:00
Ed Sanders 4870a285f2 updateSubmodule.sh: Use gerrit remote if it exists
Change-Id: I82f23ce8721c16d57f5c918d4ceda634c73bc959
2023-11-10 18:13:04 +00:00
Ed Sanders 90f7a2579e Update VE core submodule to master (4ed104936)
New changes:
a6865a3b5 Remove unused message visualeditor-table-caption
fb93ae3cf Fake PeerJS class, for convenient debugging.
2dc3a0645 ve.dm.ProtocolServer: support non-zero client startLength
aa4249fb4 ve.dm.SurfaceSynchronizer: explicitly serialize submitted change
160dd441d ve.collab: peerjs-based collaborative editing
b7b108819 ve.ce.Surface: Fix typo in CSS class name
a705ee3f8 Document generated CSS classes
379e5f6e6 Localisation updates from https://translatewiki.net.
b4a5f76b1 InternalList#sortGroupIndexes: Guard against firstNodes being unset
4ed104936 InternalList: Skip placeholder nodes when sorting

Bug: T332799
Bug: T350902
Change-Id: I13c47077b58f8ed1b8d77feb3661bec9f0ce4348
2023-11-10 18:07:29 +00:00
WMDE-Fisch ec47d4887b VisualDiff: Remember the current mode when the diff changes
I don't think it make sense to always fallback to the inital mode.
The wikipage.diff hook can be fired from 3rd parties to update the
diff. If the users then changes the mode inbetween without a page
reload, every following diff page update should have the latest
option as a default instead of the original option.

Bug: T346369
Change-Id: I2d0f6cbb89a2d98f247fcd77fa4d79708a4220c1
2023-11-10 10:19:15 +01:00
Nardog 9b9f2c50b0 Recognize DEFAULTSORT again
Since Parsoid now treats DEFAULTSORT like any other template, we have to
scan mw:Transclusion spans.

Bug: T337398
Change-Id: Icba92fc14c1c56ec4711ba49407e8be368d57842
2023-11-09 21:26:20 +00:00
Ed Sanders ba28b340db CollabTarget: Remove unused CSS rules
Change-Id: I7439fcef195f59cb1a30f264d1164a91c67424d2
2023-11-09 12:46:31 +00:00
Translation updater bot 2a343cd598 Localisation updates from https://translatewiki.net.
Change-Id: Ib5b13e6fd1256c7aba2efa4155cf9f024344f28f
2023-11-09 10:41:45 +01:00
Ed Sanders 7a3120d9d5 Remove unused CSS classes
Unused since I5839ba62fe4.

Change-Id: I927e64f14f672b9fca6c7e8c6806a38cea07382a
2023-11-08 19:25:32 +00:00
Translation updater bot 69c4659e00 Localisation updates from https://translatewiki.net.
Change-Id: I2166527b43aeb560b1baa01892eaeadf15c9d2cb
2023-11-08 13:08:22 +01:00
Bartosz Dziewoński 89545d2b53 Update VE core submodule to master (df7099eab)
New changes:
b3a237415 Grunt: Simplify ignore pattern for node_modules
78bbdf1d4 Localisation updates from https://translatewiki.net.
538d8ad4d Make VisualDiff#compareNodes static
8652432c4 Tree diffs: Add failing test case for templates in table diff
79eebb566 Tree diffs: Use VisualDiff#compareNodes
32d8c3180 Tree diffs: Use compareElementsUnannotated when comparing structural nodes
53970774a Visual diff: Describe list type changes
23cd3d886 Update diff-match-patch, removing cleanupSemanticLossless

Bug: T332791
Bug: T337698
Bug: T346424
Bug: T350032
Change-Id: I1707d50b06703aae74c654e354cce95541ac5a96
2023-11-07 21:41:49 +01:00
Translation updater bot 0327633191 Localisation updates from https://translatewiki.net.
Change-Id: I24bc32e3200ad638a7179df29ec53cb31fe3012b
2023-11-07 09:09:02 +01:00
Bartosz Dziewoński 5667832c1b Attach content to teleport target instead of <body>, remove Vector hacks
In MediaWiki, OO.ui.getTeleportTarget() is overridden to return
a different element (itself attached to body), which is supposed
to be styled appropriately by skins (e.g. z-index above any
floating header, font-size same as body text, etc.).

As a result, we no longer need to do weird things with the
'vector-body' class to achieve correct font size on Vector,
and we can remove some font-size overrides for Vector and MonoBook.

Bug: T348288
Bug: T339058
Change-Id: I6329b3023573b3dcfc8f471c4693be9bb1e9e430
2023-11-06 14:29:12 +00:00
Translation updater bot 7a935ec017 Localisation updates from https://translatewiki.net.
Change-Id: Idc6f5ff5bd8a13716b340ef72f3699def5aaffdd
2023-11-06 08:58:24 +01:00
jenkins-bot 97f704f9fe Merge "ApiVisualEditor: Remove unnecessary checks" 2023-11-03 17:37:42 +00:00
Bartosz Dziewoński d80a8a6abc ApiVisualEditor: Remove unnecessary checks
According to EventLogging 'editattemptstep' data the error hasn't
happened in the last 90 days.

It probably can't happen since we switched from RESTBase to direct
Parsoid access, but keep the checks as assertions just in case.

Change-Id: I0bad1e4364c2f1b154383bc1a984c4ccc83e1700
2023-11-03 17:05:08 +01:00
Ed Sanders 3bbcb66e9a Wikitext table tool: Use different message for caption placeholder
The wikitext table tool is re-using messages meant for other
things anyway, so might as well use a message that is still
in use elsewhere, as opposed to one for a tool that was removed
7 years ago (in Ife3f3505b845d).

Change-Id: I305f5f5a67e0340f89160e6654ad86f81609f9ab
2023-11-03 15:48:55 +00:00
Ed Sanders e238544d6e Document generated messages
Change-Id: I4467f0563a5c09ae063e13c372ebbde4f6e1d112
2023-11-03 15:39:00 +00:00
Ed Sanders 284fb20da4 Restore help toolbar title
Was lost when we converted it from a PopupTool
in I81d217bc1ab9.

Also visualeditor-help-title is unused since that commit,
and remove debugging code.

Change-Id: Ic1d40bac8ef76fbb6f009dd8cecec8dc74c1aa4b
2023-11-03 15:38:40 +00:00
jenkins-bot 286068d6c0 Merge "Remove unused docserver-http messages" 2023-11-03 15:17:27 +00:00
Ed Sanders 91c2107654 Remove unused docserver-http messages
These were removed in I50b20ed5ab.

Change-Id: I363a5ac45eaff04f4611367fb92ecb5cfb75d641
2023-11-03 13:18:30 +00:00
Translation updater bot f2c5eb91f4 Localisation updates from https://translatewiki.net.
Change-Id: Ife81a59cd78bac194997f52246bf6b380168a787
2023-11-03 08:59:47 +01:00
Bartosz Dziewoński ef0d37cc97 Update VE core submodule to master (af9ff31db)
New changes:
ea961803e Localisation updates from https://translatewiki.net.
c886092d3 Attach content to teleport target instead of <body>
bacf54a22 Localisation updates from https://translatewiki.net.
c1562081b Consistent usage of header/title in toolbar groups
f8a25c2ca Remove unused messages
af9ff31db Fix remaining uses of 'parent'->'super'

Local changes:
* Remove references to unused messages

Bug: T120821
Bug: T348288
Change-Id: I82dbbc5a8f82ca6bb5b225cb1c2e1734470ed9c8
2023-11-02 23:11:44 +01:00
jenkins-bot bfb4f04635 Merge "Make GalleryImageNode dm match (Inline|Block)ImageNode imgWrapper" 2023-11-02 21:40:44 +00:00
jenkins-bot a7b7f659c7 Merge "Roundtrip media tag name in galleries" 2023-11-02 21:40:12 +00:00
jenkins-bot 979cc39472 Merge "Set alt in data-mw for non-img media" 2023-11-02 21:39:02 +00:00
Ed Sanders 09d60e784b Fix remaining uses of 'parent'->'super'
Bug: T120821
Change-Id: Id6ccb82d6d6027265d1595dbf11c1c4abeabc392
2023-11-02 16:42:31 +00:00