Commit graph

5240 commits

Author SHA1 Message Date
Translation updater bot 848571d1f8
Localisation updates from https://translatewiki.net.
Change-Id: I366105614097cda52d73c9ee592ef2b63ec84e12
2024-11-22 08:41:03 +01:00
Isabelle Hurbain-Palatin 5c48186329 Replace uses of deprecated ParserOutput::getText()
Bug: T293512
Change-Id: I32ffc6c0e36095fccddde0af988fc692ae530f01
2024-11-21 18:49:12 +01:00
Translation updater bot 1ec44a7b60
Localisation updates from https://translatewiki.net.
Change-Id: I69382c2d191ee8a8c3451f8131531289ca124147
2024-11-20 08:25:13 +01:00
Translation updater bot bb75737fad
Localisation updates from https://translatewiki.net.
Change-Id: If29ab3ca62f62ec96c72996e884898933058039b
2024-11-19 08:17:29 +01:00
libraryupgrader 894e560ffe build: Updating cross-spawn to 7.0.6
* https://github.com/advisories/GHSA-3xgq-45jj-v275

Change-Id: I214dce473492642e69a7a9e8495456b2e737c304
2024-11-19 05:39:31 +00:00
Isabelle Hurbain-Palatin d3f85b16c5 Only display the first occurrence of an error
It can happen that an error is reported multiple times for a given
reference. In this case, we only display one.
We still display different errors if a reference contains multiple
different errors. This behaviour is differs from the legacy parser's
(so, in this case, we add the category
cite-tracking-category-cite-diffing-error), but not from the legacy
parser's desired behaviour, as hinted by the various comments and TODO
in this area.

Bug: T380153
Change-Id: I9b3d5cbd086fc72c66a2afbae8f92297681989ce
2024-11-18 13:54:56 +01:00
Translation updater bot 87ae1a1de0
Localisation updates from https://translatewiki.net.
Change-Id: I99800d338449c1dece3915f0fa0467404f05ea70
2024-11-18 08:23:16 +01:00
jenkins-bot aea41f900f Merge "backlinks.cy.js: Disable flaky test" 2024-11-15 21:20:04 +00:00
jenkins-bot 2446419b9d Merge "Re-enable duplicated fragment parsoid tests after parsoid release" 2024-11-15 19:57:33 +00:00
C. Scott Ananian a5aeba739e Resolve PhanTypeMismatchArgumentNullable after tweak to StatusValue::newFatal
The type hints added in I3e0df790ff9db2fa630f82408a7254a359fe61ca
were sufficient to allow phan to detect that we were possibly passing
a null value in one instance.  The other instance was a false positive.

Follows-Up: I3e0df790ff9db2fa630f82408a7254a359fe61ca
Change-Id: I3bacc2aff3d36719133554a8f70d50a3790b84e4
2024-11-15 14:25:10 -05:00
Kosta Harlan 724b367f86 backlinks.cy.js: Disable flaky test
Depends-On: I3bacc2aff3d36719133554a8f70d50a3790b84e4
Bug: T368267
Change-Id: I7344e51348f32b2fdf541e59df7e74af85425fa0
2024-11-15 19:24:16 +00:00
C. Scott Ananian 3b58123bfa Re-enable duplicated fragment parsoid tests after parsoid release
Follows-Up: Ibf8656ab344ed79b3740f3b98e96ff4353375b62
Depends-On: Ia201767111872158149ad805f415fe1fbe9fa70e
Depends-On: I3bacc2aff3d36719133554a8f70d50a3790b84e4
Change-Id: I67c84a8d02e0412f0dbb3f2fd37c1430dbf24246
2024-11-15 19:22:24 +00:00
jenkins-bot 1fa7271beb Merge "Use DOMCompat::getFirstElementChild() now that it is available from Parsoid" 2024-11-14 11:05:15 +00:00
Translation updater bot 5e98864ded
Localisation updates from https://translatewiki.net.
Change-Id: I9333cbbf35ad95b65600c4b19a0f4de0ebc396b7
2024-11-14 08:19:04 +01:00
jenkins-bot 3e9b720f36 Merge "Update output for Parsoid change" 2024-11-13 16:54:34 +00:00
Translation updater bot 4607959e00
Localisation updates from https://translatewiki.net.
Change-Id: If72fc0553384be3011397ff280df63dee0d440c3
2024-11-13 08:24:38 +01:00
Arlo Breault 396144b402 Update output for Parsoid change
Tests are disabled until the next Parsoid tag.

The rearranged failure looks like it started in
Ifeb3b216e898bec1c3eb5917262820c5809fda45

Needed-By: I9a2f75ea137a8a10842191ad0ea3e92eab41202c
Change-Id: Ibf8656ab344ed79b3740f3b98e96ff4353375b62
2024-11-12 18:20:07 -05:00
jenkins-bot 6c92ce560b Merge "Remove redundant embedded attr processor" 2024-11-12 17:30:37 +00:00
Arlo Breault 20a1448e59 Remove redundant embedded attr processor
Use the standard one defined for processAttributeEmbeddedHTML by these
extension tags.

Change-Id: I47a713a8536ddc57a32842afcd40f36854533ab4
2024-11-11 20:17:21 -05:00
C. Scott Ananian 87d4d23737 Use DOMCompat::getFirstElementChild() now that it is available from Parsoid
There is only one child, so first/last element child are the same, but
it's a little less confusing to use 'first' here.

Follows-Up: Ifeb3b216e898bec1c3eb5917262820c5809fda45
Depends-On: I753bbbfaf99fb486384b0fa97de71159abb504b3
Change-Id: I65873c117cbd3e1d6efd82797c7b49bf707f5c3a
2024-11-11 17:29:50 +00:00
Translation updater bot 325269c129
Localisation updates from https://translatewiki.net.
Change-Id: Ie1e094e2c71d3f4c08bed4c8d6de99f2ac802b30
2024-11-11 08:22:04 +01:00
jenkins-bot 056e98a277 Merge "Display Cite error messages in Parsoid" 2024-11-09 03:10:22 +00:00
Translation updater bot b440abc913
Localisation updates from https://translatewiki.net.
Change-Id: If50366541ce92dbe4819626e2b3fe7478734c5c5
2024-11-08 08:28:15 +01:00
Isabelle Hurbain-Palatin dd6587c426 Display Cite error messages in Parsoid
Bug: T372709
Depends-On: Ieed7b5a18f5223c7b8a2918df88790d4dc305f9d
Change-Id: Ifeb3b216e898bec1c3eb5917262820c5809fda45
2024-11-07 13:42:55 +01:00
Translation updater bot 3de7bf6a2a
Localisation updates from https://translatewiki.net.
Change-Id: Ie1923ae70b1c53585cedca5d0762235ab0b32295
2024-11-07 08:18:21 +01:00
Arlo Breault 6b156870bd Update knownFailures after normalization in core
A result of I0d56b60abb78e37d539267f744afb52c092cb997

Change-Id: I4523811e0563922e3f2458f2843ba76bcb904390
2024-11-06 18:01:04 -05:00
Translation updater bot 68c01b51cf
Localisation updates from https://translatewiki.net.
Change-Id: Ic7081f8c4b54a267f5a0d3da81f86d12740313aa
2024-11-06 08:21:50 +01:00
Translation updater bot f3d6ae2937
Localisation updates from https://translatewiki.net.
Change-Id: I21bedb489bdeb94a29576eddd61a673bcdd3bfa1
2024-11-05 08:31:49 +01:00
jenkins-bot 2a94337b79 Merge "Add a tracking category for cite errors that trigger a visual diff" 2024-11-04 17:16:29 +00:00
Translation updater bot 37f473d68a
Localisation updates from https://translatewiki.net.
Change-Id: Ib8fbc904274ab107b1c50015ff44ab58805cce5c
2024-11-04 08:21:10 +01:00
libraryupgrader 84f8152cdb build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Change-Id: I607ffbb2bfd559375bce540c3a696556eb3921ef
2024-11-02 04:11:18 +00:00
Arlo Breault 123c6bee9d Re-enable tests after CI dance
"cite_references_link_many" message unconditionally includes an id
attribute, even if empty.

Follows-Up: Iec3c919ed1ea51acef9efabe979bd8d0feaf651a
Depends-On: I3c547f5524530e976eb7aa960751265c8383f7b4
Change-Id: I9d3f660788fab9af7bdc8c1fa093a9a7912da2ad
2024-11-01 15:35:01 -04:00
Arlo Breault 7fdeefede5 Temporarily disable some tests for CI dance
Re-enabled in I9d3f660788fab9af7bdc8c1fa093a9a7912da2ad

Needed-By: I3c547f5524530e976eb7aa960751265c8383f7b4
Change-Id: Iec3c919ed1ea51acef9efabe979bd8d0feaf651a
2024-11-01 15:34:25 -04:00
jenkins-bot b0bb7c878a Merge "[cypress] Always wait for the Citoid inspector" 2024-11-01 12:57:53 +00:00
jenkins-bot b662067c2c Merge "Also count sub-ref re-uses when getting total usages" 2024-11-01 10:12:27 +00:00
WMDE-Fisch 4a1e04e7c4 [cypress] Always wait for the Citoid inspector
The application logic is not quite ready even if the inspector is
shown. So we should always wait before clicking there.

Change-Id: If81dfb676b6a25c9eba0711e774ae45b3988bca2
2024-11-01 10:47:55 +01:00
jenkins-bot c9ab25159a Merge "[cypress] Re-enable flaky test" 2024-11-01 09:41:39 +00:00
WMDE-Fisch 76aa5d9cb4 Also count sub-ref re-uses when getting total usages
Bug: T373023
Change-Id: I12a37be8a1e26d25b152eb929f41188675e35038
2024-11-01 10:38:46 +01:00
Translation updater bot 1f8dc1d414
Localisation updates from https://translatewiki.net.
Change-Id: Iac0e9ef78da53c538372252d60dfbc8a9a994234
2024-11-01 08:35:12 +01:00
Adam Wight e4e6b59306 No-op wiring to get ref "extends" into Parsoid
This doesn't change behavior yet, it's pure wiring to make the
attribute available to Parsoid logic.

Bug: T378567
Change-Id: I6182b601f6fee66a9c32d5006d0a36150eb47e7f
2024-10-31 13:20:02 +01:00
Adam Wight 373ed01123 Parsoid wiring for footnote mark formatting
After this patch, Parsoid-rendered pages will include the same
footnote markers as the legacy parser for custom group markers.

The divergent CSS implementation is left intact, for a soft migration.

Bug: T377454
Change-Id: I576dfff4155fb8c2f91ef0d28a65b319aa5bbb07
2024-10-31 11:16:49 +00:00
Adam Wight 1af67c0416 Prematurely move References test to integration
This isn't needed until patch I576dfff415, but is split into a
predecessor to keep the test and logic changes obviously separate.

Bug: T377454
Change-Id: Iff4a96be77af53a71a1ebe179f31bcc214182bfe
2024-10-31 11:16:33 +00:00
Adam Wight 60fbb32c1a Split apart mark formatting into a simpler labeler
The new mark label renderer is a service and can be called from
Parsoid.

Bug: T377454
Change-Id: I6f4983c4288bf29954ad4e5fa3309f9bdf48215d
2024-10-31 11:16:13 +00:00
jenkins-bot 141b18277d Merge "Expose the footnote mark formatter label method" 2024-10-31 10:41:52 +00:00
WMDE-Fisch 442394cec9 [cypress] Re-enable flaky test
Issues should be solved.

Bug: T377666
Change-Id: If43635a7ff035c95394503e7a2da3d9d53aee2cd
2024-10-31 11:16:41 +01:00
WMDE-Fisch 58d1880ae8 [cypress] Streamline the WT2017 tests
Using a bit more methods from the utils to reduce duplication.

Bug: T373787
Change-Id: Iead8ac8ba18370414dda16270c9b26f9c15db743
2024-10-31 07:49:29 +00:00
WMDE-Fisch d341b3f4fc [build] Update Cypress library to 13.15.1
Change-Id: I6271660b62b536b6db8da4d8aa2b704020bef403
2024-10-31 07:49:19 +00:00
WMDE-Fisch 5f6403b7bc [cypress] Focus the surface at least once before testing WT2017
Intended as workaround to make sure that the temp account notice is
closed before opening Citoid. But does not hurt in any case I guess.

Bug: T378537
Bug: T378417
Bug: T377666
Change-Id: I4c3bf156cbb7306eda924bcebc2fbed3b5864f8a
2024-10-31 07:49:09 +00:00
Translation updater bot 866ae77e0a
Localisation updates from https://translatewiki.net.
Change-Id: Ieb3996c60ec112d0c86000ebffff02d75332dce8
2024-10-31 08:15:30 +01:00
Kosta Harlan 5600b1fc47
wt2017Integration.cy.js: Disable flaky test
Bug: T377666
Change-Id: I34de82574e172359a334e8e8c4ef7382a92e5509
2024-10-30 20:05:39 +01:00