Commit graph

2721 commits

Author SHA1 Message Date
jenkins-bot eef0e9ca58 Merge "build: Updating eslint-config-wikimedia to 0.25.0" 2023-05-06 10:24:57 +00:00
Translation updater bot 8329c692a6 Localisation updates from https://translatewiki.net.
Change-Id: I3dd693747d88be3220d644ee726dab7ee91cf1a4
2023-05-05 10:37:57 +02:00
libraryupgrader 8cd4a8db21 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I8601120fcbd56a1d1f4af90b7976c3d79072076c
2023-05-05 02:09:16 +00:00
Translation updater bot 671ea37cdd Localisation updates from https://translatewiki.net.
Change-Id: Ie9f9c3865687d23a9218bc87faab50ee983f74e8
2023-05-01 09:57:15 +02:00
libraryupgrader db14b4d43e 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: I5ca930f236e3435dd0f9912948e3ec725915abe9
2023-04-29 00:35:40 +00:00
Translation updater bot 581354c2d9 Localisation updates from https://translatewiki.net.
Change-Id: I9d43452d13124f56a170f8c829ca8189a32303b0
2023-04-28 08:55:43 +02:00
Translation updater bot 7c36933610 Localisation updates from https://translatewiki.net.
Change-Id: I9b36caa65064d4c26bc36be657e09bc1512e1fd0
2023-04-27 09:13:45 +02:00
Translation updater bot 28df0d8e66 Localisation updates from https://translatewiki.net.
Change-Id: I361f5894d267804044f05eba92003494e3558712
2023-04-26 08:42:49 +02:00
Umherirrender 3252ddc115 Simplify ApiCategoryTree::extractOptions
Change-Id: I98605b2580a995e37a8da1b88693b38bbd5b8013
2023-04-25 20:06:08 +02:00
jenkins-bot 9be6563cfa Merge "ApiCategoryTree: Harden validation of JSON values in options parameter" 2023-04-25 17:06:32 +00:00
Translation updater bot de79c882e8 Localisation updates from https://translatewiki.net.
Change-Id: If948db27075b4e7c2a9dc1b4bb91878a79065d0e
2023-04-25 08:47:19 +02:00
Ammarpad 277b547d21 ApiCategoryTree: Harden validation of JSON values in options parameter
* All option values are not expected be object themselves.
* Allow 'namespace' option to take scalar or array value.
* All other options take scalar values only.

Bug: T335145
Change-Id: I3bdb284f26d0c9ee8230f2197b168a7e83c145c3
2023-04-24 23:59:33 +01:00
Translation updater bot de2d576f17 Localisation updates from https://translatewiki.net.
Change-Id: I809532a57af01be83b1e75181cc5bcae932f15ad
2023-04-24 09:15:35 +02:00
Translation updater bot 8d557eb4cb Localisation updates from https://translatewiki.net.
Change-Id: I0ead2634f1abab9ff3c98e01547e269c512b9d49
2023-04-10 09:20:14 +02:00
Winston Sung ed6b81e502 CategoryTree: Special page aliases should store in zh-hant instead of zh-tw
Bug: T286291
Change-Id: I7b13b5989a9ad635f4be0006a4a9dc06f25c58aa
2023-04-05 16:54:51 +00:00
Translation updater bot 70b9f42872 Localisation updates from https://translatewiki.net.
Change-Id: Iced119643d94e04b1930619ae556faede8910b66
2023-04-03 09:17:02 +02:00
Translation updater bot 8ad96365cf Localisation updates from https://translatewiki.net.
Change-Id: I5cf6377eeac7f6492ea9a329802222c066c4e179
2023-03-27 08:40:32 +02:00
Translation updater bot e1b9df5d2f Localisation updates from https://translatewiki.net.
Change-Id: Idb7425901e0d98971682f0e9f1077bb4bc454dbf
2023-03-22 09:14:55 +01:00
Translation updater bot 12c8ab1653 Localisation updates from https://translatewiki.net.
Change-Id: I2eeb98a354ad144b5a4a811f32d8bd5fdf903101
2023-03-20 09:00:35 +01:00
Translation updater bot 63111f55bb Localisation updates from https://translatewiki.net.
Change-Id: Ic4a7271ac0484831d814d972a6d06553cf9efa24
2023-03-15 08:49:19 +01:00
libraryupgrader 2380563909 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1
* grunt-stylelint: 0.17.0 → 0.18.0
* stylelint-config-wikimedia: 0.13.0 → 0.14.0
* minimatch: 3.0.4 → 3.0.8
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: Ie9e1e749935136ba53bf4c149b6125acb6703d22
2023-03-15 02:47:16 +00:00
Translation updater bot 00a240bbce Localisation updates from https://translatewiki.net.
Change-Id: I290f01c383a101f217480cc2fb6161c8b075553c
2023-03-08 08:41:41 +01:00
Translation updater bot 458f495973 Localisation updates from https://translatewiki.net.
Change-Id: I849a8b977a4abe89d56db2d5322bc04bcb94a971
2023-03-07 08:43:50 +01:00
Umherirrender 6e911fba75 Replace CategoryTreeCategoryViewer with hooks of CategoryViewer
Change-Id: I34a47c4f2f4b08cd3ed8ce5c4a585cc42d44372d
2023-02-28 23:20:56 +01:00
Umherirrender cca06d7656 Remove unused CategoryTreeCategoryViewer::$child_cats
Usage removed in 2009 with r47049 (23187e510a).

Change-Id: Id40904a286de73b0f057243d3f70178b77186d81
2023-02-24 01:09:03 +00:00
Translation updater bot 18425dc613 Localisation updates from https://translatewiki.net.
Change-Id: I0376b92413df40e70ff9de914880a85111f592be
2023-02-23 08:38:26 +01:00
Translation updater bot 5e248c4735 Localisation updates from https://translatewiki.net.
Change-Id: Ib8417513e15edf3a665e19524de6c7712d67d910
2023-02-21 08:20:44 +01:00
Translation updater bot bf457502cc Localisation updates from https://translatewiki.net.
Change-Id: I356583442cbe1d2a12963a81e3fdb7dd557d6f14
2023-02-20 09:45:59 +01:00
Translation updater bot 4941b56d95 Localisation updates from https://translatewiki.net.
Change-Id: I3d929c397b967fc8e50164b12f904cbfb5e50f76
2023-02-17 08:55:28 +01:00
Fomafix c1edee1aea Remove flag for ParserOutput
The modules are already in the ParserOutput by change
I8d2a6d92f45f30495263eea716adb4eeaf7ebfbb.
The hack with the flag for the OutputPageParserOutput hook is not
needed anymore.

Do not deploy this change before the caches has been purged or expired.

Bug: T212059
Change-Id: If9427bbf114870ec9747670367915e11750c6525
2023-02-10 12:14:26 +00:00
Translation updater bot ea51fc3e92 Localisation updates from https://translatewiki.net.
Change-Id: Ia77447a49f8759a06777e41813f76ebbbf7c6688
2023-02-08 08:39:19 +01:00
Translation updater bot b89b8ba96f Localisation updates from https://translatewiki.net.
Change-Id: I7c2dfbf4a78457e9118de048bada10c4932c243e
2023-02-03 08:47:12 +01:00
Translation updater bot 0e90efa005 Localisation updates from https://translatewiki.net.
Change-Id: Ica3e9f490ad2f6882fd0641b3d14a93eef7f9307
2023-01-30 08:29:17 +01:00
Translation updater bot 3870748b3e Localisation updates from https://translatewiki.net.
Change-Id: I9f96a551783ef2d7b459456213c923bf095c8605
2023-01-24 08:48:10 +01:00
jenkins-bot 4ead6a9e89 Merge "Add a CategoryCache service for use on Special:TrackingCategories" 2023-01-21 22:33:08 +00:00
Umherirrender 9d98cc1ae6 Add a CategoryCache service for use on Special:TrackingCategories
Replace the dynamic property on SpecialTrackingCategories object,
this was used to store preloaded Category objects.
Dynamic properties are deprecated in php8.2
The preload and storage is now done with the service.

Adjust doc to LinkTarget (Id0cc2ca)

Bug: T324897
Change-Id: I891ad79bc357d32585ef4d9206d398c5a75222aa
2023-01-13 23:05:36 +01:00
Fomafix ed2ec6459b Add modules to ParserOutput
This change adds the modules to the ParserOutput object.

The hack with the flag for the OutputPageParserOutput hook is not
needed anymore. But this will removed in the separate change
If9427bbf114870ec9747670367915e11750c6525 to avoid a caching problem.

This change loads the modules on Special:ExpandTemplates if a
<categorytree> is in the content.

Bug: T212059
Change-Id: I8d2a6d92f45f30495263eea716adb4eeaf7ebfbb
2023-01-12 21:33:16 +00:00
Fomafix 9acd8edf62 Support short link with target in URL path
With this change the following URLs select the target Category:Foo_Bar:
* Special:CategoryTree/Category:Foo_bar
* Special:CategoryTree/Foo_bar
in the UI selector for the category.

Bug: T290070
Change-Id: I169c7c50adb5f6b279c34e44e7fdcf5b1b26c882
2023-01-12 21:08:46 +00:00
Translation updater bot 9ce4bee8f1 Localisation updates from https://translatewiki.net.
Change-Id: I22264c0ee75e4858b910cbd9779e6155fb57f4ff
2023-01-09 09:25:28 +01:00
Translation updater bot 40e209dd0a Localisation updates from https://translatewiki.net.
Change-Id: I972ceefdfa9f2505ea06863bd76093e439cd2945
2023-01-06 08:53:48 +01:00
Translation updater bot 7cc9c7fab4 Localisation updates from https://translatewiki.net.
Change-Id: I9073dff6850290e3cb5748adb0e967e92bd202a7
2023-01-05 09:07:14 +01:00
Translation updater bot 9741cea3fb Localisation updates from https://translatewiki.net.
Change-Id: Ie94164fefc8e6b1a3a16d431657b2d1763b66781
2022-12-29 10:00:52 +01:00
Translation updater bot 02fbb97124 Localisation updates from https://translatewiki.net.
Change-Id: Ice47d83cee9b127a6d1d63b5a0316d684d3ab8c9
2022-12-21 09:14:14 +01:00
Umherirrender 8b4ab1fd43 Use LinkBatchFactory to create LinkBatch objects
Bug: T325591
Change-Id: I3c529e62e45a38e6752f37b6bf36a1e727511e46
2022-12-19 21:37:43 +01:00
Translation updater bot 0a9fcee1b6 Localisation updates from https://translatewiki.net.
Change-Id: I4abfcb8eda41222f0e7f7feb5eeaee5fe03a0812
2022-12-16 08:46:27 +01:00
Translation updater bot fcaf330c56 Localisation updates from https://translatewiki.net.
Change-Id: I3bb60db797030d6fe5ebdc2d69f84ed939f3a21a
2022-12-15 11:35:14 +01:00
Translation updater bot 1654ed152c Localisation updates from https://translatewiki.net.
Change-Id: Ifd663f39c810ca1bad806335dd6ec17b9eb030a5
2022-12-09 08:45:25 +01:00
jenkins-bot 18000c7453 Merge "Optimize PHP code semantic" 2022-12-02 00:29:41 +00:00
Translation updater bot 73f88e7183 Localisation updates from https://translatewiki.net.
Change-Id: Ifacf9642c865fc0f90e12446f7d5a81bb24adf86
2022-12-01 08:15:00 +01:00
Translation updater bot 303e1586e2 Localisation updates from https://translatewiki.net.
Change-Id: I371865ace996970b2158420049bcd3f0461a1a48
2022-11-28 08:49:09 +01:00