Commit graph

1262 commits

Author SHA1 Message Date
Fomafix 0132d19b90 Replace deprecated global function wfGetDB()
Bug: T330641
Change-Id: I3f00c6f3d1c55757275f1542e60a29401786a03e
2023-10-20 08:22:46 +00:00
Fomafix 74c973a2a9 Inject PermissionManager in SpecialReplaceText
Change-Id: Ifdacf22494297698c263c9236d7807eee49b674a
2023-10-20 08:21:58 +00:00
Fomafix f3087681b5 Use namespaced classes
Change-Id: Ie0dbe43c56b7ef6b4514aa7cac1bc2f8b2eace2e
2023-10-20 08:21:44 +00:00
Fomafix 6811839c39 Use $this->getServiceContainer() in maintenance
Change-Id: I41ba185ca67d57ef8962f548598754edd4688de3
2023-10-18 20:20:20 +00:00
Translation updater bot d77b2257d1 Localisation updates from https://translatewiki.net.
Change-Id: Iaae2f751eefa9db57e0743e77f295e9cac544c37
2023-10-09 08:56:52 +02:00
jenkins-bot 50b2dcd4bc Merge "Add unit test for Search class" 2023-10-02 13:32:34 +00:00
TechieNK ee40a242a4 Add unit test for Search class
Bug: T315764
Change-Id: Ibc5e65bd2bc2ab8d667ead8428a20d3c66f72f99
2023-10-02 13:22:31 +00:00
Translation updater bot 65b85e7eb8 Localisation updates from https://translatewiki.net.
Change-Id: Ie62cc3606fbc3788585c39d770fdd619c98b8fda
2023-09-26 08:44:52 +02:00
Translation updater bot e2d1df7640 Localisation updates from https://translatewiki.net.
Change-Id: Id06e1ee6b976a3c1a59dffe1a012892e9c8b3f32
2023-09-25 08:46:54 +02:00
jenkins-bot c8bf69dd4a Merge "Fix documentation problem" 2023-09-21 16:07:08 +00:00
TechieNK bc85753b87 Fix documentation problem
Change-Id: I5015da83b84b89cd965d97f418a31b0e6116abd3
2023-09-21 20:58:30 +05:30
Translation updater bot 5e2e951fed Localisation updates from https://translatewiki.net.
Change-Id: Ic0098f07a6d0eb8c3793f9223ab9233eec5497b5
2023-09-21 10:16:24 +02:00
TechieNK c0c2d6e2e1 Add Page number limit option
Bug: T45472
Change-Id: I66812d8c0a12c0bd0362c2068f88cb6e26005d2c
2023-09-20 23:52:46 +05:30
Translation updater bot d8f618be5d Localisation updates from https://translatewiki.net.
Change-Id: Ie7e31cba995bdbd1bbf307c9b5e10276026e53dc
2023-09-19 09:26:00 +02:00
Yaron Koren fdc003f058 Version 1.8
Change-Id: I71baf90ba891758623c823d0182526c685c84594
2023-09-07 16:44:16 +00:00
Translation updater bot 504f24c5d0 Localisation updates from https://translatewiki.net.
Change-Id: I31e4f441cb7cb5627f732c870782a27affb452fe
2023-09-06 08:43:00 +02:00
Translation updater bot 62ebf571c7 Localisation updates from https://translatewiki.net.
Change-Id: Ia1493209c13ff012c8d6ac8be944f35ccc0cc0f4
2023-08-28 09:30:51 +02:00
Translation updater bot d42838081c Localisation updates from https://translatewiki.net.
Change-Id: I5cfd2f9f55ae88b3a7852dc868f2d2b106874e71
2023-08-23 08:40:18 +02:00
Translation updater bot 0c27fd6d70 Localisation updates from https://translatewiki.net.
Change-Id: I97f76eb90ee6961897c54d150d93cf99a6196bc9
2023-08-21 08:48:27 +02:00
Umherirrender d2610b8073 Use namespaced MediaWiki\Title\TitleArrayFromResult
Change-Id: I62a85a3fb6c5ce7ff6e9039b00cf929d7c4047df
2023-08-20 00:06:05 +02:00
Umherirrender f73bf3f613 Use namespaced Title
Bug: T321681
Change-Id: I7303cc026bce334b5010e98560d775528850b6b4
2023-08-19 20:18:31 +02:00
James D. Forrester 895ff44836 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I8c1707486b1402dc94dd7cc464e31cc9785a39b7
2023-08-19 14:03:54 +08:00
Translation updater bot e7ac4107da Localisation updates from https://translatewiki.net.
Change-Id: Iaed84e4a96a0bd71f1beed4df63843bab136dc3b
2023-08-17 12:10:42 +02:00
Umherirrender 2185037fc9 Create HookRunner class and the hook handler interfaces
Rename existing HookRunner to HookHelper and create a new class
HookRunner using the name described in core's Hooks.md

Bug: T271025
Change-Id: I85e828226d3d259f93ab2a4eb29dd1fe535abc30
2023-08-15 22:40:53 +02:00
Umherirrender 203564d43d Use HookHandlers for AdminLinks hooks
Bug: T271025
Change-Id: Ie4fac4a457eecd64bd5f66628f86cbee9ab9c84f
2023-08-15 17:18:02 +02:00
Translation updater bot 2f7bfbed73 Localisation updates from https://translatewiki.net.
Change-Id: I2f83b57133285f87d7f12298e6ad4de0adad1387
2023-08-14 09:18:26 +02:00
Translation updater bot 47a413d74a Localisation updates from https://translatewiki.net.
Change-Id: I588104a5051cbb5af97d5c9c2490e1bfa56693c0
2023-08-11 09:01:41 +02:00
Translation updater bot a38f2e4d04 Localisation updates from https://translatewiki.net.
Change-Id: Ie148c19ad7bc6a185fea5b1c8fe58655cd634dda
2023-08-10 09:41:54 +02:00
Translation updater bot 73400b9a90 Localisation updates from https://translatewiki.net.
Change-Id: I4273c4b9296be3334d0a1907c802efcf3e3c24eb
2023-08-09 09:15:44 +02:00
Yaron Koren e1da9e2d63 Replace "Announce changes" option with (inverse) "Mark as bot"
Bug: T200334
Change-Id: I5b588e0dda95812543b270fbc5aece14a5583c83
2023-08-08 16:13:07 +00:00
Translation updater bot 1286244e26 Localisation updates from https://translatewiki.net.
Change-Id: I2027e715f9514da09b20da5225edf74e8d56b4af
2023-08-07 08:39:32 +02:00
Yaron Koren bea0be9c08 New function, SpecialReplaceText::getReplaceTextUser()
Also did some related code re-formatting.

Change-Id: I19baac3bf0443139b5dc59986b72ae7b5ce1f8b0
2023-08-03 19:40:37 +00:00
Yaron Koren 4c81687814 Remove unused variable from SpecialReplaceText.php
Change-Id: I4f65b23d42709cdb935ea5d0d351e758ec6c4b8f
2023-08-03 18:45:11 +00:00
Translation updater bot a7454c7a3b Localisation updates from https://translatewiki.net.
Change-Id: I5e4d7f7377ab0b0630be6d341d539c8bb2abdfc9
2023-07-31 09:00:41 +02:00
Translation updater bot 2aa80baf9b Localisation updates from https://translatewiki.net.
Change-Id: I5e548541272d66aee7aec23daf3860cf9ab6cb98
2023-07-17 10:18:37 +02:00
Translation updater bot 936e4738dc Localisation updates from https://translatewiki.net.
Change-Id: Id614273f965dff48e69bd8dc53b9cf995ae6fa20
2023-07-13 10:50:05 +02:00
Translation updater bot 43914c9a04 Localisation updates from https://translatewiki.net.
Change-Id: I9fc085d00b3a3ef0438975fa9adaf41800f82171
2023-06-26 12:40:45 +02:00
Translation updater bot 7a2715a05f Localisation updates from https://translatewiki.net.
Change-Id: I07da18174a024c42edcbb04b1216890143338547
2023-06-20 09:50:57 +02:00
Translation updater bot bf1bb201a2 Localisation updates from https://translatewiki.net.
Change-Id: I2a870987584002d2e9971afbbe87f7df3baa4c5d
2023-06-19 11:07:59 +02:00
Fomafix 772a4f5642 Inject service ReadOnlyMode
Also reuse local variable $services for
MediaWikiServices::getInstance() in Job.php.

Change-Id: I0364c64aaf52e229f3e2a2c73c7d4716ec566fae
2023-06-16 22:33:08 +00:00
Abijeet 986b51e5a2 Add ReplaceTextFilterPageTitlesForRename hook to avoid pages to rename
Allows other extensions to specify pages that should not be renamed.

Bug: T313148
Change-Id: I47b4549b90fe30be7a80e74db60d16be6776e7f6
2023-06-15 13:13:30 +00:00
Abijeet f7a6474c72 Add ReplaceTextFilterPageTitlesForEdit hook to avoid pages for edit
Allows other extensions to specify pages titles that should not be
edited.

Bug: T313148
Change-Id: Ia3d8e99fc6a478c1df5064fae44ad8558c968725
2023-06-15 02:25:18 +00:00
Yaron Koren 54b015fc97 Add lines to composer.json to make it valid
Bug: T311321
Change-Id: Idff9f041093e182d5363f6e4e7e2dd5398221e45
2023-06-08 13:11:37 +00:00
Yaron Koren 9c1cb9d568 Fix manual setting of summary in replaceAll.php
Bug: T224863
Change-Id: I50a873084b7ebf3bc95d3da707ff262868592c22
2023-06-07 13:59:35 +00:00
Yaron Koren f572741719 Disable Special:ReplaceText if $wgReadOnly is set
Bug: T58299
Change-Id: Idb08cbccc2262830c3b76bafa06cbfbb8d56eb5d
2023-06-05 16:22:02 +00:00
libraryupgrader 838b6af8d5 build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: I05d7a141f8c890008f518f1da8260d8e5b63a2ac
2023-06-02 01:41:02 +00:00
Fomafix 6e1ca1e5a6 Show message replacetext_reminder in user interface language
The message replacetext_reminder is shown on the user interface and
should use the user interface language instead of the content language
like the other messages on this page.

Change-Id: I55f084b3b1a7c83aa45f1489be54fc2f8955135e
2023-05-12 05:58:50 +00:00
libraryupgrader d4f3d6b500 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Ief23a4692d10c190c5b18a20c5e71de5ce083a01
2023-05-05 10:48:57 +00:00
libraryupgrader aadc1d5c19 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: Ib113cafa0d993fd65df3ff6934055d94837262e3
2023-04-29 09:48:29 +00:00
Translation updater bot 39fe06b1ae Localisation updates from https://translatewiki.net.
Change-Id: Ib26271a4faaad849f91d1709ef77e9f63f67af6c
2023-04-24 09:17:09 +02:00