Commit graph

20711 commits

Author SHA1 Message Date
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
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
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