Commit graph

565 commits

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

Change-Id: I266418e022032fe4f70ae83f1bea4dae2a8cc8e3
2024-11-24 07:59:44 +00:00
Translation updater bot 8e3214af83
Localisation updates from https://translatewiki.net.
Change-Id: I5c09ada0159f0577b9205521510c98a5f83dde85
2024-10-31 07:13:19 +01:00
BlankEclair 6363205691 Fix description truncation for <a> and <img>
Language::truncateForVisual() is for plain text strings, while
Language::truncateHTML() is, unsurprisingly, for HTML.

Bug: T32377
Change-Id: Ica171d7c87781801a6634abd6056880bf02f96f0
2024-10-01 09:07:07 +10:00
libraryupgrader dde382b118 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I034dbe7953fe1a197124d60b3a1d064ed41a23db
2024-08-29 00:33:05 +00:00
Translation updater bot 333a70595a
Localisation updates from https://translatewiki.net.
Change-Id: I43c40dfd196b6e78e19a8200be48f3b94fde3d36
2024-08-08 08:10:04 +02:00
Translation updater bot ce17b2cea8
Localisation updates from https://translatewiki.net.
Change-Id: Ied32be5c4f4264233504587cd635673a1f589c48
2024-08-01 07:55:50 +02:00
libraryupgrader 4a37812229 build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: Id40d7b2c2a311348375ca5d8b27ebb4978ae5d00
2024-06-15 20:56:34 +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
libraryupgrader a596213451 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: Ic27dec0f3d9c1394c3dfdc1445d3b8e4657e7483
2023-03-12 09:04:11 +00:00
Translation updater bot b7fbb53ee1 Localisation updates from https://translatewiki.net.
Change-Id: I0e3df0ea968b1fb79444e5e8ba383d7d370307a6
2023-02-06 08:46:00 +01:00
Umherirrender ec3f4fe4c6 Replace deprecated Parser::getFreshParser
Bug: T325959
Change-Id: Idc61f7f6beda4b71959e7e9781861d56a2291f6f
2022-12-27 15:51:54 +01:00
Translation updater bot 1ab96ffeb7 Localisation updates from https://translatewiki.net.
Change-Id: Ia794c614a03c43bf2c779c32f8f4698aa02c0d96
2022-12-15 11:36:40 +01:00
libraryupgrader 103518454b build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
Change-Id: I6c569097fc4683495c9a35c2ba19dbde14aee886
2022-11-16 14:32:44 +00:00
Translation updater bot 6a538a3bb8 Localisation updates from https://translatewiki.net.
Change-Id: Ib4af4320f4c34341e5c428cf469035cd4f2945a2
2022-11-01 08:54:12 +01:00
libraryupgrader 2b55bee2ae build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I9eeff7591a4733f730bf92427fe4d4b54638ef76
2022-10-21 14:32:36 +00:00
libraryupgrader 864ab025f0 build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: I5055f9702c32c98c29dc414c45376a93a638bf35
2022-10-09 09:34:01 +00:00
libraryupgrader d8b1a84bfa build: Updating grunt-banana-checker to 0.10.0
Change-Id: I82064c3b7aef54a0a45265d357859df5630e1dc3
2022-10-07 04:46:27 +00:00
C. Scott Ananian 3e5dd2490c Replace Parser::getFunctionLang() with ::getTargetLanguage()
Parser::getFunctionLang() is being deprecated.  These two functions
have been identical since 7df3473cfea59df53debb7a9eefffed8a7f20fb3
in MW 1.19 (2012) and this extension already requires MW >= 1.38.

Bug: T318860
Change-Id: If5fa696e27e84a3aa1343551d7482c933da0a9b6
2022-09-28 15:55:49 -04:00
Translation updater bot ff950c9436 Localisation updates from https://translatewiki.net.
Change-Id: Idc5bf1cd23dcf6caa5a1976b49ded88ac200d730
2022-09-21 08:29:28 +02:00
jenkins-bot e60a15b947 Merge "Namespace extension" 2022-07-10 01:06:35 +00:00
Translation updater bot 7b70e48070 Localisation updates from https://translatewiki.net.
Change-Id: If5b76942d1745704dbfe5e12eda4afc43da116c9
2022-07-01 08:53:29 +02:00
Reedy 80d1b67f19 Namespace extension
Change-Id: I0894842014e1a73f419c90cf11c8334ac102242a
2022-06-25 20:02:38 +00:00
Translation updater bot b386fefd94 Localisation updates from https://translatewiki.net.
Change-Id: I9f7f8f10187221694fd10360262903e8b95419bb
2022-06-16 09:25:18 +02:00
libraryupgrader abd04d9931 build: Updating grunt to 1.5.3
Change-Id: I236bceb1927d7d23789a6ca3ec7bb8677f865999
2022-05-27 00:05:34 +00:00
libraryupgrader 9f99758927 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* eslint-config-wikimedia: 0.20.0 → 0.22.1
* grunt: 1.4.0 → 1.5.2
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Additional changes:
* Set `name` in package.json.

Change-Id: Ib88ac9261d23f59431e0471a4d6f8a068ed189ce
2022-05-21 10:22:22 +00:00
Brian Wolff d8d1e067bd SECURITY: Prevent XSS from "stripItem" replacement strings in attribute
Previously when $wgRSSAllowLinkTag was true, you could put an
<a> tag containing unescaped ", inside another attribute to escape
from the attribute and create an XSS.

This makes the marker include " and ', so if they are put anywhere
where quotes aren't allowed, the marker will get mangled and not
replaced

Bug: T307028
Change-Id: I2f7827103bdee0ea766b1f5e7040e2a022fcd2f3
2022-04-29 12:08:58 -07:00
gerritbot 0d6929b901 Replace Http::isValidURI with MWHttpRequest::isValidURI
Bug: T305813
Change-Id: I76d143117be4608588f41700f384205d7bbf2052
2022-04-10 23:00:26 +00:00
Translation updater bot 1422cd3def Localisation updates from https://translatewiki.net.
Change-Id: Id0ef4a34132c6310a3681acfe66841b0feade364
2022-04-04 09:35:03 +02:00
Translation updater bot f7e17b245a Localisation updates from https://translatewiki.net.
Change-Id: I75259fe5019559be75efc3663f9a678e3ab6d69d
2022-03-28 08:21:48 +02:00