Commit graph

586 commits

Author SHA1 Message Date
Bartosz Dziewoński 6e2ce16be0 Fix Phan suppression
The SecurityCheck-XSS violation occurred because, in renderFeed(),
the $renderedFeed variable contains both wikitext (tainted) and
HTML (safe) at different points in the function, and Phan is unable
to disentangle that. Splitting it into two variables allows Phan to
validate the rest of the code just fine.

Change-Id: I4da446b869349f06fc0fc40816d44cee390c49a6
2024-09-19 07:45:02 +02:00
Umherirrender 2cc29f25a0 Add missing documentation to class properties
Add doc-typehints to class properties found by the PropertyDocumentation
sniff to improve the documentation and to remove the exclusion of the
sniff.
The activated sniff avoids that new code is missing doc-typehints or
real-typehints.

Adding a @var type to RSSData->items triggers a SecurityCheck-XSS issue by phan, but all is dealing with wikitext when building the items, so that looks like a false positive

Change-Id: I4f1d17372d62f02fe7447f5bf5e75b9471d7a338
2024-09-14 07:41:14 +00:00
Translation updater bot 32b1a25768
Localisation updates from https://translatewiki.net.
Change-Id: I541f04df77aee4edd885fccde467dc941692171b
2024-09-09 09:23:00 +02:00
Translation updater bot c1c6d799ae
Localisation updates from https://translatewiki.net.
Change-Id: Ia2cdd487fd3fd3a1f20fe7ac0bd6961d8961ee77
2024-09-04 09:16:49 +02:00
libraryupgrader 1fc648951c build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I9d8b8423526604e57f1a3451e69ace01ffdf8df1
2024-08-30 03:36:49 +00:00
jenkins-bot 3437e5fcc6 Merge "build: Update MediaWiki requirement to 1.43" 2024-08-24 13:00:42 +00:00
Translation updater bot 50e34d1572
Localisation updates from https://translatewiki.net.
Change-Id: I838075af9be03370c4988624bb36b475e4aab9e1
2024-08-23 09:46:57 +02:00
James D. Forrester d7587e4add build: Update MediaWiki requirement to 1.43
All extensions in Wikimedia production are expected to track MediaWiki's release directly.

Change-Id: I75b243a39cf042a8e718fff736fde7b0ff3db9c5
2024-08-22 18:07:22 -04:00
Translation updater bot 8660046696
Localisation updates from https://translatewiki.net.
Change-Id: I79fde601b33e3034322ad3f9df387ab1407ab9b1
2024-08-21 09:23:56 +02:00
Umherirrender c4074eab33 Removed unused $error property from RSSParser
Change-Id: I2b731fd3f56ce9f876bf0b4724328ef0a424f802
2024-08-20 21:17:39 +02:00
Translation updater bot 5e09d619b9
Localisation updates from https://translatewiki.net.
Change-Id: I31857a28166a3b573b39686713a22c78a8f607f3
2024-08-20 09:44:08 +02:00
Translation updater bot 7957c156e1
Localisation updates from https://translatewiki.net.
Change-Id: I9b690739a76992fc32ceb1836eb4452c1296d4a1
2024-08-19 09:24:41 +02:00
Translation updater bot 1a12adbfae
Localisation updates from https://translatewiki.net.
Change-Id: I67ec193d89ded52c633ad61574057318bddd1456
2024-08-16 09:29:15 +02:00
Translation updater bot 1fcf5ce0d6
Localisation updates from https://translatewiki.net.
Change-Id: Ia0588baa75cc96e8caae60c0f01545ee074bcf13
2024-08-15 09:20:58 +02:00
Translation updater bot 52d588a7ed
Localisation updates from https://translatewiki.net.
Change-Id: I9c0da15f4da959a02f3e2fa3a85272f5768b2cd3
2024-08-14 09:23:30 +02:00
Pppery 5c32b4c0a6 Rename tracking category for consistency
Bug: T347324
Change-Id: Ia7f41950aff058846d4c98215add5319bea350c1
2024-08-12 22:35:36 -04:00
libraryupgrader 9097ad3469 build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: I2a15bec15c82239962c9fe74760d5159014e9fae
2024-08-12 03:35:27 +00:00
Translation updater bot 1da973843a
Localisation updates from https://translatewiki.net.
Change-Id: I2c87bbeabf0ee7452fcea4c5b75688793d817a53
2024-08-01 09:18:49 +02:00
Translation updater bot 4afb907d22
Localisation updates from https://translatewiki.net.
Change-Id: Ifd91652b39e9283c2db6d39ed4b70d1d7fc45713
2024-07-29 09:28:14 +02:00
libraryupgrader 2cd2cccdf2 build: Updating eslint-config-wikimedia to 0.28.2
Change-Id: Iac43261ad6c96a3c4ac275d885f64bab76521f71
2024-06-21 16:49:56 +00:00
Translation updater bot 3d4f3a599f
Localisation updates from https://translatewiki.net.
Change-Id: Iab9a6981efd665f1fbb5849506db3ef5ce306390
2024-06-17 09:32:31 +02:00
libraryupgrader 6139d5350d build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: Iccef438522f221a29e114bd4446b4c6a402ff4d1
2024-06-12 13:10:36 +00:00
Umherirrender 7b4ff5e4cb Use namespaced Parser class
Change-Id: Ie4e85e4a8cd967fe3293555d2de92e9e5a79d0c8
2024-06-10 20:17:47 +02:00
libraryupgrader d40f2c6d03 build: Updating eslint-config-wikimedia to 0.28.0
Change-Id: I45eda4b082e35a69ef40a57bbd7f89c29c447640
2024-06-08 11:53:23 +00:00
libraryupgrader c25dd179a7 build: Updating grunt-banana-checker to 0.13.0
Change-Id: Ice1d3cedecd10103fb437c27f58962eec1a8c880
2024-05-19 00:08:16 +00:00
libraryupgrader 02315b0204 build: Updating grunt-banana-checker to 0.12.0
Change-Id: I0b116ecbdb26ebdc01526d74e1469bed66201351
2024-05-10 21:42:36 +00:00
libraryupgrader b2f3fbdb19 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: If0768ea59f0b035abd1b1d9e2452cca317ad97f1
2024-05-06 01:20:50 +00:00
libraryupgrader 473eafc4d9 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I10ea1a9d44fb927106678d92ade5ea4e3c2eb951
2024-04-18 03:00:53 +00:00
Translation updater bot cb6d686022 Localisation updates from https://translatewiki.net.
Change-Id: Ia6c89cad2bf261eb9ab4d11f3499b831b4f4ed2c
2024-03-26 08:20:40 +01:00
Translation updater bot 1bda5d39a8 Localisation updates from https://translatewiki.net.
Change-Id: I5e172f06e2068685063129480e99248bed612a8e
2024-03-20 08:24:27 +01:00
Umherirrender 29503101e5 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I14948431331e02e0659e80b159f4b2e0ed0469ef
2024-03-11 22:44:41 +01:00
libraryupgrader f55f0b7785 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: I7c9fec46396aed0d81325a1ca0218917ae9890d4
2024-02-10 13:10:22 +00:00
libraryupgrader 728432ab7a build: Updating npm dependencies
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: I4e39d95c5bfeeff67f22ab3f32d3de8d08f15e5d
2024-02-09 10:55:29 +00:00
Translation updater bot 374ee1ffc4 Localisation updates from https://translatewiki.net.
Change-Id: I9aafeef19f9d5bcda67d6aa63f7973987ed7d024
2024-02-05 08:50:24 +01:00
libraryupgrader 237d29b91b build: Updating npm dependencies
* eslint-plugin-compat: 4.0.2 → 4.2.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* semver: 7.3.5 → 7.5.4
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* word-wrap: 1.2.3 → 1.2.5
  * https://github.com/advisories/GHSA-j8xg-fqg3-53r7

Change-Id: I5b07616febca6ffd32d93d50b989bd0cfb4ad75e
2024-02-04 09:25:41 +00:00
James D. Forrester 949d4fb676 build: Update MediaWiki requirement to 1.42
All extensions in Wikimedia production are expected to track MediaWiki's release directly.

Change-Id: I7b3cdc7e3dab6763f7f8aaf9a80738b3c039a7a0
2024-01-12 18:16:41 -05:00
Umherirrender a7c9a664b8 Use namespaced classes
Done automatically via script

Change-Id: I960cc93c19639202cdb63c5b0b00bfc468abb37e
2024-01-05 21:23:30 +01:00
Translation updater bot 073d8c9ec0 Localisation updates from https://translatewiki.net.
Change-Id: I9455d01df9d5cdae8d39fff377d0ef7478a901ba
2023-10-24 09:38:29 +02:00
Translation updater bot 6d7bf4fbc9 Localisation updates from https://translatewiki.net.
Change-Id: Iae79f7dc8d1520606d0d7593e0533bdd4be5c79b
2023-09-25 08:46:51 +02:00
Umherirrender 4f661bfde7 Use HookHandlers for core hook
Remove optional return value from hook handler

Bug: T346497
Change-Id: I8c38733c5edebf7b3a49edd33474b7c1aa755659
2023-09-17 16:21:43 +02:00
Translation updater bot c7162667a1 Localisation updates from https://translatewiki.net.
Change-Id: Ib67506725fbde491a1075f691292bce2a14fe8a3
2023-08-28 09:30:46 +02:00
gerritbot f17d634c2d Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: Ib0f9ab508739dd0633bcf0172434d24ae061a414
2023-08-19 12:36:13 +00:00
James D. Forrester f7fc64716b build: Update MediaWiki requirement to 1.41
All extensions in Wikimedia production are expected to track MediaWiki's release directly.

Change-Id: I99ff80b882443ce74fcbd53df548156320d221d7
2023-08-19 14:02:38 +08:00
Translation updater bot e451d96904 Localisation updates from https://translatewiki.net.
Change-Id: I1bc7f698f547a0a5da23d5162c72027f5e40759f
2023-07-24 09:39:27 +02:00
libraryupgrader fdd563f243 build: Updating grunt-banana-checker to 0.11.0
Change-Id: I2d2ac9650f31a2f57818e51ca361aa2a08f0c215
2023-06-02 01:27:50 +00:00
Translation updater bot 896d2b152e Localisation updates from https://translatewiki.net.
Change-Id: I0a16c9bfa63457a112485817807d4d95afed276f
2023-05-22 08:46:26 +02:00
libraryupgrader 5c45746e22 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Iee1e07ce0149ae2295e5ef910784698c39b61152
2023-05-05 10:29:39 +00:00
libraryupgrader c6311b0b54 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: I169af97ede2f890b9050dc265fc46ee76aa20522
2023-04-29 09:42:23 +00:00
Translation updater bot 2e225c21b7 Localisation updates from https://translatewiki.net.
Change-Id: I9bac6de211289ad840864dc35d00ee54b30ad18f
2023-04-19 08:27:29 +02:00
libraryupgrader ed463199a6 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: I1aa2db2ad23bd503f3151eaf2ff6146f11a7e509
2023-03-15 22:41:19 +00:00