Commit graph

880 commits

Author SHA1 Message Date
libraryupgrader 4b2967fea8 build: Updating cross-spawn to 7.0.6
* https://github.com/advisories/GHSA-3xgq-45jj-v275

Change-Id: If77a58dc7932cfe0be38d7cec44c67ab4faccd92
2024-11-21 03:41:13 +00:00
libraryupgrader 07996568f2 build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Change-Id: Ia8bbbd10a48f282e2756d17892073df2dcb8f572
2024-11-02 14:23:15 +00:00
jenkins-bot cb36d89b27 Merge "Re-enable temporarily disabled data-mw-i18n tests" 2024-10-28 21:06:44 +00:00
C. Scott Ananian 1e8aacfa27 Re-enable temporarily disabled data-mw-i18n tests
Depends-On: I84296d802382131b47fda097878df43e2f6f46ff
Depends-On: I4293e4003d2447a074a900905114d6d118d6276e
Change-Id: Iab7b89c83d0868f4dd52ae9b56aff4863d32dc09
2024-10-28 17:13:43 +00:00
jenkins-bot 262d3d6fd1 Merge "Update data-mw-i18n tests and temporarily disable them" 2024-10-25 22:17:53 +00:00
Umherirrender c6023ed58c Use namespaced Xml class
Change-Id: I1cc4f8a077621d5c4af9ffc82f139b3a3a8bb69d
2024-10-20 01:20:58 +02:00
Translation updater bot 55456bb0b6
Localisation updates from https://translatewiki.net.
Change-Id: I6edb91c46906041653aaeaae0d2bb0222d977120
2024-09-23 09:21:42 +02:00
jenkins-bot 4e874612c4 Merge "build: Update MediaWiki requirement to 1.43" 2024-08-24 12:40:15 +00:00
libraryupgrader 98449400c7 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I3f3e4ed5bcd112cdc40eb56390fab653d317a776
2024-08-24 05:52:19 +00:00
James D. Forrester f03459edc1 build: Update MediaWiki requirement to 1.43
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Ia9974336306d108afcb1d1395e294cca27ec4a41
2024-08-22 17:25:07 -04:00
libraryupgrader f43fa57fb8 build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: I519c44c4e60ff654f6690a338ad89a46db2c6572
2024-08-11 13:55:34 +00:00
Translation updater bot 445065dcea
Localisation updates from https://translatewiki.net.
Change-Id: I22ad8bf883d9e19a89f1a7b8f9040955c8d4ba69
2024-08-05 09:25:10 +02:00
Translation updater bot ef02a1ba1b
Localisation updates from https://translatewiki.net.
Change-Id: I32e935b2280646802359b5b73612814a0257727c
2024-07-25 09:19:17 +02:00
Translation updater bot 26b1835d24
Localisation updates from https://translatewiki.net.
Change-Id: I71624990adda4a6c8727b8d06d6babeb8ac3e177
2024-07-16 09:40:24 +02:00
libraryupgrader ef30c830a1 build: Updating npm dependencies
* eslint-config-wikimedia: 0.28.0 → 0.28.2
* grunt-stylelint: 0.20.0 → 0.20.1
* stylelint-config-wikimedia: 0.17.1 → 0.17.2

Change-Id: I0f404442d7493078b75115bd6b488ee2f81d2a13
2024-06-21 01:50:19 +00:00
Translation updater bot 5a2901f0f0
Localisation updates from https://translatewiki.net.
Change-Id: Ica5f3ec29771102e6f4d938046afe495dbc14527
2024-06-17 09:31:21 +02:00
C. Scott Ananian 37bbc1c96b Update data-mw-i18n tests and temporarily disable them
The useless `"params":null` parameter will be removed by
I84296d802382131b47fda097878df43e2f6f46ff.

Change-Id: I7168a46dbfdf7fbebd376aaac6da574291eb7a88
2024-06-15 11:11:31 -04:00
Umherirrender 4fc3c8fc7b Use namespaced Parser class
Change-Id: Ibbd84c533498a4a99a76569f4c362964bb3489fb
2024-06-09 11:41:27 +02:00
Subramanya Sastry 118a50dfc1 Update Parsoid test output to reflect changes in Parsoid
Depends-On: I2a61e78171bd892f1835acf585259ce11e68d81d
Change-Id: Ia1d1c9df80bd1374eb927cc7465e9dade13a725b
2024-06-07 17:58:27 -04:00
Arlo Breault 87bbbeeda0 Temporarily disable tests involving i18n output
Until I2c36b9ae9e13f7a21cec35a47404a62bff69090b makes it into vendor.

Change-Id: Ie586ab2cba0427a6e4ed71f2077fee9afd837947
2024-06-07 17:48:18 -04:00
libraryupgrader 1a308c59e9 build: Updating npm dependencies
* eslint-config-wikimedia: 0.27.0 → 0.28.0
* grunt-stylelint: 0.19.0 → 0.20.0
* stylelint-config-wikimedia: 0.16.1 → 0.17.1

Change-Id: I24e0d568023e4b41a6fd037916f71af533d1c921
2024-06-07 05:07:36 +00:00
libraryupgrader d3c90003e8 build: Updating grunt-banana-checker to 0.13.0
Change-Id: I253dca765af262a61a3671114e01234439d8db28
2024-05-18 12:51:34 +00:00
Translation updater bot b0f6698221 Localisation updates from https://translatewiki.net.
Change-Id: Ia71d56ea3a3c8b8b46f726e9827e8b03750bee45
2024-05-14 09:26:27 +02:00
Translation updater bot 8875335ab2 Localisation updates from https://translatewiki.net.
Change-Id: I97ec354cf812aab8e06fbd7d2d47965805c3b9af
2024-05-13 09:27:19 +02:00
libraryupgrader 003e2ec7e9 build: Updating grunt-banana-checker to 0.12.0
Change-Id: Ie2bf73d4de739fed50b48de41e9f21c3ea3360f8
2024-05-10 11:27:34 +00:00
libraryupgrader 17f9322dd5 build: Updating composer dependencies
* mediawiki/minus-x: 1.1.1 → 1.1.3
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

Change-Id: Iee3bb053c391ad787e932686efc1f6bde79c0350
2024-05-05 20:11:09 +00:00
libraryupgrader 7c9a3ebd35 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I0a1b4b37229b9528803f9da2f780d3f1e18fadce
2024-04-19 21:17:44 +00:00
Translation updater bot f1d3fb56e2 Localisation updates from https://translatewiki.net.
Change-Id: Ibfd95b104978a90f796b4452ac0fac847f1b4e14
2024-03-21 08:55:33 +01:00
Umherirrender b2463a3c11 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I4ca71737ae99fe58139f9e9e69129c83334c502b
2024-03-11 19:24:14 +01:00
Arlo Breault 0c88ab1abd Use Parsoid's extension API's getExternalLinkAttribs
Depends-On: I31a8c6a9bb2741899d5445c3457fd424e283397b
Change-Id: Iaf8531a37e8d9d3ce1bece9ab3086e5967dca08f
2024-03-04 18:00:04 -05:00
jenkins-bot 4b0aa6c502 Merge "Revert "Filter out null external link attributes"" 2024-02-16 16:19:19 +00:00
Gergő Tisza b5f8605406 Revert "Filter out null external link attributes"
This reverts commit 760641e180.

Reason for revert: it was a quick fix, has been fixed properly in core
instead in I907c22ef070616d81b9a50b0e807a7b8f78b59b5.

Bug: T357668
Change-Id: I4ec440c1e326419a8be5457b79c5374316755a53
2024-02-16 15:34:54 +00:00
Arlo Breault 4d19d19f1d Fix matching external link rel
Introduced in I8d7bdf1bccc869b4dc17058a5822ef34968471e6

Change-Id: I52a8a993fbdd4058d40f4aeac3df37e90e686f3e
2024-02-15 21:24:59 -05:00
Gergő Tisza 760641e180 Filter out null external link attributes
Follows up If4880e4e0b3cd2056521d44baf261ed848511bcd.

Bug: T357668
Change-Id: Ifec733a923f193b72eaba9a1e604ad4e56c0aef2
2024-02-15 21:24:59 +00:00
libraryupgrader 466e3ce2ec build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* grunt-banana-checker: 0.11.0 → 0.11.1

Change-Id: I2204fa77216852b0bf7ac4fa06d307c71a9cc848
2024-02-10 18:27:20 +00:00
libraryupgrader b1416cfc76 build: Updating npm dependencies
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: I274a7f1547729a741965b467ba3ba8fa3bc525e2
2024-02-09 05:25:38 +00:00
Alexander Mashin 754b722c56 Set target to $wgExternalLinkTarget
Set hyperlink 'target' attribute to $wgExternalLinkTarget.

In addition, set the 'rel' attribute according to the
$wgNoFollowLinks, $wgNoFollowDomainExceptions
and $wgNoFollowNsExceptions settings (bug T186241).

Bug: T356730
Change-Id: If4880e4e0b3cd2056521d44baf261ed848511bcd
2024-02-06 16:09:32 +07:00
Translation updater bot 0cf105323f Localisation updates from https://translatewiki.net.
Change-Id: I56a48cbfc7c34de3044b02a364e967159c19bd20
2024-02-05 08:49:52 +01:00
Translation updater bot 3f7960b7e9 Localisation updates from https://translatewiki.net.
Change-Id: I2ea9ff0830523a1da7f83c400bf71674a6b2985d
2024-01-28 16:06:59 +01:00
James D. Forrester fd6cd0530f build: Update MediaWiki requirement to 1.42
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I5df892bb548071abe6b64374692d90cc5e1d1436
2024-01-12 14:11:36 -05:00
Subramanya Sastry 655ea71656 Use the namespaced versions of some class names (vs aliases)
Change-Id: Idc350cfc4ece2eaa73f8cd2a0a97b839d4caf37e
2024-01-02 13:50:14 -06:00
Translation updater bot 590c939e9b Localisation updates from https://translatewiki.net.
Change-Id: I2bac810a0a86a0762b51cabef0b23b61901eb560
2023-12-22 17:46:09 +01:00
Translation updater bot d70c486cfb Localisation updates from https://translatewiki.net.
Change-Id: I27ffb77a17a6529bd7ad0018cd64fe37bc856af1
2023-12-04 09:04:29 +01:00
Umherirrender 4113b90e4c build: Run stylelint for less file
Since b2113e01 a less file exists

Change-Id: I77bbbb2dbbc9dba3ce5858fe5e0732e11ba803e5
2023-11-28 20:53:38 +01:00
jenkins-bot 927a41a770 Merge "Temporarily disable tests involving data-mw-i18n output" 2023-10-17 21:27:36 +00:00
Subramanya Sastry 66ec96d6b1 ParsoidImageMap: use wfMessage to localize description types
* The previously failing Parsoid test now passes.

Bug: T311523
Depends-On: Id7d9e82ee4ff20a79ba1a5b2433fa29bc5f76e68
Change-Id: I03115b91fd781b72f0bf2c66cb6c18963a772dab
2023-10-09 12:21:35 -05:00
Subramanya Sastry be9aed5e13 Add a test to verify correct behavior of localized desc types
* Parsoid currently fails this and the failing test has been
  added to the known failure list. A follow-up patch will fix it.

Change-Id: Ic788340ec073b401e3e921339250a2678ea038da
2023-10-09 12:20:08 -05:00
Umherirrender 9b9ef62a4c Remove null fallback from DOMElement::getAttribute
Also set @phan-var to handle nullable parentNode
DOMNode::$parentNode is documented as nullable in php8.1
DOMElement::getAttribute is documented to return string in php8.1
Reported by phan running under php8.1

Change-Id: Ia4abd7bf03bc52d7d4ba2c69738bb90c55d01a2b
2023-10-06 20:08:08 +02:00
C. Scott Ananian 5deb04029e Temporarily disable tests involving data-mw-i18n output
These will be updated in I84296d802382131b47fda097878df43e2f6f46ff
but we need to break a cyclic dependency.

Change-Id: I1842447492361fd9eb870b2573eaa50c51cf24fc
2023-10-06 12:58:18 -04:00
Subramanya Sastry 87731b7e09 Add NOTES.md with a note about the migration of the Parsoid code.
Change-Id: I2698db2fec66dde5eff9e74b71b7fbc2662c22f2
2023-09-27 13:57:58 -05:00