Commit graph

429 commits

Author SHA1 Message Date
Fomafix 40c49c0461 Use overrideConfigValues instead of setMwGlobals
Also use MainConfigNames.

Change-Id: I9097c8a98b20cbf6788f9f807915174d14636623
2024-07-29 11:16:05 +00:00
Fomafix f9a7314af3 Use $this->getServiceContainer() in tests
Change-Id: I6618ae1a5059748b8000b1124b1c4a617099c601
2024-07-29 10:54:40 +00:00
Translation updater bot d068082a02
Localisation updates from https://translatewiki.net.
Change-Id: Ic543949d5ed7f109684504d0fabb5621d5e399e4
2024-07-29 09:28:42 +02:00
Translation updater bot 02f0c3f95c
Localisation updates from https://translatewiki.net.
Change-Id: Ied6b5fce5e8c126750a7e6fdc3ca6736d436d06d
2024-07-08 09:34:02 +02:00
Translation updater bot 4fd45dbf5b
Localisation updates from https://translatewiki.net.
Change-Id: I223dc660e89b22ef0aaf0b4a62d9aaff0627a0fa
2024-07-01 09:26:32 +02:00
Translation updater bot fc797b47c8
Localisation updates from https://translatewiki.net.
Change-Id: I01f858c681df6fcd7d4d3971c980300e489157c0
2024-06-24 09:26:08 +02:00
libraryupgrader 3cb87f070b build: Updating eslint-config-wikimedia to 0.28.2
Change-Id: Ia19678513fe102226940852fb1d4043c1218ca57
2024-06-22 03:03:34 +00:00
libraryupgrader 854a2cdc7b build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I52f5ed826ef1db693d0c6f31aeec64e5c62d4daa
2024-06-12 04:39:03 +00:00
Umherirrender af0a84923a Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I0caa8d0fef331df7042ca3b2cae72f5d7e91688f
2024-06-10 21:59:03 +02:00
libraryupgrader a2cead5c58 build: Updating eslint-config-wikimedia to 0.28.0
Change-Id: Ib1ad05af3a56b83cf852cefe2496082a2125fbfd
2024-06-08 05:02:09 +00:00
Translation updater bot 0b7d08d303 Localisation updates from https://translatewiki.net.
Change-Id: Iba39f1a540018736190e9e14f73b62a296a08079
2024-05-24 09:44:21 +02:00
libraryupgrader 256ff98857 build: Updating grunt-banana-checker to 0.13.0
Change-Id: I13206c2ed34dafcbc2dcf0f0b3cc754536b95ea3
2024-05-19 04:14:47 +00:00
Translation updater bot 1ef630f0a9 Localisation updates from https://translatewiki.net.
Change-Id: Ia9b4f7114ff688641910b99269336a7ae55eb450
2024-05-17 09:49:49 +02:00
libraryupgrader a38b5b0037 build: Updating grunt-banana-checker to 0.12.0
Change-Id: I76146e61a451ba7a32a8af382b8bade0fcf59c24
2024-05-11 00:24:40 +00:00
libraryupgrader 9b247d9f58 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: Id06fa6a4c7cdac65a04f5cc1774096aa29d7a21f
2024-05-06 07:11:07 +00:00
Dringsim 4ad7e989aa
Change use of AtEase to at operator
Change-Id: If660c57d30d987762ac6a8cf4dfc0df240a6e560
2024-04-30 01:38:02 +08:00
jenkins-bot a6f6efef92 Merge "Allow wikimedia/css-sanitizer at 5.3.0" 2024-04-23 17:57:35 +00:00
Jon Robson fa4422f7ad Allow wikimedia/css-sanitizer at 5.3.0
This adds fallback support for CSS custom properties.

Bug: T361934
Change-Id: Ia1f5f63eceb2fd7c54e92c8a8af95b5948a41ccb
2024-04-23 13:43:00 -04:00
libraryupgrader 4e7e74fd94 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I154e0d58ec1266a8597f32930260c04b7fd207ab
2024-04-19 07:01:08 +00:00
jenkins-bot 348c47a22c Merge "build: Remove suppression of PhanUndeclaredProperty for Parser property" 2024-04-17 11:58:43 +00:00
Umherirrender f9b195cb08 build: Remove suppression of PhanUndeclaredProperty for Parser property
Follow-Up: I701a27459704839f9f996a171b6982ed17cdd00b
Change-Id: I7684384cd0b0ceab5668b35049e14454cd864e76
2024-04-16 23:10:07 +02:00
Translation updater bot ba1b4be8de Localisation updates from https://translatewiki.net.
Change-Id: Ib4628bbc7d74c10ff43bf6d045e406dc49eb5248
2024-04-15 09:28:54 +02:00
jenkins-bot c68f54f861 Merge "Use ParserOutput::setRawText() instead of deprecated ::setText()" 2024-04-06 08:56:36 +00:00
C. Scott Ananian 0d8c5c832d Allow (but do not yet require) the use of wikimedia/css-sanitizer 5.2.0
Change-Id: Ie6db53da85a9387468105f6905e83fb59250ef58
2024-04-04 10:59:48 -04:00
C. Scott Ananian 6d88e26095 Use ParserOutput::setRawText() instead of deprecated ::setText()
This extension already requires MediaWiki 1.42, so the minimum version
doesn't need to be bumped.

Depends-On: I3ef34814ab9473cc70d0a6806e8c5a4a02b73491
Change-Id: Ia3a933a6abd6adb4670f458ed5b8f3e0f6da4d27
2024-04-04 10:58:19 -04:00
Translation updater bot 2426dd0b7a Localisation updates from https://translatewiki.net.
Change-Id: I5892038dae85e9bd841a32839384a475eee91ecd
2024-03-22 08:45:36 +01:00
libraryupgrader 2be9b12ede build: Updating mediawiki/mediawiki-codesniffer to 43.0.0
Change-Id: I029dafdbd17ff2d8dc43e9be72c9a5f5179792fb
2024-03-18 01:57:42 +00:00
Translation updater bot f652816426 Localisation updates from https://translatewiki.net.
Change-Id: If39f2c783a95378a6feed1af9991f3fa892865c4
2024-02-29 08:36:35 +01:00
jenkins-bot 2f11557fe1 Merge "Support @media prefers-color-scheme in rule in css-sanitizer" 2024-02-22 00:49:15 +00:00
Moh'd Khier Abualruz 21aa8a8a6b Support @media prefers-color-scheme in rule in css-sanitizer
- increase the version to get in the update

Bug: T241946
Change-Id: I7c3635597742417e5c2af753ec97b7771a4fa8b8
2024-02-21 22:23:58 +01:00
Translation updater bot d081d71a23 Localisation updates from https://translatewiki.net.
Change-Id: I0a8832da049de5635aafdccc09d8b210a494ed79
2024-02-14 08:19:26 +01:00
Translation updater bot b8e64d6d83 Localisation updates from https://translatewiki.net.
Change-Id: I54ea064a89928461a3a108ff52a71e50b9ab47b0
2024-02-12 14:50:37 +01:00
libraryupgrader b17aa5942c build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-banana-checker: 0.11.0 → 0.11.1
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: I396d32c02596601b56cd7fcc3ea416fddee5c34a
2024-02-10 23:29:25 +00:00
libraryupgrader 6bb84458a1 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: I5c19caaacfe34090584af74ec3b3e76b2b15930b
2024-02-04 12:55:49 +00:00
Translation updater bot 0193691c2b Localisation updates from https://translatewiki.net.
Change-Id: I0b7904c13320ea624487e2717e7461b1600207a3
2024-01-31 08:29:44 +01:00
Umherirrender 8feec96006 Allow only local pages on templatestyles parser function
Report interwiki pages as invalid src.

Change-Id: I01dfcb2badc2d24246dc63dd9c3057ac50b4025d
2024-01-26 18:32:49 +01:00
Translation updater bot eafa1f3668 Localisation updates from https://translatewiki.net.
Change-Id: I56ecb1392ba1a869a7b1c2f5d4530bbffc07aa0c
2024-01-18 09:27:23 +01:00
Umherirrender ef074299ca Use namespaced classes
This requires 1.42 for some new names

Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I0f43f4db86de2990c8902a36976923ad9f0ae67a
2024-01-04 21:53:17 +01:00
Translation updater bot 960c2b3194 Localisation updates from https://translatewiki.net.
Change-Id: Ib60d3c3789e62113255a0524a9a8f91ebf6cc0b8
2023-12-26 14:43:39 +01:00
Translation updater bot 8b38fad8b8 Localisation updates from https://translatewiki.net.
Change-Id: I1595f1b4365b5426e04923859ff2c63071de3316
2023-12-13 08:42:01 +01:00
Translation updater bot ffa588baa3 Localisation updates from https://translatewiki.net.
Change-Id: I62f67ac4b5cd9688879860348dcbf4cfc1b8b206
2023-11-29 08:31:49 +01:00
Umherirrender 8808ab0a15 tests: Cover CodeEditorHooks
Change-Id: I8a094d14347bb58850b7f864320f30420b18460f
2023-11-06 19:46:50 +00:00
Umherirrender 8ef8014843 tests: Adjust mw-parser-output div for new attributes lang/dir
Add in core with d0a96db0

Follow-Up: Ib130a055e46764544af0f1a46d2bc2b3a7ee85b7
Change-Id: I016093b732fc8c44901632c4d63608c5af41cda5
2023-11-06 20:43:49 +01:00
Umherirrender b5ab3bac24 Use HookHandlers for CodeEditor hook
Bug: T338435
Change-Id: I7c2cb3ca5e38ce974187af316bf30e71b8e4ad49
2023-11-06 12:00:18 -05:00
Translation updater bot f7cdaf3ca0 Localisation updates from https://translatewiki.net.
Change-Id: I8474b3a580c6e31a82f641a965c9242beed4d773
2023-10-25 09:02:55 +02:00
Translation updater bot 80fb16fd5e Localisation updates from https://translatewiki.net.
Change-Id: I632761449333ad3cbc3de0089a37b54b623a0eb8
2023-10-12 09:30:03 +02:00
Umherirrender 5482c272bc Use HookHandlers for core hooks
The use of "HookHandlers" attribute in extension.json makes it possible
to inject services into hook handler classes in a future patch.

Bug: T338435
Change-Id: Iadeed8e4735f95387f2faed4bc4305327bff3c8a
2023-09-24 22:12:07 +02:00
Translation updater bot 044039a02b Localisation updates from https://translatewiki.net.
Change-Id: Ib71d9850c018c8e9789810c77cc794049ec7bc2a
2023-09-21 10:16:46 +02:00
James D. Forrester 789d166951 build: Use conf.MessageDirs for banana path config
Rather than configuring manually, re-use the specification in the
repo's extension.json file, like we do elsewhere; this way, if we
add further i18n files in future, or change their paths, we won't
need to update this configuration.

Change-Id: I4fec61599b1a8b9ac9de93983dfbc2e0dfa97286
2023-09-18 19:54:37 +01:00
James D. Forrester ab94c0836e build: Update css-sanitizer requirement from 4.0.0 to 5.0.0
Depends-On: I7e0fb989236df696af3d4a0a1e7b3ab4d12fe571
Change-Id: Ib7950b17581d69c1c9197e3a3109d3da4c735a3a
2023-08-29 12:03:51 -04:00