Commit graph

4018 commits

Author SHA1 Message Date
xtex 1a2ccbb58c
Add Simplified Chinese magic word aliases
Change-Id: Ib050aa998e38473ad9c16c4cea36235a0d1c18c9
2024-06-30 15:12:42 +08:00
xtex cdf5801d4d
Add Simplified Chinese special page aliases
Change-Id: Idb7fd3e8d793c41716c6baf5e196a8968d17eb42
2024-06-30 14:22:24 +08:00
Jon Robson b3bb486e30 Fix color contrast issues in DiscussionToolsDebug in night theme
Visual change: tokens are switched out for closest available.

Bug: T366524
Change-Id: I185bf496e3b2974ec4cb873719327e6898ca57db
2024-06-28 17:12:52 +00:00
David Lynch edb23dc849 Permalink copying: fix another reference to e.target
Bug: T368701
Change-Id: Iae20e4573dfc12ea9d4010390fe2acb135e1b1cd
2024-06-28 11:05:11 -05:00
jenkins-bot 339a609c45 Merge "Reword the missing target heading message" 2024-06-28 15:51:25 +00:00
David Lynch cd39c267b5 Permalink copying: use currentTarget to avoid conflicts with userscripts
Bug: T368701
Change-Id: I70b1cbf8aaf917ed843f003eec7bbd61db39ecc7
2024-06-28 10:17:27 -05:00
Translation updater bot 12bca79877
Localisation updates from https://translatewiki.net.
Change-Id: I53311b62fad92f4e3766bc90675f1304cf803c78
2024-06-28 09:41:23 +02:00
Jon Robson f81739f8b4 Use green rather than yellow for newly posted messages
Use @background-color-success-subtle following discussion

Bug: T368086
Change-Id: I216fdb576ee9066df0c3cd3bc62d424f258fe265
2024-06-27 15:45:34 -07:00
Jon Robson 6896c8c879 Fixes background of talk page highlights in dark mode
Bug: T368086
Change-Id: I6ca92afeba448f953d1ef5f54d7f1e966c017b48
2024-06-27 15:45:34 -07:00
jenkins-bot 4a2a1670de Merge "Fix white on white text in source preview" 2024-06-27 19:54:19 +00:00
bwang e830713b64 Fix white on white text in source preview
Bug: T367432
Change-Id: I2beabfe21e0c7402804a6968d983b8ef96b5329b
2024-06-27 09:51:06 -05:00
Translation updater bot 146ea49a12
Localisation updates from https://translatewiki.net.
Change-Id: Ic5515a107dd1bc42932c07e2a6a3e8c21ffbf5e3
2024-06-27 09:20:36 +02:00
Nemoralis 6c8280a7a7 Reword the missing target heading message
Added "or renamed" to "discussiontools-target-heading-missing" because often the title may change a little, but the topic will remain on the page

Bug: T362707
Change-Id: Idfe50a01743fb7fe6dcd5a73aaf830dc5e3881ca
2024-06-27 07:32:45 +04:00
jenkins-bot 549466c852 Merge "Disable beta feature automatically when all sub-features are available" 2024-06-26 21:24:06 +00:00
Ed Sanders 08d540f6b5 Disable beta feature automatically when all sub-features are available
Change-Id: I87886c894f652db339d3f07630366b3b4ff74e9e
2024-06-26 12:03:58 +01:00
Bartosz Dziewoński f4e419b019 FixTrailingWhitespaceIds: Don't crash on complex conflicts
Also, move output and waiting to the outer loop.

Bug: T356196
Change-Id: Ibb88bfe3fb14e53eef4837ce9e681cebce399be1
2024-06-24 19:33:02 +02:00
jenkins-bot 5b415eb241 Merge "Reduce unused mocks in CommentFormatterTest" 2024-06-24 16:07:28 +00:00
Translation updater bot 51456e51cd
Localisation updates from https://translatewiki.net.
Change-Id: Ib3378e94165e30fe57573d77d500b09397bb0076
2024-06-24 09:25:12 +02:00
thiemowmde 15a9304bc5 Reduce unused mocks in CommentFormatterTest
For example, in case nothing is ever called it's sometimes helpful to
use "NoOp" mocks to make this more visible.

There is also no actual OutputPage needed, just the much more narrow
interface.

Change-Id: I44522276726786abd75c85c02a7003c33a5602bb
2024-06-23 13:56:34 +00:00
jenkins-bot 7281eec5b2 Merge "Improve unwrapFragment() for multi-paragraph comments" 2024-06-22 09:48:56 +00:00
jenkins-bot da90f4b049 Merge "Remove A/B test code" 2024-06-21 21:35:20 +00:00
Ed Sanders 66ddcf5b64 Remove A/B test code
It's unlikely we'll do another feature A/B test any time soon.

Bug: T322492
Bug: T341491
Depends-On: Ia3712e2930fcd971bce44f568430602ce3949f23
Change-Id: I1ef4191f9466b7420a2fead571615ed6d49f873e
2024-06-21 21:08:15 +00:00
Bartosz Dziewoński 674353691b Improve unwrapFragment() for multi-paragraph comments
I've been reading some discussions in Special:DiscussionToolsDebug
and saw a good number of comments where the first paragraph has
a bullet point (`*`), and the following paragraphs are indented (`:`).

Change-Id: I1afadc49565e843c97286a3744941ffb4062ddec
2024-06-21 22:37:09 +02:00
jenkins-bot c11460a527 Merge "Fix parsing usernames with +" 2024-06-21 15:19:33 +00:00
Translation updater bot 93d9417dba
Localisation updates from https://translatewiki.net.
Change-Id: I4809d67db596b8dbf2fecf6aca3f9fdffb46e19e
2024-06-21 09:41:46 +02:00
libraryupgrader d271121a28 build: Updating npm dependencies
* grunt-stylelint: 0.20.0 → 0.20.1
* stylelint-config-wikimedia: 0.17.1 → 0.17.2

Change-Id: Id90531e0c1e1ce96ae56d7e3e2901d60577dc4d2
2024-06-20 06:30:15 +00:00
jenkins-bot fb4d4d77a5 Merge "Trim whitespace from truncated heading titles in IDs" 2024-06-20 02:20:23 +00:00
Bartosz Dziewoński 20ff1a519f Fix parsing usernames with +
urldecode() should be used for decoding URL query parameters,
rawurldecode() should be used for decoding URL paths.

Bug: T367977
Change-Id: I7a7b14da85fb89f612c701d2746803d830017842
2024-06-19 17:14:10 +02:00
Translation updater bot aff2c0be56
Localisation updates from https://translatewiki.net.
Change-Id: Id53f4012db7d9b75ecd772185a85530965508169
2024-06-19 09:22:15 +02:00
Translation updater bot 36da2ea5a0
Localisation updates from https://translatewiki.net.
Change-Id: I106d3ca355b02c0e4a41a96b74621652d61caf43
2024-06-18 09:27:29 +02:00
Translation updater bot 08b62bc068
Localisation updates from https://translatewiki.net.
Change-Id: I3755b7a5ee218475f3b3222b1cbbcafff46fd1da
2024-06-17 09:30:40 +02:00
jenkins-bot d8da88055a Merge "Remove WMF-specific "discussiontools-autotopicsub" settings" 2024-06-16 09:32:41 +00:00
jenkins-bot 7c9450489d Merge "Use ConditionalUserOptions for "echo-subscriptions-email-dt-subscription"" 2024-06-16 09:32:34 +00:00
Bartosz Dziewoński 0f601b690a Remove WMF-specific "discussiontools-autotopicsub" settings
WMF config change should be deployed first: Ica7dba4f17eb3e57a1a2415cc970c54a67eac696

The default value for this preference was already '1', and this code
was a no-op unless it was overridden to '0' like it was in WMF config.

Bug: T357221
Change-Id: I6b09bbea9bfb7a8f8ed17114dc59e657c5b66e91
2024-06-15 13:05:07 +00:00
Bartosz Dziewoński 488e35d82e Use ConditionalUserOptions for "echo-subscriptions-email-dt-subscription"
WMF config change should be deployed first: Iaff2d5ffee78d6200e1fa971c5c62137a400005d

Bug: T357221
Change-Id: I2744d52c5ff8c89166c19ab0ff2b4a27bfbf7cd7
2024-06-15 13:04:58 +00:00
Ed Sanders 6d572a8733 ESLint: Use sourceType:commonjs instead of no-implicit-globals:off
Change-Id: I409d24d7253bd2108d34fc5ec69f042f588b0b07
2024-06-14 12:32:25 +01:00
Translation updater bot 5d7f91a0b9
Localisation updates from https://translatewiki.net.
Change-Id: Ic0fcf51516177b467882291f5eb2320e89b06edc
2024-06-14 09:48:49 +02:00
Ed Sanders 9e9ad65f2b build: Update eslint-config-wikimedia to 0.28.2
Change-Id: Ifb0eb261325544fceeb16d13be31bbf303e64124
2024-06-13 17:28:06 +01:00
Translation updater bot 731fe6d7c4
Localisation updates from https://translatewiki.net.
Change-Id: I26ad781a049cb370e535c564ccf29195410d7768
2024-06-13 09:27:58 +02:00
Translation updater bot dc438afbf8
Localisation updates from https://translatewiki.net.
Change-Id: Id0d85572a52590c121a7b905947a7936963dbd8f
2024-06-12 09:21:59 +02:00
Translation updater bot 38d57c340d Localisation updates from https://translatewiki.net.
Change-Id: I9c67501894547d6fd3c012f1e9c2953638d402ba
2024-06-11 09:54:09 +02:00
jenkins-bot a3adda8ed7 Merge "Remove jquery.makeCollapsible workarounds for mobile" 2024-06-10 19:29:49 +00:00
Translation updater bot 7a9e62db4f Localisation updates from https://translatewiki.net.
Change-Id: I6f7b3944225c9ca0915f3588dc117e657df97411
2024-06-10 09:55:14 +02:00
Umherirrender 3dc5e88842 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I492ddae3c3e9f81d551ea8b348b7148893f4f590
2024-06-09 00:02:35 +02:00
Translation updater bot 6a3e25b382 Localisation updates from https://translatewiki.net.
Change-Id: I2134d1e9be7acab15136ecbc5cb035272750b889
2024-06-07 09:44:46 +02:00
Ed Sanders e9f412f4c0 eslint: Remove no-op config
Change-Id: Idcc2f4e4edeb57d1fb11deb4e798529f14466c9b
2024-06-06 16:30:49 +01:00
Ed Sanders 39f106ebf4 build: Update stylelint-config-wikimedia to 0.17.1
Change-Id: Ie6c51769e5037cd27ec4b04858ad3c2dcf0db81e
2024-06-05 18:36:37 +01:00
Translation updater bot 165b0b3405 Localisation updates from https://translatewiki.net.
Change-Id: Ida61eaa0ee74c44503a5edede559f850f63d344f
2024-06-05 09:22:48 +02:00
Bartosz Dziewoński 2c9264e412 Remove jquery.makeCollapsible workarounds for mobile
The module is now loaded normally by the Minerva skin (T111565).

Bug: T323639
Change-Id: I9121410c20fffd651c81c26b84b861ec9300881f
2024-06-04 00:56:58 +02:00
Ed Sanders bf09928773 build: Update eslint-config-wikimedia to 0.28.0
Change-Id: Ie6bcea16debc74d3dd1283f6a4975fb3bd5056b0
2024-06-03 18:37:15 +01:00