Commit graph

4210 commits

Author SHA1 Message Date
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
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
jenkins-bot 8a0262d33a Merge "Don't show a link to change their preferences to temp users" 2023-05-16 15:34:48 +00:00
jenkins-bot 9fd36bcf40 Merge "Fix Vector 2022 TOC metadata styles" 2023-05-15 16:29:24 +00:00
Translation updater bot e456868a00 Localisation updates from https://translatewiki.net.
Change-Id: Iff5b94b6ed9647299e11c43e7797db1b4c79ab1d
2023-05-15 08:32:17 +02:00
Bartosz Dziewoński cff03d96ec Fix Vector 2022 TOC metadata styles
Stuff changed in Vector.

Change-Id: Iff99763b6013dd687ceb6367d50cfd936ecb987b
2023-05-14 16:47:48 +02:00
Bartosz Dziewoński dde4bdebc1 Prevent squishing headings too much in visual enhancements mode
Also, replace a `px` value with an `em` value in another similar case,
to support users and skins changing base font size. The exact values
don't matter that much.

Bug: T335823
Change-Id: I18778b13948abc18d67631d620be0b658d04facf
2023-05-12 16:42:40 +02:00
Translation updater bot ce3699ee6e Localisation updates from https://translatewiki.net.
Change-Id: I7e97a04383861479cd702f925b9fd5e698e4395a
2023-05-11 09:15:09 +02:00
Translation updater bot 9ce7914390 Localisation updates from https://translatewiki.net.
Change-Id: I478bf4b86809dc548c09362cd42afd69cfb90641
2023-05-10 08:40:28 +02:00
jenkins-bot 1104fbe1ff Merge "Improve punctuation in 'discussiontools-emptystate-desc-self' message" 2023-05-09 15:19:02 +00:00
Translation updater bot 989153404c Localisation updates from https://translatewiki.net.
Change-Id: I55206eee3b7c7e4b9d55aae6b11e27f674cbccdb
2023-05-09 08:54:48 +02:00
jenkins-bot 3b3f2847b4 Merge "Update a/b test code for visual enhancements a/b test" 2023-05-08 13:39:34 +00:00