Commit graph

21407 commits

Author SHA1 Message Date
Translation updater bot ebb99fc888
Localisation updates from https://translatewiki.net.
Change-Id: I546e4315251ab7b453d11419fb34df13d9d57799
2024-12-16 08:24:25 +01:00
jenkins-bot a1bf3308a0 Merge "EditCheck: Only pause if check is not rejected" 2024-12-13 16:46:33 +00:00
jenkins-bot 0e643b39bf Merge "Improve timing of sidebar opening and scrolling selection into view" 2024-12-13 16:25:36 +00:00
Translation updater bot 21356a4fcc
Localisation updates from https://translatewiki.net.
Change-Id: Ifd7eb0f2983dc4fccf6635307bcddcf5a7fbd070
2024-12-13 08:35:59 +01:00
Ed Sanders fccb247285 EditCheck: Only pause if check is not rejected
The pause is to show the user the result of their
action (sepcifically it was designed for AddReferenceEditCheck
to let them see the reference in the page).

If they reject, there is no need to pause. This applies
to mulit-check too where it would cause a pause before moving on
to the next check.

Change-Id: I57f881b37051cc2e5ea6bda23fea66a2de2b342d
2024-12-12 12:57:47 +00:00
Ed Sanders 81197ac662 Improve timing of sidebar opening and scrolling selection into view
* Don't try to draw the selections/highlights while the sidebar
  is opening.
* Only make the scroll call once (after the sidebar is open) to
  keep the animation smooth.

Change-Id: I1c1d23b0dad07aa44a2bd10ebb32149e796d6738
2024-12-12 12:39:03 +00:00
jenkins-bot 4280c2c082 Merge "EditCheck: move checks to a sidebar" 2024-12-12 10:59:40 +00:00
Translation updater bot 32a626f9f5
Localisation updates from https://translatewiki.net.
Change-Id: I1f203a0029e6975ce424f4f8163d08d43f06f241
2024-12-12 08:17:12 +01:00
David Lynch 37627ad9ae EditCheck: move checks to a sidebar
Bug: T341308
Bug: T379443
Change-Id: I66147d95fc23d0f72960ff93a76b3e5ba65ce44e
2024-12-11 20:20:00 +00:00
jenkins-bot b0c8e92155 Merge "updateSubmodule.sh: Fix double hyphens in i18n lists" 2024-12-11 14:19:27 +00:00
jenkins-bot f336f44813 Merge "Update VE core submodule to master (5c98d9b41)" 2024-12-11 13:45:38 +00:00
jenkins-bot e45d2e8137 Merge "Replace x.slice(0,x.length-y) with x.slice(0,-y)" 2024-12-11 13:34:12 +00:00
Ed Sanders 8fd07b5271 updateSubmodule.sh: Fix double hyphens in i18n lists
Change-Id: I93275d8a39d614078c73b1b91001fb57e9f5b4f3
2024-12-11 13:26:48 +00:00
Zoë dc9cf6624a Update VE core submodule to master (5c98d9b41)
New changes:
5c98d9b41 Keep track of recently used symbols

Added i18n keys:
- visualeditor-specialcharacter-recentlyused

Local changes:

Register preference for SpecialCharacterDialog recently-used list
Implement `canUseUserConfig` platform method

Bug: T110722
Change-Id: Ie869ccd4292f87354222af6648d7ea0e5ae50387
2024-12-11 13:24:06 +00:00
Translation updater bot 237f9afcbc
Localisation updates from https://translatewiki.net.
Change-Id: Ie36fe3eeaab86b28d5b422e61af6ad1393f806e2
2024-12-11 08:26:04 +01:00
Translation updater bot 42b7f17d58
Localisation updates from https://translatewiki.net.
Change-Id: I59f461bba27d73e1294afc71e190895e556765e2
2024-12-10 08:16:34 +01:00
libraryupgrader 6072043843 build: Updating mediawiki/mediawiki-phan-config to 0.15.0
Change-Id: Ib4454278d6a02db8a2eb2d83c8f84217d00e6170
2024-12-10 03:31:59 +00:00
Ed Sanders bad67da014 Update VE core submodule to master (d210240a0)
New changes:
89cbef3b0 Make sure InternalList sorting is stable both ways
bc2195831 Remove a few misplaced @param docs
28cc3c2d3 Localisation updates from https://translatewiki.net.
1e5b58eab Simplify TransactionSquasher test code a bit
25b5b7af6 Fix incomplete comparison in TextState.getChunks
00fd3c99e Document defaults for optional parameters in JS code
f188fd1a8 DiffElement: Fix typo in data slice
f3d699066 build: Updating jsdoc to 4.0.4
14c23bc36 Localisation updates from https://translatewiki.net.
1d9fb6345 Update OOUI to v0.51.4
5e3405228 Localisation updates from https://translatewiki.net.
d210240a0 Update languages after an automatic commit

Change-Id: I4ec553779eb3bf797098f4e024eb196bb40498d5
2024-12-09 16:54:06 +00:00
Translation updater bot 905c251ab3
Localisation updates from https://translatewiki.net.
Change-Id: I4d77579c7844a696da1835749bedf9ff78b0e7c8
2024-12-09 08:22:40 +01:00
Translation updater bot dbf01a5e07
Localisation updates from https://translatewiki.net.
Change-Id: I8402bf0aff3dcf390377869ca62771521995a52d
2024-12-06 08:18:02 +01:00
Ed Sanders e62327efe0 EditCheck: Replace highlights/selection with fragments
'selection' is only used by AddReferenceEditCheck but this can
be done in the act method.

Provide a method for getting highlight selections from
these 'affected fragments' that can be overridden.

Change-Id: Ida661682efd8ae99d945f0e310ea3ce12efc8770
2024-12-05 12:24:36 +00:00
Translation updater bot 13a949e74d
Localisation updates from https://translatewiki.net.
Change-Id: I8e0d7948cc99652ebaafa5a9d501404054d2609a
2024-12-05 08:21:44 +01:00
Ed Sanders 3a9c8f78ba Replace x.slice(0,x.length-y) with x.slice(0,-y)
Requires y to be non-zero.

Change-Id: I033732cb78b5e3149ac26e19243bf21b143eb105
2024-12-04 18:04:20 +00:00
jenkins-bot b222377bd7 Merge "Dialogs: Go back or close when pressing escape" 2024-12-02 17:57:21 +00:00
jenkins-bot 8aa265358d Merge "MWTransclusionDialog: Remove unnecessary empty label hack" 2024-12-02 17:55:16 +00:00
Ed Sanders 03b557f167 Dialogs: Go back or close when pressing escape
Decide based on the currently available actions.

Change-Id: Ida805efbf14071967bf2359788486028fb6c9a09
2024-12-02 15:26:54 +00:00
Ed Sanders 6a26905d87 MWTransclusionDialog: Remove unnecessary empty label hack
The blocking task was resolved 7 years ago...

Change-Id: I4853af45f6ea210be9478fd1deac8efb13e47877
2024-12-02 15:25:30 +00:00
jenkins-bot 8b86f3bfe6 Merge "Add help link to the "2017 source edit" tag" 2024-12-02 09:58:50 +00:00
Translation updater bot 697b5729c8
Localisation updates from https://translatewiki.net.
Change-Id: Ie42cd4e2cc60dea24910ab6939eaab8ad5fe7afc
2024-12-02 08:23:16 +01:00
Ed Sanders 3a2df21703 Add an <html> class for the current surface's mode
Change-Id: I167a460e129969f1e25dde717df5f3cb4b67b34e
2024-12-01 21:20:37 +00:00
Ed Sanders 6d4caef304 CollabTarget: Set ve-activated on <html> instead of <body>
This is what our other targets do.

Change-Id: I2ffbee8d74612d112509065b1e5e45ebc3487e6f
2024-12-01 21:20:33 +00:00
Ed Sanders 2fb7b81caf ArticleTarget: Don't throw error on new heading node
Change-Id: I4e0566de9ffa2112d99d9d574621ce57ce8b37f2
2024-12-01 21:20:17 +00:00
Translation updater bot b9d1106eb0
Localisation updates from https://translatewiki.net.
Change-Id: Ib18d3d86f984bcaa2b9875f5b0409396584fe907
2024-11-29 08:31:59 +01:00
libraryupgrader 92688545e4 build: Updating jsdoc to 4.0.4
Change-Id: I5a5fcc983b8b06b669073fd15b278d6a59fbf898
2024-11-29 03:27:52 +00:00
Ed Sanders 9f4f41354f Update VE core submodule to master (769863ca9)
New changes:
0ae4ea579 Use OO.cloneObject in ve.dm.Change
f23df511c Localisation updates from https://translatewiki.net.
3718bf204 build: Updating cross-spawn to 7.0.6
c2ed76cea Localisation updates from https://translatewiki.net.
769863ca9 Localisation updates from https://translatewiki.net.

Change-Id: I44dad4e5162aca8a4a16f23e0ac355098d26b01d
2024-11-28 17:43:28 +00:00
Bartosz Dziewoński 942c33c1ec Add help link to the "2017 source edit" tag
I've noticed that it is already present as a message override on
several Wikimedia wikis, seems like a good idea.

Change-Id: I78a9fd64899d10b87dc23d0727722e40aae8cd93
2024-11-28 18:32:41 +01:00
Translation updater bot e5aa682d10
Localisation updates from https://translatewiki.net.
Change-Id: I3dacb906e2e4c8772f1efee08061684117dd16c5
2024-11-28 08:16:35 +01:00
jenkins-bot 0c582e359e Merge "Upstream CSS hacks from skins" 2024-11-27 16:20:08 +00:00
Jon Harald Søby f539f436dc Fix styling for #catlinks:hover in Visual Editor
Use the same color (transparent blue) as `.mw-references > li:hover`
from `ve.ce.MWReferencesListNode.less`.

Bug: T370609
Change-Id: I8d8339b4c75aa5bc51c61df870fd1684dea2b183
2024-11-27 15:39:23 +01:00
Translation updater bot e0b1d0fe73
Localisation updates from https://translatewiki.net.
Change-Id: I88e81afac126ec30674c74225868eed3210e9e36
2024-11-27 08:22:14 +01:00
jenkins-bot c8f295d33b Merge "Edit check: add helper to BaseEditCheck to find added nodes" 2024-11-26 16:25:38 +00:00
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 34030accdb Edit check: add helper to BaseEditCheck to find added nodes
Change-Id: Ia6e2d97b57c002f9cea2167c64f960f1422dabfe
2024-11-25 10:50:41 -06: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
Ed Sanders 4332698408 Upstream CSS hacks from skins
Change-Id: Ic2aca1e005c5d5f89a97372de40bd8aa6f4b2aa0
2024-11-25 14:02:55 +00: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