Commit graph

3993 commits

Author SHA1 Message Date
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
Translation updater bot b565037c37 Localisation updates from https://translatewiki.net.
Change-Id: I725b0142cbf8bc292c94bcc803d5b5d1fe87721f
2023-05-08 10:31:47 +02:00
David Lynch 71d2e76d7f Update a/b test code for visual enhancements a/b test
Strip it out from applying to logged out users and make the test work
for multiple features

Bug: T333715
Change-Id: Id15a8a99c2ea8e6fc14fc83baf2ed6ebaaf754c8
2023-05-08 01:30:21 -05:00
Bartosz Dziewoński 2321e645f4 Add maint script to opt out active users from the new topic tool
Opt out users who are active (according to Special:ActiveUsers)
and have at least 100 edits, unless they have already opted in
by enabling the beta feature.

To run the script, use the new run.php wrapper:

  php maintenance/run.php MediaWiki.Extension.DiscussionTools.Maintenance.NewTopicOptOutActiveUsers

Bug: T317375
Change-Id: I953c4c9d00a60b00a621049b119ba96c9682004d
2023-05-05 18:51:38 +02:00
Translation updater bot 12164c1606 Localisation updates from https://translatewiki.net.
Change-Id: I4b7e0f2b22cc6822e039636fef2e3c42f4cfdebc
2023-05-05 10:38:36 +02:00
Bartosz Dziewoński 060c38b7e0 Don't show a link to change their preferences to temp users
Temporary users will not have access to user preferences (T330815).

Bug: T332432
Change-Id: I5d0718613494db84de800cef0544fccb9e3d8b8c
2023-05-04 20:46:54 +02:00
Bartosz Dziewoński d9618ce652 Improve punctuation in 'discussiontools-emptystate-desc-self' message
Per T335590#8821549

Change-Id: I365f16545a85cb24042755f924d275d4718140c2
2023-05-04 20:46:54 +02:00
jenkins-bot 50111e000c Merge "Trigger a MobileWebUIActions show event for lede-button" 2023-05-04 17:10:19 +00:00
David Lynch 83236058d5 Trigger a MobileWebUIActions show event for lede-button
Bug: T314596
Change-Id: I388873329e0dcb74633d81ca7ea633958ac3e56a
2023-05-04 11:25:40 -05:00
libraryupgrader 6b95929513 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I0b98e717cf679ea49062dc8d3d4909030c447216
2023-05-04 01:58:57 +00:00
Iniquity 5ac3ab5de0 Remove Reply, NewTopic and Subscriptions tools from Beta description
Bug: T315529
Change-Id: I5f5429d29af2deb930f702a4b656939ea4781391
2023-05-03 16:07:06 +00:00
Translation updater bot c74ffccce7 Localisation updates from https://translatewiki.net.
Change-Id: I7d9393684a165e4b73b7f752e71bb32b1a10a1f5
2023-05-03 08:43:22 +02:00
محمد شعیب ba8d70436b Set alias of special page name for Urdu language
Change-Id: Iae186a37565c7663d85690294f76a3d43ac038c8
2023-05-02 12:44:34 +00:00
Translation updater bot bfffce8691 Localisation updates from https://translatewiki.net.
Change-Id: Ib7fd1ee0e43e28c76fac5c9ff1cc389360122ae8
2023-05-02 08:59:40 +02:00
Translation updater bot 404b690d12 Localisation updates from https://translatewiki.net.
Change-Id: I847a2d04eb9e3b9a5fb245fbf230e15affc2878a
2023-05-01 09:57:34 +02:00
Amir Sarabadani 40c3c65ccf Switch from typehinting ILBFactory to IConnectionProvider
Narrower interface

Change-Id: Id94d098089f1db645ea6b4b4eb516a512c66fdb2
2023-04-29 23:00:59 +00:00
libraryupgrader 8070feda05 build: Updating mediawiki/mediawiki-phan-config to 0.12.1
Change-Id: I7296161cc8aa6a2b71439f2b47e1e9f9af5887f1
2023-04-29 02:29:39 +00:00
Translation updater bot 294f30b544 Localisation updates from https://translatewiki.net.
Change-Id: Ia7691e7940b694e179fa03e34a38301c6cce2f95
2023-04-28 08:56:09 +02:00