Commit graph

275 commits

Author SHA1 Message Date
Fomafix 156193fe88 Use $this->getServiceContainer() in tests
Change-Id: I7139a34a6373edd8bd6f42d8716260ef2164e8de
2024-07-27 07:40:58 +00:00
Fomafix 30e24aa1b0 Use overrideConfigValues instead of setMwGlobals
Also use MainConfigNames.

Change-Id: I4255b89b8f34fffe5bc70e73dfe7e9b6a4d69941
2024-07-27 07:22:00 +00:00
zoranzoki21 d1b64431e9 PHPCS: Fix all excluded rules
Change-Id: I525345c7be91e83c6050870613eb08a6e8763238
2024-06-04 10:04:30 +00:00
Translation updater bot 7326d988c3 Localisation updates from https://translatewiki.net.
Change-Id: I2146ccc44930008d826db7921d233143372b1250
2024-06-03 09:31:24 +02:00
libraryupgrader 4c75729793 build: Updating dependencies
composer:
* mediawiki/minus-x: 1.1.1 → 1.1.3

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

Change-Id: Icb5f70dce88c8d869ccee463de303db163978f56
2024-05-10 03:10:48 +00:00
libraryupgrader 580c9837c2 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 41.0.0 → 43.0.0
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

npm:
* eslint-config-wikimedia: 0.25.0 → 0.27.0
* grunt-banana-checker: 0.11.0 → 0.11.1
* grunt-eslint: 24.0.1 → 24.3.0
* grunt-stylelint: 0.18.0 → 0.19.0
* stylelint-config-wikimedia: 0.15.0 → 0.16.1

Change-Id: Ib891f072d4737b6f653a8331b35dcea622324ed2
2024-04-22 02:12:07 +00:00
Translation updater bot 3a652de0d2 Localisation updates from https://translatewiki.net.
Change-Id: Ib1703da53028054a830d39f708da7a59871de8ad
2023-12-26 14:42:40 +01:00
Translation updater bot 90f950eaf9 Localisation updates from https://translatewiki.net.
Change-Id: I43f10eefa05284f19349cf677bbd6034f4f3ee4a
2023-11-27 08:32:06 +01:00
jenkins-bot b0645d538f Merge "Fix z-index" 2023-08-09 18:47:35 +00:00
Translation updater bot f892166938 Localisation updates from https://translatewiki.net.
Change-Id: I73be77ee255cabaf7b65ed9b6624f91ec936540d
2023-07-31 08:56:53 +02:00
沈澄心 5a0bd5e34e Fix z-index
Bug: T341086
Change-Id: Ic6ce2c99a6b19c18f2134adfb4c607aa90ae43e6
2023-07-16 10:11:03 +08:00
libraryupgrader a0dd30aceb build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: I38d7d5a5852ad80ac0384963943a1746248e217d
2023-06-01 03:59:20 +00:00
Umherirrender f18dd9e52d tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: Ibd68b67915fdcd1a5af5c8aedc7235c0a655434d
2023-05-21 16:35:54 +02:00
Translation updater bot f7ec255f3a Localisation updates from https://translatewiki.net.
Change-Id: Iaa8fd493754906d5a9da4db5e8efc83b394dbf50
2023-05-05 10:38:29 +02:00
libraryupgrader 9a1fd630b4 build: Updating npm dependencies
* eslint-config-wikimedia: 0.24.0 → 0.25.0
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: I1d4c221870bafb5b0d84f025618de2a458f1be29
2023-05-04 01:48:45 +00:00
Translation updater bot 1dec461c38 Localisation updates from https://translatewiki.net.
Change-Id: I31f3c51c20d278cebfa39022b0bc88dec15d31ac
2023-04-17 09:13:11 +02:00
Translation updater bot 3c267e57a2 Localisation updates from https://translatewiki.net.
Change-Id: I368f4e239a39a1761a94326a7258ff4382ecb37f
2023-04-14 09:26:14 +02:00
Raimond Spekking 7abf197559 Merge "Localisation updates from https://translatewiki.net." 2023-04-10 12:41:16 +00:00
Translation updater bot ffe138876d Localisation updates from https://translatewiki.net.
Change-Id: I3a8abc9e18bbe63ca9c604bc48334a811ef68db8
2023-04-10 09:45:04 +02:00
Translation updater bot f8d1a0f824 Localisation updates from https://translatewiki.net.
Change-Id: I5277d4bb44073993e4518a27045781414c406927
2023-04-10 09:20:45 +02:00
libraryupgrader 107a104ffb build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.1 → 0.14.0

Change-Id: I5cdb96c309e60219c8f3e4979420a3688aa6788b
2023-03-15 04:19:22 +00:00
libraryupgrader 33e75b9a01 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: I3469a5e01b2208cfa347e1f90f0cbca08221203b
2023-03-12 00:22:41 +00:00
Translation updater bot 5281d6cb60 Localisation updates from https://translatewiki.net.
Change-Id: I2bab843956f419314ec86e673410e908c53edbc7
2023-03-08 08:41:56 +01:00
Umherirrender 6dcbb29880 build: Resolve npm peer dependencies in package-lock.json
Run "npm dedupe" to resolve peer dependencies in package-lock.json,
a update can fail with missing or invalid packages on peer deps
More information https://github.com/npm/cli/issues/5113 / T325299

Change-Id: I3637254d35ac599e98560d9bff80dddef8eb6a76
2023-02-18 00:38:12 +01:00
Translation updater bot 909fc6db9f Localisation updates from https://translatewiki.net.
Change-Id: Id8befadf35a399183b5589bac2b099a63ca9efc0
2023-01-06 08:54:17 +01:00
Translation updater bot d019f9657e Localisation updates from https://translatewiki.net.
Change-Id: I2c8baf14f341b226fb30e3fbec307d4988e23dd2
2023-01-02 08:42:46 +01:00
Translation updater bot 62d577ad25 Localisation updates from https://translatewiki.net.
Change-Id: Id9b4175da355d9636f15d646775c69d1202f706a
2022-12-21 09:14:45 +01:00
Umherirrender 88aa29cb72 Replace deprecated Http::get
Bug: T305813
Change-Id: Ief91d92c556244c36dfcec23f770319bd2f2c537
2022-12-11 14:18:17 +01:00
Translation updater bot 0a06382d72 Localisation updates from https://translatewiki.net.
Change-Id: I389f0439c283fca1a2c1aca9b2aea5117aa43ddf
2022-12-08 08:28:41 +01:00
Umherirrender fd816a2a7c tests: Replace assert(Not)Empty with assert(Not)Same
assertSame avoids use of loose comparisons and
allows to check the expected type

Change-Id: Ia6f0cc449f42ef078eb69667d0ce1706022de19b
2022-11-25 10:29:22 +00:00
libraryupgrader 5b754dc615 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 40.0.1
  The following sniffs are failing and were disabled:
  * MediaWiki.PHPUnit.AssertEmpty.AssertEmptyUsed

npm:
* grunt-stylelint: 0.16.0 → 0.18.0
* stylelint-config-wikimedia: 0.11.1 → 0.13.1

Change-Id: I79f223a3bcded9652083d1c1c6034f7829fa3c4c
2022-11-16 04:38:44 +00:00
libraryupgrader fcb8bee942 build: Updating dependencies
composer:
* 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:
* grunt: 1.5.2 → 1.5.3
* grunt-banana-checker: 0.9.0 → 0.10.0
* grunt-eslint: 23.0.0 → 24.0.0
* minimatch: 3.0.4 → 3.0.8
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: Icf47aa812c06c22052f3cfdc23e60d83668599eb
2022-11-11 01:11:47 +00:00
Umherirrender 8e79666f18 build: Remove syntax option from stylelint
Error: The "syntax" option is no longer available. You should install an
appropriate syntax, e.g. postcss-scss, and use the "customSyntax" option

Change-Id: Ia752c3825981ec2e38a8d8996b438fbfd8a02ec6
2022-10-27 00:10:08 +02:00
Translation updater bot 3d6512ec7a Localisation updates from https://translatewiki.net.
Change-Id: I5512b5f16ac5b5386ca4f1236bec4d57d14995e8
2022-10-24 08:22:30 +02:00
Translation updater bot 0771c9e43b Localisation updates from https://translatewiki.net.
Change-Id: I1903d627a1a2cd49109058b5f9dcf9a6619fec99
2022-10-17 08:20:54 +02:00
Universal Omega 03d6d20179 tests: replace deprecated phpunit methods
Bug: T243600
Change-Id: Ib7bb66a1e853a413aa3cb02b45b2e7f5ef2e20e2
2022-10-10 16:10:24 +00:00
Translation updater bot 20b915ad0d Localisation updates from https://translatewiki.net.
Change-Id: I80deea97f271bfa8bc30dd51f71e67b5d10ff771
2022-09-01 09:33:33 +02:00
Translation updater bot e4c53e1e18 Localisation updates from https://translatewiki.net.
Change-Id: I0ddaa42263b6fb5f555742251bdb3941de607957
2022-07-05 08:38:00 +02:00
libraryupgrader 8b1897d141 build: Updating grunt to 1.5.2
Change-Id: Ib16aaf1ae949c60446e287d6837a0c3f740c7460
2022-04-27 09:18:41 +00:00
libraryupgrader 05f7ce101c build: Updating npm dependencies
* eslint-config-wikimedia: 0.21.0 → 0.22.1
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h

Change-Id: Ie88a2b06fb4e1e263e23650de6d9b7063a6817ee
2022-04-15 01:49:41 +00:00
Translation updater bot a227aaf18f Localisation updates from https://translatewiki.net.
Change-Id: Ife995031e16debde5c8a30f720434989568c05bb
2022-04-01 08:26:31 +02:00
libraryupgrader a91b78000f build: Updating npm dependencies
* eslint-config-wikimedia: 0.20.0 → 0.21.0
* grunt: 1.4.0 → 1.4.1
* nanoid: 3.1.25 → 3.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Change-Id: I6bc5ae815e4c6d5e14385672d6472e20450b0465
2022-02-06 08:46:23 +00:00
Jayprakash12345 37f46abdbb Use new Hook system
Change-Id: I9f45c6fafabe6d6f8dde7e894772d4f1b1c5bcd3
2021-12-04 19:18:52 +05:30
libraryupgrader d4d1707f01 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I135fe45cc501452e616447f11f2273af2ef21557
2021-10-24 01:42:04 +00:00
Translation updater bot 9ca3834b5d Localisation updates from https://translatewiki.net.
Change-Id: I2ebed112bf2f8b8e945e660668c42b59662868c1
2021-10-18 15:19:49 +02:00
Alexander Vorwerk 5ac97cf126 MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I92d2b29501214f00e77c92149038b19d937dcabe
2021-10-12 21:30:58 +02:00
Translation updater bot b6f7f468f0 Localisation updates from https://translatewiki.net.
Change-Id: I16b8c0456080a03d382fcc9bdca35e1c37afa274
2021-10-08 09:20:37 +02:00
libraryupgrader d8686ca885 build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

npm:
* ansi-regex: 5.0.0 → 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: I703ff09cf1a8f28b08abe227164f9ad1e4d4b03d
2021-10-04 15:59:16 +00:00
Translation updater bot aacc004a98 Localisation updates from https://translatewiki.net.
Change-Id: I30063db4642ab48c6e82dc0d396beae92add3530
2021-09-29 09:01:40 +02:00
Translation updater bot f5829051df Localisation updates from https://translatewiki.net.
Change-Id: Ifc0ea6b5bef31337fcb88b7a18905713c579a33f
2021-09-27 08:34:36 +02:00