Commit graph

1280 commits

Author SHA1 Message Date
Translation updater bot 8bcb3df34b Localisation updates from https://translatewiki.net.
Change-Id: Ia1890f36b85fa5c9e8527fbbbd9aafc17eaa0dc5
2024-01-10 08:33:21 +01:00
jenkins-bot 0480d83b71 Merge "Quote delimiter in target text when using regular expressions" 2024-01-08 15:55:20 +00:00
Mark A. Hershberger e9a086c4ee
Quote delimiter in target text when using regular expressions
bug: T354498
Change-Id: I0bafbaa4cfb55e2d65712a747a2622b159417dea
2024-01-07 21:24:09 -05:00
jenkins-bot e8c50add4e Merge "replaceAll.php: Replace get_class with instanceof" 2024-01-06 00:36:24 +00:00
Umherirrender a14f9f6b5b replaceAll.php: Replace get_class with instanceof
The User class was namespaced in 1d0b7ae1,
checking class names as string is broken, use instanceof.
There are no subclasses of User class to ignore at this point.

Also use User::getName instead of implicit User::__toString

Change-Id: I8b9f73609a7ef9f781c8a5ae27e00d612d33ee4f
2024-01-05 21:26:44 +01:00
Umherirrender 48144bb804 Use namespaced classes
This requires 1.42 for some new names

Change-Id: I7f2e4271ddb42fa449252a66d3c973ad7669575e
2024-01-05 21:23:04 +01:00
Translation updater bot 464311b4bc Localisation updates from https://translatewiki.net.
Change-Id: Ibc0ba7a8e48a49851bdf9b90ea27b103e77d27bc
2024-01-02 10:17:17 +01:00
Mark A. Hershberger 0dcd7c769c Remove shebang
Bug: T352680
Change-Id: Ica661d3fec81cd39812dce8f092e6c24d3e91224
2023-12-04 23:19:04 +00:00
Translation updater bot 475ad71b4c Localisation updates from https://translatewiki.net.
Change-Id: I036a909c479d0fbece1f3338443e5fd18b3a5ff1
2023-11-29 08:31:41 +01:00
Translation updater bot a6d163ae4f Localisation updates from https://translatewiki.net.
Change-Id: I2f197ca1376e04d7b7d8b3e4c4302fe5ee751735
2023-11-22 08:20:36 +01:00
Translation updater bot f41e9de4ff Localisation updates from https://translatewiki.net.
Change-Id: I1015a35e25b30a457593b6633302e5004407733d
2023-11-07 09:08:36 +01:00
jenkins-bot 1df51466b8 Merge "Replace deprecated User::getEditToken and ::matchEditToken" 2023-10-31 15:21:38 +00:00
Fomafix 192435154e Use user interface instead of content language for RTL flipping
The CSS get automatically flipped on RTL user interface language.

Change-Id: I472c0fbbdaf20bd5cb3ad55d1194c99fc72ffdba
2023-10-21 13:42:18 +00:00
jenkins-bot e029f1b13a Merge "Use single quotes instead of double quotes" 2023-10-20 15:37:42 +00:00
jenkins-bot 2a01eaafd8 Merge "Remove hard coded $wgShowExceptionDetails = true;" 2023-10-20 15:05:33 +00:00
Fomafix 83e425ab5a Use single quotes instead of double quotes
https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#String_literals
Single quotes are preferred in all cases where they are equivalent to double quotes.

Change-Id: I808927475e3063a1a37fff9ab851d292acd847bf
2023-10-20 12:26:37 +00:00
Fomafix 2ce2c8d131 Replace deprecated User::getEditToken and ::matchEditToken
Change-Id: If24076c615f5cd41707e21d1497e451b6133e504
2023-10-20 11:17:59 +00:00
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 0a0db0d565 Remove hard coded $wgShowExceptionDetails = true;
The DevelopmentSettings enables ShowExceptionDetails. This should be
enough.

Change-Id: I0d82f55146904798b00c5b16a3f09568a2775a96
2023-10-19 06:33:26 +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