Commit graph

2554 commits

Author SHA1 Message Date
Translation updater bot 10a5506127 Localisation updates from https://translatewiki.net.
Change-Id: I997fcfca2c58994b7d66da7b67c247c2fedd8245
2023-04-06 08:16:23 +02:00
jenkins-bot a3b84b0755 Merge "build: Update MediaWiki requirement to 1.40.0" into REL1_40 2023-03-14 14:19:53 +00:00
James D. Forrester f2bd26e880 build: Update MediaWiki requirement to 1.40.0
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I4bf5dc5e7285e790860a00a4973f5dd7fc17c61e
2023-03-13 23:32:27 -04:00
James D. Forrester 48fdaea98b build: Update MediaWiki requirement to 1.40.0
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I20460fd83ecc692ac3d1aa5abd665e887e629b76
2023-03-13 23:32:24 -04: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
Fomafix 828566ef60 Optimize PHP code semantic
* Mark $mOptions as private. There is no external reference.
* CategoryTree::makeTitle don't return false. A check for false is not
  needed.
* A class attribute should not start with a space.
* $title->isExternal() is equivalent to $title->getInterwiki() !== ''.
* Use $title->inNamespace( NS_CATEGORY ) instead of
  $title->getNamespace() === NS_CATEGORY.

Change-Id: Iddad84ff5a18080d1216346ec2a906c955a644a4
2022-11-12 19:08:16 +00:00
jenkins-bot ba6e585427 Merge "Check for null after Title::newFromText" 2022-11-12 17:31:19 +00:00
Translation updater bot 935cb6d394 Localisation updates from https://translatewiki.net.
Change-Id: I9644aefe6ddb65346721d364e346cc7f22719fd8
2022-11-11 08:40:13 +01:00
Fomafix c5b34028e3 Remove phpcs exclude rules and update PHP code
Consistently use single line @var declararation.

Change-Id: I02210ddcc1c523bda6e26adb17e7b6bd38db752d
2022-11-10 20:15:44 +00:00
Fomafix cf8538086c Check for null after Title::newFromText
Title::newFromText returns null on invalid title.

Change-Id: Iaef69584eff33b1b13669f8d0a3b8eeeba3755cc
2022-11-10 19:27:54 +00:00
Translation updater bot abbc5c5e32 Localisation updates from https://translatewiki.net.
Change-Id: I7b38e5d75b72a07de409cb5cc4f321da382bfc2f
2022-10-13 08:08:06 +02:00
jenkins-bot 958420e41d Merge "Localisation updates from https://translatewiki.net." 2022-10-10 08:25:49 +00:00
Translation updater bot bba8535353 Localisation updates from https://translatewiki.net.
Change-Id: I4772f7c9667003e84484f37117be40e97e7cb8a9
2022-10-10 10:19:36 +02:00
Translation updater bot 8d83ca7e36 Localisation updates from https://translatewiki.net.
Change-Id: I9034fabc9bc3f38c0ec42738c878a430ea77245b
2022-10-10 08:57:29 +02:00
libraryupgrader 8cad15b9d0 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0

npm:
* grunt: 1.5.2 → 1.5.3
* grunt-banana-checker: 0.9.0 → 0.10.0

Change-Id: I278b8c48587f564580b64cd78059197cc0c53074
2022-10-09 02:20:28 +00:00
Translation updater bot ef3356b2d1 Localisation updates from https://translatewiki.net.
Change-Id: I303adc8ed138f62e5861d54a0a06a57d697d8225
2022-10-03 09:45:17 +02:00
Translation updater bot 07c6e3d857 Localisation updates from https://translatewiki.net.
Change-Id: I3c4485e75bcf88047a0938d2d7e4cbdf8e73c60f
2022-09-30 08:53:09 +02:00
Translation updater bot 405b411fe6 Localisation updates from https://translatewiki.net.
Change-Id: Ied339124dfb445715e00082ad0732eda478cacbb
2022-09-28 08:20:51 +02:00
Translation updater bot a0c660b424 Localisation updates from https://translatewiki.net.
Change-Id: Ie8d2deb8e0d69b1f176fd38be37b649f89e8866b
2022-09-22 08:45:27 +02:00
Translation updater bot dbf4fc42c7 Localisation updates from https://translatewiki.net.
Change-Id: I2a93156a6533a148c1544b5effa693b296b4e061
2022-09-05 10:09:58 +02:00
Translation updater bot 17c6baae82 Localisation updates from https://translatewiki.net.
Change-Id: Iab68a5cdcb9c8b97ecf2f971975f428eee0edcc6
2022-08-29 09:13:24 +02:00
Translation updater bot eabefc08bd Localisation updates from https://translatewiki.net.
Change-Id: I73d7f46356c6b430c25e8d340c4e95d6a1cde438
2022-08-22 08:22:21 +02:00