Commit graph

20626 commits

Author SHA1 Message Date
jenkins-bot b6edbd25d6 Merge "Remove updated feature message about search" 2022-06-10 13:37:38 +00:00
Svantje Lilienthal 58fd0531d9 Remove updated feature message about search
Bug: T296471
Change-Id: Ie6eea76dacdc614ecb910c48e7e1f519b8c69322
2022-06-10 13:13:51 +00:00
jenkins-bot 26ffb7fb11 Merge "selenium: Add EditPage.saveComplete()" 2022-06-10 11:17:13 +00:00
Bartosz Dziewoński d6b5001580 Fire new 'wikipage.tableOfContents' hook to update TOC after save
Bug: T294950
Bug: T307480
Depends-On: I6cf76c870124c162dc1bcbc2f7e9ca0c5fdcd10e
Change-Id: Icaeda68ded94a04edef7a3629385eeb232048684
2022-06-09 11:31:50 -04:00
Bartosz Dziewoński e93e152e07 Update VE core submodule to master (78ab52b71)
New changes:
ab10516c0 Localisation updates from https://translatewiki.net.
06bc509b2 ve.js: Update ve.now() to match optimisation of MediaWiki core
83e064476 Localisation updates from https://translatewiki.net.
c375187c3 build: Update language lists
32c0cbfce ModeledFactory: Allow candidates to suppress other candidates when matching

Bug: T310290
Change-Id: Ia809d0e2e9cb29cfb4e3867130e4444fa6eb15b6
2022-06-09 16:57:12 +02:00
Esther Akinloose 3e93410e68 selenium: Add EditPage.saveComplete()
Add new check for page saving.

Bug: T296187
Change-Id: I07639c58377f6f285df1bfeccfb5e037a3e619d5
2022-06-09 14:42:02 +01:00
Andrew Kostka c8ad755112 Show all elements when expanding a collapsible description
Bug: T309875
Change-Id: If69b8bcf5574210fbc5c0b533a18977e05d7b5a4
2022-06-09 12:38:26 +02:00
Thiemo Kreuz 4c7167b571 Change template model to not merge conflicting aliased parameters
Before the (intentional) design decision was to not do anything special
when the same parameter is used multiple times (via aliases). Garbage
in, garbage out. Only the first usage of the parameter would work as
intended. The rest was ignored and subsequently removed from the
wikitext.

New design decision: Track and display duplicates as they appear in the
wikitext.

Notes:
* It's not possible to create such a situation in VE. Do this via
  wikitext.
* Labels will be made distinguishable via T309198.
* Possible warning messages will be added later.
* The behavior when unchecking a duplicate will be specified later.

Bug: T309198
Bug: T310248
Change-Id: I6011344638cdad8529d8f57513ef51b5237eb878
2022-06-09 09:26:41 +00:00
Translation updater bot 80092b55d9 Localisation updates from https://translatewiki.net.
Change-Id: I5ad276330fc551b0e261691568412d4c6b8b163b
2022-06-09 08:17:53 +02:00
Ed Sanders 3448efc02c Update toolbar negative margin for new padding in vector-2022
Changed upstream in I5d807f09.

Bug: T309398
Change-Id: Iaf28104d2d1d7b69dd3b6144d3f6fc33711fd5ce
2022-06-09 00:29:56 +01:00
jenkins-bot b23600fe70 Merge "Split advanced language variants messages" 2022-06-08 19:47:24 +00:00
jenkins-bot 201066904f Merge "Get rid of figure-inline compatibility" 2022-06-08 19:47:22 +00:00
jenkins-bot 29ea76198c Merge "MobileArticleTarget: Update contentSub" 2022-06-08 16:17:18 +00:00
jenkins-bot a5d0dab39e Merge "MobileArticleTarget: Update categories list if present" 2022-06-08 16:15:48 +00:00
jenkins-bot bffaab97fb Merge "selenium: Better assertion after saving the page" 2022-06-08 14:32:52 +00:00
jenkins-bot 24b49fbf87 Merge "selenium: Run only one test in Jenkins daily job" 2022-06-08 14:29:45 +00:00
jenkins-bot efc2ca875b Merge "Remove global class aliases" 2022-06-08 11:18:40 +00:00
Sam Smith d1c8a6b1be Also log EditAttemptStep events via Metrics Platform
The EditAttemptStep instrument is a candidate for migration to the
Metrics Platform [0]. The first step of the migration is to log events
both using the Event Platform (i.e. via mw.eventLog.submit()) and using
the Metrics Platform Client (i.e. via mw.eventLog.dispatch()).

The Metrics Platform Client can mix in additional information -
so-called context attributes [1] - based on the stream configuration.
The majority of the default values mixed into each event via the
mw.eventLog.Schema defaults mechanism are already known to the Metrics
Platform Client.

Note well that the Metrics Platform Client will not log an event without
one or more streams being configured to receive that event. Therefore,
this change is a NOP.

An example stream configuration is given in [2].

[0] https://wikitech.wikimedia.org/wiki/Metrics_Platform
[1] https://gerrit.wikimedia.org/g/mediawiki/libs/metrics-platform/+/aed6738b845/js/src/StreamConfig.d.ts#31
[2] https://phabricator.wikimedia.org/T309013#7953227

Bug: T309013
Change-Id: I7627f116cf32ceb3455a33f4f7bb55208ba92671
2022-06-08 11:57:14 +01:00
Translation updater bot 17715f6c43 Localisation updates from https://translatewiki.net.
Change-Id: Ie349c19df6cd5f16dbbc5430e82eff4a0e5d2ef9
2022-06-08 08:28:23 +02:00
Arlo Breault d8bbed42ec Get rid of figure-inline compatibility
Parsoid stopped emitting figure-inline in content version 2.2.0 and VE
requests 2.4.0, which isn't satisfied by the earlier versions.

Change-Id: I5f47fbe85fdca7fe429952709b62f5d1cc548daf
2022-06-07 14:39:09 -04:00
Ed Sanders e4171b944b MobileArticleTarget: Update contentSub
Change-Id: I10db861531bd706e6b93aed3cbc501e5d717572f
2022-06-07 18:47:28 +01:00
Ed Sanders 6adeae03ed MobileArticleTarget: Update categories list if present
This only happens in AMC. Currently it is also not possible
to update categories in VE, but this may become possible if
we enable 2017WTE on mobile.

Change-Id: Ifeb6cc18910ce2fca634bc3e2245aac7e5c37e52
2022-06-07 18:45:56 +01:00
Translation updater bot b99f78aa82 Localisation updates from https://translatewiki.net.
Change-Id: I0c2b04c689f28b9b2a12ddd6c55f64f15fd02d30
2022-06-07 10:01:55 +02:00
Reedy 9ee13d8471 Remove global class aliases
Change-Id: Id9b021f47d2ec181e5267e454a39ed3cafdec9d2
2022-06-06 17:23:23 +00:00
Translation updater bot 6e9387b626 Localisation updates from https://translatewiki.net.
Change-Id: If32d7acf8ab1e264d247709e616224a65ff136ea
2022-06-06 09:27:08 +02:00
Bartosz Dziewoński 3e0323637d Update VE core submodule to master (c54b727ca)
New changes:
6f91b6a3d Localisation updates from https://translatewiki.net.
7f8df33f9 build: Update language lists to add 'tdd'
c54b727ca FocusableNode: Remove webkit columns hacks

Bug: T309037
Change-Id: I86026e8ea3952ecc903b66d2636161754cdf7cee
2022-06-04 13:54:35 +02:00
Translation updater bot 7e4d0b8487 Localisation updates from https://translatewiki.net.
Change-Id: I9ccd0196aceaeb210db4c1ceb6b4a4c7b22c5962
2022-06-03 08:58:24 +02:00
Željko Filipin 4b7d505891 selenium: Better assertion after saving the page
The 'should save an edit' test is skipped because saving an edit fails
in CI because of T309712.

Bug: T296187
Bug: T309712
Change-Id: Ie4f067ed9b49a993acadaa01c953a9fe46aaae81
2022-06-02 15:51:41 +02:00
Željko Filipin ba0b671fa9 selenium: Run only one test in Jenkins daily job
selenium-daily-beta-VisualEditor Jenkins daily job became really
unstable. Let's run just the simplest test for a few days to see if that
would help with job stability.

Bug: T296187
Change-Id: I858a3c5614277ea029fdabfd4468bb0d124e94d5
2022-06-02 15:43:43 +02:00
jenkins-bot 21c1f1d38a Merge "ve.ui.MWLinkAnnotationInspector: Prevent long sitenames from messing up the layout" 2022-06-02 12:45:26 +00:00
Translation updater bot b659eafe5a Localisation updates from https://translatewiki.net.
Change-Id: I5ea61db27522e37b3b57d190ba7c39d8ce07fac2
2022-06-02 08:15:48 +02:00
Bartosz Dziewoński 6869bc90fd ve.ui.MWLinkAnnotationInspector: Prevent long sitenames from messing up the layout
Bug: T309443
Change-Id: Ia9e9dacb7f293e2529e8d0766e1117a61e34b3e5
2022-06-01 23:34:19 +02:00
Translation updater bot a707c803a2 Localisation updates from https://translatewiki.net.
Change-Id: I7a1753e5f499eacf148ba8c3c3e1734ac1437996
2022-06-01 08:21:22 +02:00
Bartosz Dziewoński f5ae9c2e59 Update VE core submodule to master (cd966e817)
New changes:
8a31adad3 SupportCheck: Call DOMParser directly
bb447f10e rebaser: Update dependencies
39e84e7b6 rebaser: Update deprecated option
e6505de76 rebaser: Update mongo driver to 4.6
8576a529f Localisation updates from https://translatewiki.net.
cd966e817 CompletionWidget: Wrap in a PopupWidget to keep within viewport

Bug: T307712
Change-Id: I16e96f1667dbe0105348c659ea303464fbd700f4
2022-05-31 22:36:48 +02:00
Translation updater bot 911e5017d8 Localisation updates from https://translatewiki.net.
Change-Id: I21b10028c6c16ee0c7b839d90ad57ca6c17a8823
2022-05-31 08:08:55 +02:00
jenkins-bot 0053ed8e70 Merge "Make collapsible descriptions more responsive" 2022-05-30 10:25:57 +00:00
jenkins-bot f3f1d7a673 Merge "Fix template dialog sometimes deleting unrelated params" 2022-05-30 09:01:22 +00:00
Translation updater bot 107727eb12 Localisation updates from https://translatewiki.net.
Change-Id: Iee387e366d5478f52f23c6f208b7934b02e658db
2022-05-30 09:24:35 +02:00
Amir E. Aharoni 646a812ef4 Split advanced language variants messages
These messages are quite advanced, and they are strongly needed
only in a handful of languages. To make VE localization easier
for volunteer translators, they should be in a separate file,
clearly labeled and with a different priority.

I'll make a separate patch for corresponding translatewiki
configuration.

Change-Id: I64a70b9b4756efea7dfa7cf3cb4dbe9251b73211
2022-05-29 22:16:26 +03:00
Andrew Kostka efa0e3ae9a Make collapsible descriptions more responsive
Bug: T307986
Change-Id: Ib28ec5a5c73fab8eb2b10ed6153a30028c3505cb
2022-05-27 16:10:00 +02:00
Translation updater bot 375145be28 Localisation updates from https://translatewiki.net.
Change-Id: I424e0b8654c3885f93c99104993f6ee9ad3f245f
2022-05-27 10:26:32 +02:00
Bartosz Dziewoński c59cd12c0a Update VE core submodule to master (f52d9b046)
New changes:
0cdfa1c35 Localisation updates from https://translatewiki.net.
f52d9b046 Revert "DiffElement: Collapse tree diff with no described changes"

Change-Id: I65d1e9cbdc45bbf5e04b5c0f25e9254ee240d587
2022-05-26 23:14:32 +02:00
Translation updater bot 0bee2c6ce9 Localisation updates from https://translatewiki.net.
Change-Id: I4ff19a0e7896443cff27f009009accab6ca25592
2022-05-26 08:52:21 +02:00
Thiemo Kreuz 64005eb41a Fix template dialog sometimes deleting unrelated params
The previous comment was true, but we forgot another edge-case. The
same parameter can appear multiple times. The old code tried to
delete it 2 times, which deleted something else.

Note that the behavior for duplicates is larely unspecified. We
will work on this soon. This is only a first quick step to fix this
specific bug.

Bug: T309203
Change-Id: If0afb2c19626c3d9db0d109d6559ae74698ed378
2022-05-25 16:01:44 +02:00
Translation updater bot 2ec96bf0c4 Localisation updates from https://translatewiki.net.
Change-Id: Ie86751a61ed86f341df7e3d772db1e87a9ffd2d9
2022-05-25 08:33:17 +02:00
jenkins-bot df6b5fab51 Merge "Bump requested Parsoid HTML version to 2.4.0" 2022-05-25 00:01:18 +00:00
jenkins-bot bb7f777ffe Merge "Zero-configuration VisualEditor for mainline" 2022-05-25 00:01:15 +00:00
jenkins-bot e1d40a958f Merge "Use new ResourceLoader namespace" 2022-05-24 23:46:12 +00:00
Tim Starling b9b6695c5a Use new ResourceLoader namespace
Extensions using Phan need to be updated simultaneously with core due
to T308443.

Bug: T308718
Depends-On: Id08a220e1d6085e2b33f3f6c9d0e3935a4204659
Change-Id: I9a20c25b9cea26e1fbe0f0434a0800632e9e0fc7
2022-05-24 22:59:39 +00:00
jenkins-bot 7da358581f Merge "selenium: Improve debugging" 2022-05-24 15:01:44 +00:00