WMDE-Fisch
bb6ad5721b
[refactor] Parsoid: Extract methods when composing a reference
...
Just starting point to give that massive method a bit more
structure.
Bug: T382232
Change-Id: I050cc32220b0f0faac2470afa757c23ee06b1b62
2024-12-16 15:26:16 +00:00
WMDE-Fisch
b43b3546e8
[refactor] Parsoid: Rename and reorder some code for readability
...
Just some random variables I renamed. Mostly writing out what's
shortened. In some minor cases moving declarations a bit so they
are closer to the usage.
More stuff to follow.
Bug: T382232
Change-Id: I2b372f65e548074366652caf477b897fea2eeb0a
2024-12-16 10:54:33 +00:00
Translation updater bot
c2dc9ca49d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia004c79551a54b979c8f05a69bb37ebe6b753f8d
2024-12-16 08:22:04 +01:00
Translation updater bot
6b90628cc6
Localisation updates from https://translatewiki.net .
...
Change-Id: I79df145ce60856aafef063a55e5a73030d59c353
2024-12-13 08:34:47 +01:00
Translation updater bot
482573cd41
Localisation updates from https://translatewiki.net .
...
Change-Id: I78f195ec6af10bd762086bcc9416b39d213d3ba6
2024-12-12 08:16:21 +01:00
Translation updater bot
13fe26aa83
Localisation updates from https://translatewiki.net .
...
Change-Id: I189f33b2fa76b1588e5a8a3e2da6f9509f2ef258
2024-12-11 08:24:28 +01:00
libraryupgrader
ab316aca4a
build: Updating nanoid to 3.3.8
...
* https://github.com/advisories/GHSA-mwcw-c2x4-8c55
Change-Id: I12e87d256b7df0f4917688fa8e1464c1ca5c0e7c
2024-12-11 03:14:51 +00:00
Ed Sanders
0aa60c4853
DiffElement: Fix failing test
...
Wrapper paragraph was fixed by I12117d8843.
Change-Id: I19fe05dc66ad821d8633a85bae088092bd07676c
2024-12-09 18:16:25 +00:00
Translation updater bot
99bd18159b
Localisation updates from https://translatewiki.net .
...
Change-Id: I027ae92e536e877b3795a43d8873a27773821147
2024-12-09 08:21:24 +01:00
Translation updater bot
f1eae90e54
Localisation updates from https://translatewiki.net .
...
Change-Id: I8f633af030143c219e52d1a2093d9bf73ee7e826
2024-12-06 08:16:44 +01:00
Translation updater bot
75bff999a3
Localisation updates from https://translatewiki.net .
...
Change-Id: Iad82780f4e95da5a36b541f5052afb9a77d8d0c6
2024-12-05 08:20:23 +01:00
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