Commit graph

21394 commits

Author SHA1 Message Date
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
Translation updater bot 50f6afc3bd Localisation updates from https://translatewiki.net.
Change-Id: I7293229f967dec9243ef46f477b7750188bd3b58
2022-12-08 08:30:27 +01:00
Bartosz Dziewoński 9ca5c701f6 Update VE core submodule to master (1b0ea4928)
New changes:
84227ead9 Localisation updates from https://translatewiki.net.
1b0ea4928 Update OOUI to v0.46.0

Change-Id: If3dcd3f82736efb862251bcbb25ea7f20816a96c
2022-12-07 22:28:29 +01:00
jenkins-bot e6bcdb7e78 Merge "selenium: Toolbar should open insert menu" 2022-12-07 16:07:22 +00:00
jenkins-bot d6f577b3df Merge "Revert "selenium: Do not retry tests"" 2022-12-06 14:58:21 +00:00
Kosta Harlan 68f0539fa8 Revert "selenium: Do not retry tests"
This reverts commit 9b9304b13f.

Reason for revert: Selenium tests occasionally fail for many different
reasons. We should use the default specFileRetries, so that a single
failure doesn't cause ~20 minutes of delay when someone is backporting
a change. See also e.g. T324544

Bug: T324544
Change-Id: I043eb5e57bec13a16efb35bbdffda6d3ea65b8e9
2022-12-06 12:40:00 +00:00
Translation updater bot 72d5a8312b Localisation updates from https://translatewiki.net.
Change-Id: Ic9b2b6a2118ec2cf72d2cd6d85b159ccba94f261
2022-12-06 08:54:04 +01:00
Francois Pignon 1b27b12b66 Optimize some jQuery selectors
Bug: T324523
Change-Id: I5d749e222b01a4f6abbc4517a8b568ad3e73e47f
2022-12-06 00:05:06 +00:00
jenkins-bot f6047f8642 Merge "Handle errors when rendering visual diffs" 2022-12-05 23:35:01 +00:00
jenkins-bot 4263eb1786 Merge "Adjust to changes to redlink behavior from parsoid" 2022-12-05 20:26:34 +00:00
David Lynch 83a46a7817 Adjust to changes to redlink behavior from parsoid
Redlinks now come down with a `mw:LocalizedAttrs` typeof, and have the
display URL parameters rather than being bare titles.

Bug: T324352
Change-Id: Ia1776e6e1f171d227c7c402b39ca96d17fb56cdb
2022-12-05 11:55:33 -06:00
jenkins-bot 0e65c743ef Merge "Only hide #siteNotice on skins where it's shown in the editable area" 2022-12-05 17:24:15 +00:00
jenkins-bot 65b9d1d2c1 Merge "ve.init.mw.DesktopArticleTarget.init: Remove redundant selector" 2022-12-05 17:24:13 +00:00
Translation updater bot 6299282dfa Localisation updates from https://translatewiki.net.
Change-Id: Ic1786fed0899b0980a31d6356af3bd4ea1de5297
2022-12-05 08:34:46 +01:00
Esther Akinloose 5347c6adf6 selenium: Toolbar should open insert menu
Bug: T296187
Change-Id: I4af64851d95a5bca26d8ae6ed5fcd9b0d13aba55
2022-12-02 22:07:49 +00:00
Translation updater bot 08e72061ac Localisation updates from https://translatewiki.net.
Change-Id: I5cd552a61c766e46130b227fa1b00319f518d997
2022-12-02 09:10:12 +01:00
jenkins-bot 8a2ebc2e81 Merge "Update VE core submodule to master (56859eb96)" 2022-12-01 21:53:47 +00:00
Bartosz Dziewoński f1ca83aafd Update VE core submodule to master (56859eb96)
New changes:
364f0cef3 Fix eslint warnings
b07598a2c Add jsdoc for undocumented build functions
f5431894f Localisation updates from https://translatewiki.net.
56859eb96 Localisation updates from https://translatewiki.net.

Change-Id: I71a2dd10d9f0313b153854c93726cf5a9140228f
2022-12-01 22:34:46 +01:00
Bartosz Dziewoński b368d741a1 Don't index VE edit pages
Bug: T319124
Change-Id: Ia738698e93252f884b9045aab5840465d3f0d3d3
2022-12-01 22:26:45 +01:00
Translation updater bot 21d810f62b Localisation updates from https://translatewiki.net.
Change-Id: Ief8053ff0ec2f4e5ee025a1f08407b31dda3403b
2022-12-01 08:17:03 +01:00
Ed Sanders 5e503eb378 Always sanitize href attribute in UI
Bug: T322704
Change-Id: I19f722c40f1f8e5b55e44d9fb11109a6f9951c06
2022-11-30 18:26:37 +00:00
Ed Sanders 7afbe7516d Always sanitize href attribute in CE nodes
Bug: T322704
Change-Id: I0ce6d57adf7c688d11f6fc39af291b44c4b5aeeb
2022-11-30 18:26:37 +00:00
Bartosz Dziewoński 1ea3bf3013 Handle errors when rendering visual diffs
There are some known bugs that we probably will not investigate
(T313809, T317455). Do something better than an infinite loading bar.

Follow-up to ee7c5d9d1a.

Change-Id: I339de7662ff68c2ea9bb1a738bb4207d1c399e59
2022-11-30 18:17:54 +00:00
jenkins-bot d386acf9b0 Merge "selenium: Toolbar should open special characters menu" 2022-11-30 18:01:54 +00:00
jenkins-bot 79b64eb837 Merge "selenium: Toolbar should open notices popup as soon as it loads" 2022-11-30 14:18:35 +00:00
Esther Akinloose fb5cbbd6c8 selenium: Toolbar should open special characters menu
Bug: T296187
Change-Id: Iab55907f648a99f7a7a56dc49bc0686df619c6dd
2022-11-30 14:17:33 +00:00
jenkins-bot 0e4bda00e9 Merge "selenium: Toolbar should open help popup" 2022-11-30 14:08:37 +00:00
jenkins-bot ed3cb2fc61 Merge "selenium: Toolbar should open page options" 2022-11-30 14:05:23 +00:00
Esther Akinloose 5f8dbcf2dd selenium: Toolbar should open notices popup as soon as it loads
Bug: T296187
Change-Id: I705d4d3e8a0135b500ec63749f519f7b86855a2f
2022-11-30 13:43:32 +00:00
Esther Akinloose 329574d645 selenium: Toolbar should open help popup
Bug: T296187
Change-Id: Ic818a97405e93e7545b6655073a62fd7e5b4e8a3
2022-11-30 12:36:42 +00:00
Translation updater bot 34fbdd781b Localisation updates from https://translatewiki.net.
Change-Id: I8c516c7837bb8d7d223db6dea45f8f42cb7f1414
2022-11-30 08:53:40 +01:00
Bartosz Dziewoński c9a9b619aa Only hide #siteNotice on skins where it's shown in the editable area
Bug: T324055
Change-Id: I07139358d0e20582a53fc6820ae022b9edc0ba95
2022-11-29 21:19:46 +01:00
Bartosz Dziewoński 62d80ff88d ve.init.mw.DesktopArticleTarget.init: Remove redundant selector
Hiding '.ve-init-mw-desktopArticleTarget-editableContent #toc' is not needed
when we already hide '.ve-init-mw-desktopArticleTarget-editableContent'.

Change-Id: I9f7dc5f64be1f392e846da5bcfcd0a5d17a65014
2022-11-29 20:52:03 +01:00
Translation updater bot 982cbe31ea Localisation updates from https://translatewiki.net.
Change-Id: I932d2ee994d85c199e1b4b5b1b5b09cce2c08fa0
2022-11-29 08:59:30 +01:00
Esther Akinloose 552e82c308 selenium: Toolbar should open page options
Bug: T296187
Change-Id: I46b5c7c2c3dd4d823a9727ea0c4eb8c2e9aaf207
2022-11-28 15:02:47 +00:00
Translation updater bot acc6e62a84 Localisation updates from https://translatewiki.net.
Change-Id: I24e9806cb9ee84f3e6baa994282f95f8fc22769c
2022-11-28 08:50:36 +01:00
Translation updater bot c91df29059 Localisation updates from https://translatewiki.net.
Change-Id: I69b3a20b8a5167a98dce66bb2de88a3e669e615c
2022-11-25 08:27:02 +01:00
jenkins-bot a4919ff345 Merge "Do not grey out page title while loading NWE on Vector 2022" 2022-11-24 14:00:35 +00:00
Bartosz Dziewoński a7395a04d7 Do not grey out page title while loading NWE on Vector 2022
The "uneditable content" styles should not be applied if the page
title is outside of the editor, like on Vector 2022 since T310839.

Bug: T322725
Change-Id: I212e41e3770807d43b4c58377ce77f4521e6b489
2022-11-24 13:43:45 +00:00
Ed Sanders 95b4bd1a4b Update VE core submodule to master (099b95023)
New changes:
e8c13e337 Localisation updates from https://translatewiki.net.
e59d14a98 Localisation updates from https://translatewiki.net.
347e09eac Localisation updates from https://translatewiki.net.
8592cdc07 Make use of native .map() in ve.ui.LanguageSearchWidget
6412add28 Localisation updates from https://translatewiki.net.
921892af2 Localisation updates from https://translatewiki.net.
a8aa6b475 Localisation updates from https://translatewiki.net.
69e6e5473 Localisation updates from https://translatewiki.net.
8ce65a801 Add test for use of ve.sanitize (DOMPurify) in external paste handler
e11290da1 Add unit tests for ve.sanitize
d248b851a Upgrade DOMPurify to 2.4.1
57eeb8b87 Sanitize href attribute in LinkContextItem and LinkAnnotation
099b95023 Localisation updates from https://translatewiki.net.

Local changes:
* Add ve.sanitize.test.js to test module

Bug: T322704
Change-Id: Ibb34f3cff9e9d891d6d9fd37151a704a67535ab0
2022-11-24 12:51:18 +00:00
Translation updater bot 0e3fb7dc4c Localisation updates from https://translatewiki.net.
Change-Id: I999dc9a2e6109807408661448ce1a069daf1c7a2
2022-11-24 08:18:33 +01:00
Translation updater bot 46a3c0c805 Localisation updates from https://translatewiki.net.
Change-Id: I3c63b32c421dde8458d950928518c6e1a8e9f6c7
2022-11-23 08:33:52 +01:00
Translation updater bot 5c93d514d2 Localisation updates from https://translatewiki.net.
Change-Id: Ieddebab9e640560eaa1f4c4a57edc8c7e307ce68
2022-11-22 08:34:51 +01:00
jenkins-bot b64626a4b8 Merge "Localisation updates from https://translatewiki.net." 2022-11-21 08:17:17 +00:00
Translation updater bot 783a20bccb Localisation updates from https://translatewiki.net.
Change-Id: I3fd5e993e9cc76a05e4bed30a2636be1df2a3348
2022-11-21 08:17:29 +01:00
daniel f36572432b Use PageRestHelperFactory
This isolates this extension from knowledge about the constructor
signature of the helper classes. Constructore signatures are not stable
interfaces.

Needed-By: Ie430acd0753880d88370bb9f22bb40a0f9ded917
Depends-On: I10af85b2da96568cfffd03867d1cb299645fb371
Change-Id: If1914dbfbefc3501b4d4cef4beb1fae307c36455
2022-11-19 21:21:11 +00:00
Ed Sanders 4bf8955c18 Link inspector: Avoid focussing a input when it isn't visible
Bug: T321026
Change-Id: I4edcf9c0cbe13eac450bc8e05883c7506b8dbfaf
2022-11-18 13:25:40 +00:00