Commit graph

547 commits

Author SHA1 Message Date
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
Translation updater bot dbfdeaf412 Localisation updates from https://translatewiki.net.
Change-Id: I9060e6d8b609ddd7a4ae3e24c1abf50e161fed3d
2022-03-21 08:15:18 +01:00
C. Scott Ananian fe2388f191 Replace deprecated Sanitizer::removeHTMLtags() with safer ::removeSomeTags()
The minimum required MW version has been bumped to 1.38.

Depends-On: Ic864c01471c292f11799c4fbdac4d7d30b8bc50f
Change-Id: I83923d8b38d33f3638cd53958dd10f257ec21f7c
2022-03-04 14:26:41 -05:00
Reedy 32ec2ae33b Replace usages of Wikimedia\(suppress|restore)Warnings()
Change-Id: I5ef62930f0d4f9522de16b6271f084bc7cc77efe
2022-02-24 21:17:28 +00:00
Translation updater bot 7794f9e6a5 Localisation updates from https://translatewiki.net.
Change-Id: I9d030ca4e476f69c24280f079db3f73b91542181
2022-02-22 08:12:07 +01:00
Alexander Vorwerk 01db40bcc1 Avoid using WikiPage::factory()
WikiPage::factory() is deprecated since 1.36 and should be replaced
with WikiPageFactory::newFromTitle().

Bug: T297688
Change-Id: I20898d956230627d820986a683c20bb487d1083b
2022-02-12 00:43:38 +00:00
Umherirrender 5d653445cf Remove type hint for removed class PhpHttpRequest/CurlHttpRequest
Follow-Up: I978b75827e69db02cbc027fe0b89a028adfc6820
Change-Id: I66244ad1f2751c33a47948c530e6ff9c576b6345
2022-02-12 01:20:00 +01:00
Translation updater bot 26353d0c92 Localisation updates from https://translatewiki.net.
Change-Id: Ia37f5a43fea472d3f4a2ac201eb4004a61c9b5e1
2022-01-17 08:12:50 +01:00
Translation updater bot 37ce6abba7 Localisation updates from https://translatewiki.net.
Change-Id: I922550ec6aaa3ec8ee315261e26553b92cd6d441
2021-11-03 08:21:08 +01:00
libraryupgrader 0805049f02 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Ie4fc9a6db79bf01583357f4aaa34b6e6da0bb90f
2021-10-24 11:43:02 +00:00
Translation updater bot 2a416ed5e1 Localisation updates from https://translatewiki.net.
Change-Id: I1727eb1eb579584866cb0f6e5d64d6440d3b4169
2021-10-18 15:21:06 +02:00
libraryupgrader f57d3ebb3b build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: Ib05ce1ada11ce3fbaf340758a88afed7b5696f7a
2021-10-05 07:21:40 +00:00
Translation updater bot a7dceaf2d6 Localisation updates from https://translatewiki.net.
Change-Id: Ifc1bd3c3e27d5ad4c54f7014701f45b7a18e6c54
2021-09-17 08:45:43 +02:00
Translation updater bot 67e5b8cbd6 Localisation updates from https://translatewiki.net.
Change-Id: I1cab4ba502ac08bd33e391fc7b75d943d29505e9
2021-09-13 08:30:10 +02:00
libraryupgrader 7039afa64f build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I0e1ca4a925edb65d07aa40c9b89b062f5ead2754
2021-09-09 11:25:16 +00:00
Translation updater bot dc3ee0032d Localisation updates from https://translatewiki.net.
Change-Id: I490d69d9b01221ceb9461328d67e22e8a9ca672f
2021-09-02 08:26:41 +02:00
libraryupgrader 37448ac105 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I6020c74f198580c56adcae71dbce1d825422e5d1
2021-08-12 09:45:58 +00:00
Translation updater bot ce90d81295 Localisation updates from https://translatewiki.net.
Change-Id: Idfc89bfcb63517043dd0357f7a0f496ab41e5b11
2021-08-02 08:37:29 +02:00
libraryupgrader 7e224191d7 build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: I9607f0551e12fd01d75299de5f3c4983107f4e1a
2021-07-23 19:57:34 +00:00