Commit graph

3270 commits

Author SHA1 Message Date
Ed Sanders 531ced9e31 EchoHooks: Use symbols instead of string class names
Change-Id: I3a4bba84d939f23653b719a271cecaa9395f0cd0
2023-06-09 22:33:27 +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
Translation updater bot 7a22fedabc Localisation updates from https://translatewiki.net.
Change-Id: I08c2d36ee04bb7b40ed1cab581f69e4e3ef4fe95
2023-05-31 08:20:08 +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
Bartosz Dziewoński eede5f73de NewTopicOptOutActiveUsers: Skip bot users etc.
Bug: T317375
Change-Id: I7b83d1b0a9c450ae5eefa5b6f7ebd9ef4c1f22a1
2023-05-17 17:33:39 +02:00
Bartosz Dziewoński 18edf9ca61 Define $maintClass in maintenance script for compatibility
Bug: T317375
Change-Id: Iad131b1fd7d8ae7e6ea6e01d907dcdbeffd8e4fe
2023-05-17 12:55:27 +02:00
Translation updater bot bd6c3eef77 Localisation updates from https://translatewiki.net.
Change-Id: I248e905391300a86e4acb190818701bf7665881a
2023-05-17 08:49:22 +02:00
jenkins-bot 25b3366070 Merge "Add talk page empty state for temporary accounts' user talk pages" 2023-05-16 17:51:54 +00:00
jenkins-bot 8e94616fad Merge "Update warning about logged-out editing for temp user creation" 2023-05-16 17:51:45 +00:00
Bartosz Dziewoński e3441be186 Add talk page empty state for temporary accounts' user talk pages
Depends-On: I2ea656a8a1704a495f1a94fede1a8829ba7325a1
Bug: T335590
Change-Id: Ibe1ea316f5da450b4478bf466ec12bbca9a91cd2
2023-05-16 17:00:03 +00:00
Bartosz Dziewoński 8b2e0d7be9 Update warning about logged-out editing for temp user creation
Depends-On: I2ea656a8a1704a495f1a94fede1a8829ba7325a1
Depends-On: I84ce108b4d46b4e19fad032382f8b69a1b0065d5
Bug: T332432
Change-Id: I8487d7d249c66bf3c3c60120f490a6ba72745aac
2023-05-16 18:57:46 +02:00
jenkins-bot 518d6c406c Merge "Add maint script to opt out active users from the new topic tool" 2023-05-16 16:05:52 +00:00