Commit graph

4178 commits

Author SHA1 Message Date
Translation updater bot 648e11dab1 Localisation updates from https://translatewiki.net.
Change-Id: I24b6eb0f178f62fa32f95bffa325e7a5385f6a81
2023-06-12 13:07:14 +02:00
jenkins-bot 18af8d462d Merge "Delay the load of VE modules until we're sure they're needed" 2023-06-09 22:40:35 +00:00
jenkins-bot b6ebb59c5f Merge "EchoHooks: Use symbols instead of string class names" 2023-06-09 20:59:21 +00:00
Ed Sanders 531ced9e31 EchoHooks: Use symbols instead of string class names
Change-Id: I3a4bba84d939f23653b719a271cecaa9395f0cd0
2023-06-09 22:33:27 +02:00
David Lynch ab23c23d48 Delay the load of VE modules until we're sure they're needed
Bug: T336020
Change-Id: I492d7b17a1ee3563f531fd565647ffd1307bddd4
2023-06-09 14:53:44 -05:00
thiemowmde 0cf68818a8 Add various, more specific type hints
* Add @var comments to untyped getService() calls so IDEs and tools
  are able to understand where the callers are.
* Use the more specific IReadableDatabase where possible.
* Fix missing import.

Change-Id: I9c1153cb9fe872227753628a947f40bd5ee447fa
2023-06-09 13:44:42 +02:00
Translation updater bot e45cd4ff8c Localisation updates from https://translatewiki.net.
Change-Id: Ie97881ef3c2170cbc37d4bbdf14e3395d58acafa
2023-06-09 09:13:33 +02:00
jenkins-bot f9580e6817 Merge "Use namespaced Echo classes" 2023-06-08 13:25:14 +00:00
Translation updater bot ac31a93fe5 Localisation updates from https://translatewiki.net.
Change-Id: I8a05944260602fa8339aa6a3757239f79e584782
2023-06-08 10:39:19 +02:00
Siddharth VP 03fcb20810 Use namespaced Echo classes
Change-Id: Id1673cb6ec0ae5f9177db28414d46d216fcabb45
2023-06-08 13:46:31 +05:30
Ed Sanders 0672f4c74a Remove DiscussionToolsEnableMobile
This existed to do a staged rollout to WMF wikis.

Bug: T322497
Change-Id: I4562c166f3f07bce972f9d599de211147d2dc631
2023-06-06 13:25:21 +01:00
Ed Sanders 99f132f05e Remove most DiscussionTools feature configs
Only visual enhancements are yet to be made available everywhere.

Bug: T322497
Change-Id: Ia8a7673f23d1ee31bb7e53d8e75f982d1e48d1ec
2023-06-06 13:25:19 +01:00
Ed Sanders 3b4673bfad Drop the DiscussionToolsEnable feature flag
This existed to do a staged rollout to WMF wikis, which was
finished in March 2021 (T276497).

Bug: T322497
Change-Id: I8851f0243e6920d93f3eb1870d1604bf201ed5a4
2023-06-06 13:08:35 +01:00
Ed Sanders dda86f8ebf Always use the strict equality flag when using in_array
Change-Id: Ia09f5aadc3bbf64645ba174f047e53db49e07925
2023-06-06 13:08:00 +01:00
Translation updater bot a937911b27 Localisation updates from https://translatewiki.net.
Change-Id: I7e3d70206f82c8f284ed7b1a2db8112f214710ed
2023-06-06 08:11:04 +02:00
jenkins-bot ebe98427be Merge "UsernameCompletionAction: Tell widget to remove characters when using insertAndOpen" 2023-06-05 22:41:43 +00:00
jenkins-bot a1d0e3a9d3 Merge "Create HookRunner class and the hook handler interface" 2023-06-05 22:12:23 +00:00
Translation updater bot 77538fc8a6 Localisation updates from https://translatewiki.net.
Change-Id: Icdcf38dd0391adc97156e9ee643d9affac6e31d5
2023-06-05 08:40:39 +02:00
Umherirrender 378769a974 Create HookRunner class and the hook handler interface
Bug: T273303
Change-Id: I6d00848f07fc7d17f3dc7f44b7b6b61553219558
2023-06-04 20:12:56 +02:00
Bartosz Dziewoński e65b49ec43 Don't try to set preferences for temporary accounts
Bug: T337784
Change-Id: I34d35673e5d2651e1da10ba0e7946a0bd54312ea
2023-06-02 20:11:52 +02:00
Ed Sanders d7e56679a4 UsernameCompletionAction: Tell widget to remove characters when using insertAndOpen
Change-Id: Iefad1e10feeb67b9c80580d62bd6215e839c2303
2023-06-02 14:22:37 +01:00
Derick Alangi 6295079d77 phpunit: Use recent overrideConfigValues() over setMwGlobals()
Change-Id: I928dc450adb149e4a4a2260482b148c5cd1670c1
2023-06-02 10:37:15 +03:00
Translation updater bot 914d737705 Localisation updates from https://translatewiki.net.
Change-Id: Id60a916f896418feafc3d7e6b31e5c4bcfd24e1e
2023-06-02 09:23:51 +02:00
Translation updater bot 8b93555014 Localisation updates from https://translatewiki.net.
Change-Id: Ia8615fb2a1dae3fa64084e9954c538e68c0bfcab
2023-06-01 08:43:11 +02:00
Bartosz Dziewoński d5668f0fde Don't try to prefix browser title if a custom message is incompatible
Some wikis customize the 'pagetitle' in ways that are not compatible
with the client-side message parser.

Depends-On: If1979da12777e4ee4e97937640fc5e6176f9b5fe
Bug: T317600
Change-Id: Id05a08f8d350a8d8c6d301a3cb3a53f3a798fe09
2023-06-01 00:09:08 +02:00
Translation updater bot 7a22fedabc Localisation updates from https://translatewiki.net.
Change-Id: I08c2d36ee04bb7b40ed1cab581f69e4e3ef4fe95
2023-05-31 08:20:08 +02:00
Bartosz Dziewoński 2d40cbb6d5 ApiDiscussionToolsPageInfo: Allow excluding signatures
Special:DiscussionToolsDebug falsely promised that the API delivers
the same information, but in fact the API included the signatures in
each comment's HTML unconditionally. Allow excluding them.

Change-Id: Ie1e38d28bed0b6d5713d9051b84cc08a23da94c2
2023-05-30 15:55:41 +02:00
jenkins-bot 2eaf6f81a2 Merge "Prevent squishing headings too much in visual enhancements mode" 2023-05-30 13:08:08 +00:00
jenkins-bot ce29fc2a46 Merge "Remove the new topic tool hint" 2023-05-30 12:10:27 +00:00
Translation updater bot a6b46b4ae2 Localisation updates from https://translatewiki.net.
Change-Id: I3b2bfdaed8123abf445ea324260db4c58fadd922
2023-05-30 08:56:37 +02:00
Translation updater bot 3f8235904e Localisation updates from https://translatewiki.net.
Change-Id: I043acd7ecdbff4197a7a1130e67966912a96e55d
2023-05-29 09:58:59 +02:00
Translation updater bot 5ea70ea6c3 Localisation updates from https://translatewiki.net.
Change-Id: I472fb4b20020e93c6e66be9f42e11f777ef420a4
2023-05-26 08:30:06 +02:00
jenkins-bot 1f4a86e131 Merge "Avoid duplicating new topic tool if there are multiple .mw-parser-output elements" 2023-05-25 17:13:39 +00:00
Bartosz Dziewoński 291808ff2b Avoid duplicating new topic tool if there are multiple .mw-parser-output elements
Bug: T337476
Change-Id: I581e4a584b3f18597e17f157478d9f4ade41c24e
2023-05-25 15:03:35 +02:00
Translation updater bot 422597e6c1 Localisation updates from https://translatewiki.net.
Change-Id: Ic0a281650962a9256735a320a63722f86f06ab59
2023-05-25 09:09:07 +02:00
jenkins-bot c28bcaaabd Merge "UsernameCompletionAction: Document constructor and pass all args" 2023-05-24 19:02:22 +00:00
Ed Sanders 919bdf2a22 UsernameCompletionAction: Document constructor and pass all args
Change-Id: Ie1e37f423d68082be35df2aa7b08b7e372af25c5
2023-05-24 18:57:03 +00:00
Bartosz Dziewoński fda08f7b54 Remove the new topic tool hint
This temporary message has been shown for long enough.

This mostly reverts:
* d0eec56f6d
* f24a73a05a
* bd40523843

Bug: T322495
Change-Id: Ic1762e170547fba8b5fda225eff21e515ace512d
2023-05-24 20:15:49 +02:00
Ed Sanders 6ec2e36e45 build: Update devDependencies
Change-Id: I29a4c712515453a0790ca2b346e53d555f366aea
2023-05-24 18:55:11 +01:00
jenkins-bot d30046db07 Merge "Remove Reply, NewTopic and Subscriptions tools from Beta description" 2023-05-24 14:31:08 +00:00
Translation updater bot 41b9b64786 Localisation updates from https://translatewiki.net.
Change-Id: I5fa45cc0c3ba926652359455b82d25a80154b7a4
2023-05-23 08:22:31 +02:00
Translation updater bot b3b1cc435e Localisation updates from https://translatewiki.net.
Change-Id: I503ac701ed029a12f9113cb6b062c3cb5c8dceff
2023-05-22 08:45:15 +02:00
jenkins-bot 042f1919d1 Merge "Username completions: always abandon if the first input is a space" 2023-05-20 16:13:42 +00:00
Umherirrender 8b551618bb tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: I3b341ec4d14591e6265f86c5179b7dbff07d1076
2023-05-20 15:57:13 +02:00
David Lynch 5568761377 Username completions: always abandon if the first input is a space
This has been added to the core behavior of shouldAbandon as well, but
the way it's overridden here needs to be changed since the
multiple-words check would override that.

Depends-On: If130cdc1df595e6ab12d531ce603cc42c8b3b5f3
Change-Id: Ie7bdc4a4702514fcb7d500924dad18729198b9e8
2023-05-20 09:47:40 +03:00
jenkins-bot 4bcee681fc Merge "Make use of named MainConfigNames::… constants" 2023-05-19 13:23:17 +00:00
gerritbot 3f2cfa423b Update moved class RawMessage
See T321882. Moved in I195cf4c67bd514

Bug: T321681
Change-Id: I6c456405dc038fff7aa3124fdb4b9d6be0d0ffcb
2023-05-19 10:30:50 +00:00
thiemowmde 8bbbf39bbd Make use of named MainConfigNames::… constants
Also merge setMwGlobals() calls because they are really expensive.

Also utilize the more readable str_contains() and related.

Change-Id: Iebde6aa17c2e366f0c0a98fe13a454f6a06c299b
2023-05-19 12:12:32 +02:00
Translation updater bot 9d5f89b5a6 Localisation updates from https://translatewiki.net.
Change-Id: I1f20f25cec7759ce350b0fe9fd74546ebbfd472a
2023-05-19 10:43:13 +02:00
Translation updater bot 3ff1dd786b Localisation updates from https://translatewiki.net.
Change-Id: I8a1827d5a1bf7db5c4d80cf425ebddf574489012
2023-05-18 10:12:25 +02:00