Commit graph

5251 commits

Author SHA1 Message Date
mareikeheuer 8da1ac8bcd Disable Cypress backlinks tests temporarily for Qunit conversion
Once the Qunit tests are done, the file can be deleted

Bug: T368267
Change-Id: I564f7a9cfa606d5ab4759682ec6084f9c59a7923
2024-12-03 11:28:24 +01:00
Translation updater bot f3b5bb9c5d
Localisation updates from https://translatewiki.net.
Change-Id: Icdbb78450b6d6d1acf7944f42abc7e63f3d18bcf
2024-12-02 08:21:34 +01:00
libraryupgrader e6040dd079 build: Updating jsdoc to 4.0.4
Change-Id: I04c0f6f0d2319182fab8b18e5ead9ff09851f5ff
2024-12-02 00:47:51 +00:00
jenkins-bot ca4746ae74 Merge "Revert "Normalize ref html before comparison"" 2024-11-27 17:28:12 +00:00
C. Scott Ananian 4ecb325052 Revert "Normalize ref html before comparison"
This reverts commit 91316d49c2.

Reason for revert: Caused T380977 when Remex was given math
content to normalize.

Change-Id: I6d7585a990322b5c8e2a6886b9cd05a556c501ad
2024-11-27 17:04:56 +00:00
Translation updater bot 8480d12c6e
Localisation updates from https://translatewiki.net.
Change-Id: If4e19031e0d3af9c3317cba6300005ee935e758d
2024-11-27 08:20:00 +01:00
Translation updater bot 40b7673dea
Localisation updates from https://translatewiki.net.
Change-Id: I13eb383c5f97dfde60054ef67b6b27e167990b11
2024-11-26 08:16:21 +01:00
Arlo Breault 63f8631298 Remove no longer relevant comment
In I3b82aea975ed84c7410e57e19e83c508554e1b05, it was determined that
this edge case is not going to be supported.

Change-Id: Ia2ea80fc55af9f1e7e9a475afd730315ae6715cd
2024-11-25 15:39:49 -05:00
jenkins-bot e23ae99870 Merge "Normalize ref html before comparison" 2024-11-25 18:13:45 +00:00
Translation updater bot f5f7d52984
Localisation updates from https://translatewiki.net.
Change-Id: I4f38ae86d2ce37e6d1ea0432ceed4f3c1b8c6070
2024-11-25 08:22:47 +01:00
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
Isabelle Hurbain-Palatin 91316d49c2 Normalize ref html before comparison
If the ref generated HTML contains attributes such as data-parsoid or
about, the string comparison fails, and two references that have the
same content end up being seen as different.
This patch filters out data-parsoid and about attributes from the
generated HTML.

Bug: T380152
Change-Id: I4c201c469d21ff9cb54f746386ce53b8d636361d
2024-11-19 14:01:00 +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