Commit graph

20090 commits

Author SHA1 Message Date
Bartosz Dziewoński aff1874418 Update VE core submodule to master (049fb828f)
New changes:
add00c1f5 Localisation updates from https://translatewiki.net.
930d7a40a ve.dm.SurfaceSynchronizer: Abstract out communication slightly
75b007dcf Remove obsolete browser support checks for HTML5 History API
dd7473296 Localisation updates from https://translatewiki.net.
29948421c Localisation updates from https://translatewiki.net.
049fb828f Localisation updates from https://translatewiki.net.

Change-Id: Ib78fb3c38c540957e4008efb6370b098017400e9
2023-01-02 19:11:21 +01:00
Translation updater bot b6fcdcb27b Localisation updates from https://translatewiki.net.
Change-Id: I543577c988f3f9fa9139b457e0b31fb6365c119c
2023-01-02 08:44:49 +01:00
Bartosz Dziewoński 1165a06f47 ve.ui.MWTemplatePage: Use <p> instead of <hr> in the description
I've never liked how this looked, it feels so 1995. Let's just use
multiple paragraphs instead of a <hr> to separate the text, similar to
what we do in ve.ui.MWParameterPage. The second paragraph is already
emphasized with italics.

Change-Id: I324cd1d81e61cf8a23095b4f8aed68040eb1bd8d
2022-12-29 16:14:47 +00:00
Bartosz Dziewoński fe77d35c36 ve.ui.MWTemplatePlaceholderPage: Remove cleanup for old mw.storage entries
Follow-up to 13f5637290.

Change-Id: Iba92f42831839bbf66ecbb8963cbd44e407392db
2022-12-29 16:14:41 +00:00
Bartosz Dziewoński 62d3fc128e Remove unused message 'visualeditor-dialog-transclusion-placeholder'
Unused since e1ea921f76.

Change-Id: I88a51de0ae5583ba52bb3477625879d273150b39
2022-12-29 16:14:35 +00:00
jenkins-bot 4c31d8478b Merge "Localisation updates from https://translatewiki.net." 2022-12-29 15:02:55 +00:00
Bartosz Dziewoński 4fb3db27e6 ve.ui.MWTemplatePlaceholderPage: Move label to real label for accessibility
By using OOUI 'label' instead of 'help', the label is associated with
the input using <label for=...> in HTML.

The result looks almost the same, except for font size. I like the
change, and I don't think it was intentional to make the font smaller
here.

Bug: T277028
Change-Id: If178ca8feb9970c9287ab6dfe51fdf0a81df1c45
2022-12-29 12:40:11 +00:00
Translation updater bot 57eee69a5f Localisation updates from https://translatewiki.net.
Change-Id: I80ff7fa8d6fb50275901f21a404734996cc97d36
2022-12-29 10:02:55 +01:00
jenkins-bot d411175cd8 Merge "TemplateDialog: separate “Add template” messages" 2022-12-28 23:46:27 +00:00
jenkins-bot 729eb1a79c Merge "Remove redundant/conflicting ARIA label in template dialog" 2022-12-28 23:45:27 +00:00
Umherirrender 31fdf64247 tests: Replace deprecated Language::factory
Bug: T325986
Change-Id: I87e3c799fcb8959d2b31084479b1d15219a10261
2022-12-28 19:38:38 +01:00
Translation updater bot 4e5da759da Localisation updates from https://translatewiki.net.
Change-Id: Ibfbf422f0f49ee8dd6489799715073d23ae0eff7
2022-12-26 09:11:32 +01:00
Translation updater bot 45f37745b6 Localisation updates from https://translatewiki.net.
Change-Id: I7429cfa5e4a633ee32b94a834cca62db57e02c35
2022-12-23 09:08:45 +01:00
jenkins-bot 567f1d7183 Merge "Log bucket/token for the DiscussionTools mobile a/b test" 2022-12-22 15:12:22 +00:00
Pols12 afca7bf0af TemplateDialog: separate “Add template” messages
Use distinct messages for section heading, button label and input
aria-label, to allow a potentially better localization.

Bug: T304121
Change-Id: I3e3b06a035e2f11f5f32face789b934e22916e49
2022-12-22 15:08:31 +01:00
thiemowmde a8fc627f3c Remove redundant/conflicting ARIA label in template dialog
The ARIA label was added via Ieeb29de. It was reusing an existing
message.

Later we added a placeholder to the same input field via I07c6e60.
Since then screenreaders possibly read two texts: "Find template" and
"Add template".

Bug: T296465
Change-Id: Icb8d5419b4a4e34a224744873c557cb873e17c40
2022-12-22 15:07:24 +01:00
Bartosz Dziewoński 420b2a9382 Update VE core submodule to master (1a3a68a6b)
New changes:
5b8a37e40 Localisation updates from https://translatewiki.net.
414e8866f Localisation updates from https://translatewiki.net.
52e83e7df Localisation updates from https://translatewiki.net.
1a3a68a6b Localisation updates from https://translatewiki.net.

Change-Id: I1429f837dcaff3878c15e54ace40054593134bcc
2022-12-22 11:37:08 +01:00
Translation updater bot 6314227c52 Localisation updates from https://translatewiki.net.
Change-Id: I079be807d8d1b6022776d2718ccd08cb9ddda230
2022-12-22 11:05:06 +01:00
Esther Akinloose 99f9899193 selenium: Toolbar should open format paragraph menu
Bug: T296187
Change-Id: Icb1fabcf054a2fb1b290815d6cc9945bda0433a4
2022-12-21 14:10:31 +00:00
jenkins-bot 2c3a098e50 Merge "selenium: Toolbar should open style text options" 2022-12-21 13:57:30 +00:00
Translation updater bot a1142a186a Localisation updates from https://translatewiki.net.
Change-Id: I4d3735fe772a22aa8bcf745b4483bbac866204a7
2022-12-21 09:18:47 +01:00
Esther Akinloose d5825af59d selenium: Toolbar should open style text options
Bug: T296187
Change-Id: I909176da40faa64b23d0dfcafa4b9a6f62c0820e
2022-12-20 15:36:13 +00:00
jenkins-bot 3c6cf5fef5 Merge "selenium: Toolbar should open structure options menu" 2022-12-20 14:50:12 +00:00
Translation updater bot 4afc221b25 Localisation updates from https://translatewiki.net.
Change-Id: I1815f5a013a3131832a47c09f796032a82a75aae
2022-12-20 09:30:51 +01:00
Esther Akinloose 4df16fac5b selenium: Toolbar should open structure options menu
Bug: T296187
Change-Id: Ia8abb12c911174c2c6778b5aff4272a9b14fbbe0
2022-12-19 15:05:28 +00:00
Translation updater bot 71dcfaebde Localisation updates from https://translatewiki.net.
Change-Id: I6dd3e0a48f2ae0fe05769fc84bb6c609ae4a21c5
2022-12-19 09:05:05 +01:00
David Lynch e9b2965655 Log bucket/token for the DiscussionTools mobile a/b test
Bug: T321961
Change-Id: I1e809c4405a561b75e59d2c27edbfc8a3e838f09
2022-12-16 14:44:29 -06:00
Translation updater bot 2c14ce80e2 Localisation updates from https://translatewiki.net.
Change-Id: Iabd8d04d96b57987ad7d9a4ef7ff8872d06e29bc
2022-12-16 08:47:52 +01:00
Thiemo Kreuz 8a42b05622 ve.dm.MWTemplateSpecModel: Document some large params as private class
While at it, also fix a few broken uses of `@see` where `@link` was
intended or for full names, there is no syntax needed, as JSDuck
already links those.

Change-Id: Iaeb46b05c6f2e6f00198bc2ae773c895935b4cea
2022-12-15 23:35:11 +00:00
daniel 3a50a092d9 Catch HttpException early
Catch HttpException from REST helpers, even when they are triggered
already during initialization. This will happen e.g. when the request is
asking for a render key for which the stashed rendering has expired.

Bug: T325310
Change-Id: I9e622b5bb253f5e40fe2b50ff08471beddac9acf
2022-12-15 18:12:37 +00:00
jenkins-bot e06122f86e Merge "ParsoidClient: Improve return type documentation for Phan" 2022-12-15 17:01:06 +00:00
Translation updater bot 0db9568ac8 Localisation updates from https://translatewiki.net.
Change-Id: If02a7a849fad5ee91ec10a72bcd164d72b1afc09
2022-12-15 11:37:14 +01:00
Bartosz Dziewoński ac946cff36 ParsoidClient: Improve return type documentation for Phan
Change-Id: I1aecdc5ab7a21e1ef43ddcec4f4dbea610822493
2022-12-15 00:00:41 +01:00
Bartosz Dziewoński b6929d5be1 Change mw.libs.ve.getTargetDataFromHref to not return bogus data for external links
For external links, `.title` and `.rawTitle` properties previously
contained the external link corrupted with some normalization intended
for MediaWiki titles.

This was useless, and in fact no caller actually uses this value:
they all check `.isInternal` first before accessing `.title` or
`.rawTitle`.

Also, correct other parameter documentation.

Change-Id: Ieeab56548f0a3b2f81a90f0d3ae0f81d744aa67b
2022-12-14 22:57:04 +01:00
Jon Robson 9c25161966 QUnit test module should explicitly target desktop
Setting to desktop as it has dependency
ext.visualEditor.desktopArticleTarget.init
which is a desktop only module

Bug: T127268
Change-Id: I5083cb6ccf9ab918a90c41afc6644fc839b8950e
2022-12-14 17:46:22 +00:00
Translation updater bot 3a63406fc5 Localisation updates from https://translatewiki.net.
Change-Id: Id2375bedae04a4a19be01e6a248f53e2650a1b91
2022-12-14 08:16:44 +01:00
jenkins-bot c31b3bde04 Merge "Set targets explicitly on desktop only module" 2022-12-14 05:35:58 +00:00
jenkins-bot 0c5f131976 Merge "Use new stable API for subtitle modification" 2022-12-14 04:12:38 +00:00
Translation updater bot 0175b7cdfc Localisation updates from https://translatewiki.net.
Change-Id: I0c96092eab8ccb79ab3640fed8776b1a896ed11e
2022-12-13 08:17:49 +01:00
Jon Robson 612a307d68 Use new stable API for subtitle modification
Bug: T324876
Depends-On: Id8436324e2ae2fd9f488b65b3b7bfc19611870d1
Change-Id: I8e538939a6d7d4474f2e96b93040f3c68c2f98ec
2022-12-13 01:13:46 +00:00
Jon Robson a1f939415f Set targets explicitly on desktop only module
I'd like to change the default targets value for ResourceLoader.
Doing that flags that VisualEditor has a few modules that should
be explicitly defined rather than relying on the default value
here.

Bug: T127268
Change-Id: I5bc4a24bc00dc338b113332a911c67241d139dfb
2022-12-12 14:38:56 -08:00
Bartosz Dziewoński 133cacc42d Remove obsolete browser support checks for HTML5 History API
It is available in all browsers we support.

Change-Id: I6c860eadd91e6e4061ed0364be0dc8c7b750d3e7
2022-12-12 20:47:32 +01:00
Bartosz Dziewoński 237ffde471 ve.ui.MWPopupTool: Update usage of 'mediawiki.feedback'
* bugsListLink option no longer exists (I0ea65bf97d)
* bugsLink doesn't require mw.Uri

Change-Id: I9ab9d8b096a58fe0c49b296b121e5fe9a8dfd8bd
2022-12-12 19:43:14 +01:00
David Lynch 2b49b3bde7 Try/catch around mw.Uri when decoding parsoid resources
An incorrectly-encoded fragment is allowed-in-wikitext but will make
mw.Uri throw an error. e.g. `[[foo#1%bar]]`

Bug: T324976
Change-Id: I97cb85507d9ae3d648300245dd7e48cc239c4d90
2022-12-12 09:37:30 -06:00
Translation updater bot e5c0d08716 Localisation updates from https://translatewiki.net.
Change-Id: I374b3c76918861d47d60575389a069a6b56fb966
2022-12-12 08:23:17 +01:00
jenkins-bot c4f9513110 Merge "Always sanitize href attribute in UI" 2022-12-09 23:40:22 +00:00
jenkins-bot 2b39fa6246 Merge "Always sanitize href attribute in CE nodes" 2022-12-09 23:38:16 +00:00
Željko Filipin 15c53f0576 selenium: Decrease logLevel from info to error
logLevel from info is very verbose. It is no longer needed. The default
error logLevel should be enough.

Bug: T296187
Change-Id: I1bde5b57f64df2d6c00b4a7b8e24f9887a865bb6
2022-12-09 13:36:56 +01:00
Translation updater bot 4769e06693 Localisation updates from https://translatewiki.net.
Change-Id: I2d817ce5556065a1c307081646a7477abc13d847
2022-12-09 08:47:51 +01:00
jenkins-bot 3f3bfc70a3 Merge "Don't index VE edit pages" 2022-12-08 17:16:37 +00:00