Commit graph

2721 commits

Author SHA1 Message Date
Fomafix 6b65422769 ApiCategoryTree: Use config from $this->getConfig().
An injection of ConfigFactory/Config and the ConfigRegistry are not
needed anymore.

Change-Id: Ie20675981a019fe300cf84e7a16a191c0431b922
2024-08-21 18:09:26 +00:00
Fomafix 42e31c3054 Use MainConfigNames
Change-Id: I81eb011f303dbaacc30ee3d8ac27c4a7bf10615a
2024-08-20 20:14:05 +00:00
jenkins-bot 7b7c051df0 Merge "Use PHP types" 2024-08-20 19:40:02 +00:00
Fomafix 8fe224cd60 Use PHP types
* Add PHP type hints where possible.
* Remove @var, @param and @return if redundant to type declaration
* Remove redundant type conversions which are now enforced by type
  hints.
* Enforce that decodeBoolean returns only a bool.

Change-Id: I8da84ed4dc778dd9d84f8d9eec0a399f5ed26405
2024-08-20 08:16:37 +00:00
Translation updater bot 0925d56a2a
Localisation updates from https://translatewiki.net.
Change-Id: Ia37d75caab4cc43bf748e7f88f8fbcd083cdec09
2024-08-19 09:22:22 +02:00
libraryupgrader cc2b1f21e2 build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: I6504fa58324bb435a762f0187c12f07066b60011
2024-08-11 03:15:07 +00:00
Translation updater bot 3375e65f34
Localisation updates from https://translatewiki.net.
Change-Id: Ibcfb1589a46137b6cda43db156eda2f77794dcb3
2024-08-08 09:19:12 +02:00
Translation updater bot e83e572961
Localisation updates from https://translatewiki.net.
Change-Id: If6fd94f9dc6f5e7d220a0f6424e038db905f7a79
2024-08-05 09:24:36 +02:00
Translation updater bot e66f69e0da
Localisation updates from https://translatewiki.net.
Change-Id: I927836bab6731723884653522bd360b98f53d776
2024-07-30 09:42:34 +02:00
Translation updater bot bd798a63fc
Localisation updates from https://translatewiki.net.
Change-Id: I52f4d271ebb6bd4fd70ccba43431ce7b606ce11c
2024-07-29 09:26:04 +02:00
Translation updater bot 3ef8c01678
Localisation updates from https://translatewiki.net.
Change-Id: Id52e45c1a2058d88e9c0f9408f6c889cae9f2e6e
2024-07-26 09:43:16 +02:00
Translation updater bot 780ca63841
Localisation updates from https://translatewiki.net.
Change-Id: I95474c3bddf3e0619118a80ed1026380e432c922
2024-07-22 09:23:56 +02:00
Translation updater bot efa2b133c3
Localisation updates from https://translatewiki.net.
Change-Id: I236f0a5f138404070bfd24549e9d7c147385885e
2024-07-18 09:22:15 +02:00
Translation updater bot 182fc66bbe
Localisation updates from https://translatewiki.net.
Change-Id: I6a27295b005e005dc2736790d9e9cf5d3315d10b
2024-07-15 09:23:31 +02:00
Translation updater bot 9dffa7c54c
Localisation updates from https://translatewiki.net.
Change-Id: If14e28c38b85a50a7b54f62ad7003d1fe5b6bf79
2024-07-11 09:29:31 +02:00
Translation updater bot ecaabc9f02
Localisation updates from https://translatewiki.net.
Change-Id: I25c316a53ec3d80ffd77953916fa8efa6fd3128a
2024-07-09 09:42:19 +02:00
Translation updater bot 57e3556571
Localisation updates from https://translatewiki.net.
Change-Id: I4dcb7fe997189165e664b8639b4e07c6349f7d16
2024-07-08 09:32:19 +02:00
Translation updater bot cde070a220
Localisation updates from https://translatewiki.net.
Change-Id: I82bae8aebb8c0c699bf4f08722ec1c8c511e1033
2024-07-05 09:47:16 +02:00
Translation updater bot c3b269d043
Localisation updates from https://translatewiki.net.
Change-Id: Ic7c0d97268ab3409731d019b4a833de09be28fb5
2024-07-04 09:23:11 +02:00
Translation updater bot ab28153725
Localisation updates from https://translatewiki.net.
Change-Id: I331608d219b3fbea207cdd8d65e2df8b7a01a3ea
2024-06-28 09:40:46 +02:00
Translation updater bot 4b528ac829
Localisation updates from https://translatewiki.net.
Change-Id: I917f82f609afb41f0ebd50bb2d51ed3b95011530
2024-06-25 09:29:42 +02:00
Translation updater bot ff5b42cf61
Localisation updates from https://translatewiki.net.
Change-Id: Ifa25d906fe05828091818345e2a8385c3878c9e5
2024-06-24 09:24:54 +02:00
libraryupgrader 0d2b750fcb build: Updating npm dependencies
* eslint-config-wikimedia: 0.28.0 → 0.28.2
* grunt-stylelint: 0.20.0 → 0.20.1
* stylelint-config-wikimedia: 0.17.1 → 0.17.2

Change-Id: I53c54d270f2c4f9d1c4fe25301f5e95b32c773bc
2024-06-20 03:54:44 +00:00
Translation updater bot cd8de77669
Localisation updates from https://translatewiki.net.
Change-Id: I1a2cfcbe2c6af00aff7d9ca0f79b60be6d41f60f
2024-06-17 09:30:08 +02:00
Translation updater bot fbe5f2e047
Localisation updates from https://translatewiki.net.
Change-Id: I08ad92257171c25d4538df9f5abbc5af867d7bee
2024-06-14 09:48:27 +02:00
Translation updater bot e032225181
Localisation updates from https://translatewiki.net.
Change-Id: I1138c4a824d13d144bfb79d78b56df1b13c8e3b8
2024-06-12 09:21:35 +02:00
Translation updater bot d615414eb6 Localisation updates from https://translatewiki.net.
Change-Id: Ifb2aaecbeb09055ec66d139a2ab125632f04f3ca
2024-06-11 09:53:36 +02:00
Translation updater bot 49cadef1b8 Localisation updates from https://translatewiki.net.
Change-Id: I153354869abf713db22ab98192960bdd677f2ac6
2024-06-10 09:54:47 +02:00
Umherirrender 3e2ce8c6f4 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I51931c3aab6aa1e5bc77b3cc83b8014cf557ff75
2024-06-08 23:29:21 +02:00
Translation updater bot aac8563280 Localisation updates from https://translatewiki.net.
Change-Id: I0327e7b63eaede6ebebcdc4657a11d61caa1e6af
2024-06-07 09:44:08 +02:00
libraryupgrader f11f37fdce build: Updating npm dependencies
* eslint-config-wikimedia: 0.27.0 → 0.28.0
* grunt-stylelint: 0.19.0 → 0.20.0
* stylelint-config-wikimedia: 0.16.1 → 0.17.1

Change-Id: I2e39d465faed928560881f684d77946e022dd233
2024-06-06 04:13:42 +00:00
Translation updater bot d7c6817fdf Localisation updates from https://translatewiki.net.
Change-Id: I82b5ee0c1706cf8af6939af93923bfad39cf0aff
2024-06-05 09:22:20 +02:00
Translation updater bot 477a908738 Localisation updates from https://translatewiki.net.
Change-Id: I405e03ae01734a141c7371a2544b0a763f96711e
2024-06-04 09:30:33 +02:00
jenkins-bot b42252b37b Merge "Show a deprecation warning if parameter onlyroot is used" 2024-06-03 16:25:59 +00:00
Translation updater bot e10cae9fe0 Localisation updates from https://translatewiki.net.
Change-Id: Ie68d6eb6435eead087e09a26c7e8b1c3149f229f
2024-05-28 09:30:01 +02:00
Translation updater bot 59390ea344 Localisation updates from https://translatewiki.net.
Change-Id: Ica8ebeebc02c048859aa37a1dc29451332df0a04
2024-05-27 09:28:13 +02:00
jenkins-bot c8fb5d0c2d Merge "Use namespaced PHP classes" 2024-05-23 21:05:55 +00:00
Translation updater bot fa94b6a471 Localisation updates from https://translatewiki.net.
Change-Id: Ibfe24de0c4ad87ba1f472e71203d3ca33bf0126b
2024-05-23 09:26:33 +02:00
Fomafix e6c9eab90f Use namespaced PHP classes
These namespaces are available since MediaWiki 1.42 which is already
required in extension.json.

Change-Id: If72d77a5440516beeac637b4baf06e9b4c672e8a
2024-05-22 20:11:23 +00:00
Fomafix 15a2d717d5 Show a deprecation warning if parameter onlyroot is used
The parameter onlyroot is deprecated since July 2008.

Generate a tracking category for tracking the deprecation.

Bug: T290062
Change-Id: I8eb58fa7831e11e6a6719f11fb1ff310666cdc4e
2024-05-20 07:49:47 +00:00
libraryupgrader e5ac4d6907 build: Updating grunt-banana-checker to 0.13.0
Change-Id: I935697f07e9c6cbf6cd9e43c5fb8f9508dea780a
2024-05-18 02:49:13 +00:00
Translation updater bot 6ff80cc135 Localisation updates from https://translatewiki.net.
Change-Id: Idb653b9a8791307664d2f68e08e7dfe029254373
2024-05-14 09:25:28 +02:00
Translation updater bot 4e915e0a17 Localisation updates from https://translatewiki.net.
Change-Id: I428db84d5cc8dfedbd7abc595ee62cf977f2e581
2024-05-13 09:26:35 +02:00
Translation updater bot c4b9b4cb05 Localisation updates from https://translatewiki.net.
Change-Id: I3d22f145f6e2e3b8fe6138f9016602345d93062d
2024-05-10 09:28:14 +02:00
libraryupgrader 36027bdee6 build: Updating grunt-banana-checker to 0.12.0
Change-Id: I196edd531dc14078b68b4cc11b83493e3ef7d5b9
2024-05-10 01:49:36 +00:00
Translation updater bot e15fe77969 Localisation updates from https://translatewiki.net.
Change-Id: If55986356499e32fb472100aea09ca80e29228f4
2024-05-07 09:22:13 +02:00
libraryupgrader 9f1b4a3784 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: I57370117f42679a90c2a06bfc348045d1fdca29b
2024-05-05 06:09:38 +00:00
Translation updater bot cbd22a1424 Localisation updates from https://translatewiki.net.
Change-Id: Id6581401fded1d09e8de4765c1181b80cf584383
2024-05-03 09:28:10 +02:00
Umherirrender d8f77953a1 Migrate to IReadableDatabase::newSelectQueryBuilder
RIGHT JOIN is unsupported by SelectQueryBuilder, swapped to LEFT JOIN

Bug: T312395
Change-Id: Idd646422dc6c984d7ceab23743e53e64bccb987c
2024-04-25 20:21:57 +02:00
Translation updater bot 6648cf4a27 Localisation updates from https://translatewiki.net.
Change-Id: Ibe9fec8ee0a5554f3a4fcf7a81aba1521fec1c3e
2024-04-22 09:27:42 +02:00