Commit graph

19948 commits

Author SHA1 Message Date
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
Translation updater bot 4d59bf627a Localisation updates from https://translatewiki.net.
Change-Id: If4f19cd77980b939e5a649d60fdcb7b998fc699f
2022-11-18 09:20:14 +01:00
Translation updater bot 5f9fc0ad10 Localisation updates from https://translatewiki.net.
Change-Id: I3152dd1bc8ec012492b17a03fe704da42ab9d3a8
2022-11-17 08:28:19 +01:00
jenkins-bot a584e73975 Merge "Remove usage of User::isBlockedGlobally and User::getGlobalBlock" 2022-11-16 15:22:09 +00:00
csimiyu 4bdb4917f0 Remove usage of User::isBlockedGlobally and User::getGlobalBlock
Bug: T318898
Change-Id: I727cda9008866b665395cd0e9969c920dc9c28d6
2022-11-16 17:22:17 +03:00
jenkins-bot f805005145 Merge "Collect timing metrics for ParsoidClient" 2022-11-15 13:50:04 +00:00
Translation updater bot 62a93b066a Localisation updates from https://translatewiki.net.
Change-Id: I011e4e5bde6112f0dd809d27e358f4382a630150
2022-11-15 08:24:50 +01:00
daniel 7da2df9724 Collect timing metrics for ParsoidClient
We want to be able to measure how backend performance changes
when we switch from RESTbase to calling Parsoid directly.
We expect to see a performance boost, in particular for
html/to/wikitext, since we avoid the network overhead.

Since we will make the switch by wiki, we need to be able to compare
the metric before vs. after for a single wiki. So, this adds the
wiki ID as a prefix to all existing metrics. Once fully rolled out,
we should get rid of the wiki prefix.

We will need to update the dashboard found at this url:
https://grafana.wikimedia.org/d/000000249/edit-stash?orgId=1

Change-Id: Iac9070b27f4b0d25b0e31c9fad38abc08c433a28
2022-11-15 01:15:28 +00:00
jenkins-bot b9e38dab69 Merge "build: Update mediawiki/mediawiki-codesniffer" 2022-11-14 22:19:34 +00:00
Umherirrender 2ea2796605 build: Update mediawiki/mediawiki-codesniffer
Apply the latest version to libup-canary repo

Change-Id: Ifd3f356f713cc70257c88e7ec6fb8ff608f5f4a9
2022-11-14 22:43:38 +01:00
Umherirrender 4f4549c438 build: Update stylelint-config-wikimedia
Apply the latest version to libup-canary repo

Change-Id: I20fa0d8f30c27e73e90273cb405c5e048d46d927
2022-11-14 22:34:01 +01:00
Translation updater bot 9d8772b07d Localisation updates from https://translatewiki.net.
Change-Id: Iabc7cd99af4fddb799ac35eae1436d867446e8ef
2022-11-14 08:11:33 +01:00
Translation updater bot d47a0b7c3f Localisation updates from https://translatewiki.net.
Change-Id: I7aa5fd1ec34dd787a6e7bf05117ea92096bba43f
2022-11-11 08:42:47 +01:00
Translation updater bot d584c5414a Localisation updates from https://translatewiki.net.
Change-Id: Ib80991107be4535df64d183d40ceec44bb8addf3
2022-11-10 08:13:00 +01:00
Translation updater bot 60227b0b4e Localisation updates from https://translatewiki.net.
Change-Id: Ia39b26cad63b0ada5f433bf85d50d5bf27a1ce26
2022-11-09 08:59:54 +01:00
Translation updater bot c137b51e39 Localisation updates from https://translatewiki.net.
Change-Id: I4631e29409fc513a8f891a6eb329ce2337b41a57
2022-11-08 08:21:47 +01:00
jenkins-bot 82c845d30d Merge "Always allow switching to visual when using DirectParsoidClient." 2022-11-07 23:04:10 +00:00
daniel ea62ee6b19 Always allow switching to visual when using DirectParsoidClient.
When using DirectParsoidClient, switching should be lossless.

Depends-On: I86c611fa0b717ef619e5ffe550b6c2be49a28c99
Change-Id: Ie30ccbc8c12ce48f481b9f727f28e60d21ee37b9
2022-11-07 21:25:27 +01:00
Translation updater bot 1e9a456365 Localisation updates from https://translatewiki.net.
Change-Id: Id2e137fa1b4ed1de20b5f55008a54a309cf60aa6
2022-11-07 08:36:20 +01:00
jenkins-bot 2b5aeaf649 Merge "Improve smooth scroll to section with visual section editing on desktop" 2022-11-06 22:53:44 +00:00
jenkins-bot a46d76bc1e Merge "Platform: Handle invalid JSON in the other path in #getUserConfig" 2022-11-06 22:47:50 +00:00
Bartosz Dziewoński 288159d65c Platform: Handle invalid JSON in the other path in #getUserConfig
I discovered recently that I had 64 KB of text stored in the
'visualeditor-findAndReplace-findText' preference.

I must have accidentally copy-pasted a whole page into the "Find"
field, the JSON that VisualEditor tried to save became invalid after
MySQL chopped off the string after 64 KB, and since then VisualEditor
was unable to update the find-and-replace dialog preferences.

Change-Id: Ib1d853263d873d969c7b015b3842524e1f7fc351
2022-11-06 22:40:40 +01:00
jenkins-bot 74bc24d362 Merge "Use setters to initialize helpers" 2022-11-04 21:20:02 +00:00
jenkins-bot 9cf8d8d205 Merge "Don't log errors due to missing edit buttons" 2022-11-04 19:41:39 +00:00
Bartosz Dziewoński d2bbd0ed76 Improve smooth scroll to section with visual section editing on desktop
Follow-up to 8101b6511e.
$toolbarPlaceholder.outerHeight() only needs to be added when not
using visual section editing.

Change-Id: Idc7d9d59dea9eacbb8ee584c69e6bc4798562ea1
2022-11-04 19:53:43 +01:00
jenkins-bot a013b8c292 Merge "api-testing: Add test for switching from source to visual mode" 2022-11-04 17:10:47 +00:00
daniel bb66502100 Use setters to initialize helpers
Use setters instead of constructing fake request data.

Depends-On: I18c8bc6f5aa7c204f0faa56919bfe64026761bd4
Change-Id: I8d778c6e5d0b21f8615e3f330f63675cf51eee94
2022-11-04 13:18:56 +00:00
msantos 72b4f8cdbb Rename HTMLTransform related classes
* Rename imported classes in VE that will be renamed in core
* Re-enable tests that would fail when the core patch is merged

Depends-On: I506f3303ae8f9e4db17299211366bef1558f142c
Change-Id: I59ebeb24fa0de5f10d1501cc0830c7e4805e1003
2022-11-04 11:43:36 +00:00
Translation updater bot 97c506d028 Localisation updates from https://translatewiki.net.
Change-Id: I165f8aef3df7a34bf9874164d7aaf4f939bb6eda
2022-11-04 10:19:16 +01:00
Translation updater bot d3196b7b7f Localisation updates from https://translatewiki.net.
Change-Id: I2eaff7b85e77652694c11ebf1c263206fe4dd808
2022-11-04 09:04:26 +01:00
Translation updater bot 17b983a20b Localisation updates from https://translatewiki.net.
Change-Id: I0bedef6844fabd5496d45ef9fa6918a1cbaadb68
2022-11-03 08:25:45 +01:00
Jon Robson 282d075e0c Don't log errors due to missing edit buttons
There's nothing we can do about missing edit buttons - they are likely
being scrubbed by some script or gadget, so let's not report the error.

Bug: T314952
Change-Id: Icf778074026a24561c228cbf11e583062571d0cb
2022-11-03 02:22:54 +00:00
jenkins-bot 2972e744cc Merge "Skip tests while renaming HTMLTransform" 2022-11-02 16:34:34 +00:00
jenkins-bot 4191ac2a20 Merge "Add HtmlTransformFactory as depdendency for HtmlOutputRendererHelper" 2022-11-01 19:48:39 +00:00
daniel 1a5a52440c api-testing: Add test for switching from source to visual mode
Bug: T321862
Depends-On: Id611e6e022bf8d9d774ca1a3a214220ada713285
Change-Id: I685e4bcef9b1c398265afdf375b478643ab74cdd
2022-11-01 13:22:51 +00:00
Translation updater bot ce93f4c577 Localisation updates from https://translatewiki.net.
Change-Id: If75cc6447015398c79a284c13ee92b1cdce687dc
2022-11-01 08:55:38 +01:00
Translation updater bot b0c98cfaef Localisation updates from https://translatewiki.net.
Change-Id: I9056cb8779beeb4a2958c4fa04210170eda1b564
2022-10-31 09:47:10 +01:00
Translation updater bot d800ed737a Localisation updates from https://translatewiki.net.
Change-Id: I9a5691314c598ea17b92754b32bf320b1df5c1e8
2022-10-27 08:56:38 +02:00
Jon Robson 99f8a7275a wgAction is not a number
Follow up to Icd227fc54f3bc16d5ce84c419b69344ca0d21f28
Currently showing up in logs as "NaN" but logged elsewhere
so not needed.

Bug: T314952
Change-Id: I0bf0d428384aa35bd43be026d451d62a2c237267
2022-10-26 19:39:43 +00:00
jenkins-bot b0cdf612a3 Merge "Allow more 'rel' values on external links in Parsoid output" 2022-10-26 16:44:19 +00:00
jenkins-bot b81e8e3e2e Merge "ve.dm.MWMagicLinkNode: Fix matching RFC magic links" 2022-10-26 16:44:16 +00:00
Translation updater bot 71fed9ac51 Localisation updates from https://translatewiki.net.
Change-Id: Ibee77b9aa9a373ccda651f0d566fd0fec49f09c0
2022-10-26 08:20:40 +02:00
Bartosz Dziewoński 56195923d8 Allow more 'rel' values on external links in Parsoid output
Follow-up to I4070b3b16c8b2b76a0e7a67599efd914cbde63aa.

Bug: T321437
Change-Id: I4917c208251b4bcf1d31b07e717266970cb1516d
2022-10-26 01:07:08 +02:00
Bartosz Dziewoński f1df46d6cf Update VE core submodule to master (d1bc0e528)
New changes:
8823a8f6e Localisation updates from https://translatewiki.net.
d1bc0e528 ve.init.Target: Make sure surface exists before setting padding

Bug: T321604
Change-Id: Ic6886f04509540e2eed45f0e35856e75a9eb394d
2022-10-26 00:59:09 +02:00
Translation updater bot acb3ef1227 Localisation updates from https://translatewiki.net.
Change-Id: Id6d1aa62f4b9b6b430d68066913d2b7e593658b5
2022-10-25 08:25:12 +02:00
Jon Robson 131d6a247d Add further debugging information
I would really like to get to the bottom of this :)

Bug: T314952
Change-Id: Icd227fc54f3bc16d5ce84c419b69344ca0d21f28
2022-10-25 00:45:44 +00:00