Commit graph

4003 commits

Author SHA1 Message Date
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
Translation updater bot 2309681e95 Localisation updates from https://translatewiki.net.
Change-Id: Ib1218d5e24221af5c9d29ffc051628983d331480
2024-06-03 09:31:31 +02:00
jenkins-bot 325911b629 Merge "Drop IE basic support" 2024-05-31 18:42:27 +00:00
Translation updater bot e796567daf Localisation updates from https://translatewiki.net.
Change-Id: Ie7b91f699406d02f1f4f90b4b15c237d3e6cf69f
2024-05-31 09:56:30 +02:00
Umherirrender 8145e7ae74 Add caller when running query builder
Change-Id: Icc9f640ff8a67d582448e4f05a4456a54218b72d
2024-05-31 00:25:03 +02:00
Ed Sanders 1900b2d383 Drop IE basic support
Use the better method for inserting spaces after the
talk namespace, now that IE support is not required.

Change-Id: Id07e91e13bc0b19c467380e6aa5d3ebd7a4db106
2024-05-30 17:26:26 +01:00
Translation updater bot eb414e2187 Localisation updates from https://translatewiki.net.
Change-Id: Ided4cef5b12f77d1b4f40cb8ed83974e66f9ea7f
2024-05-30 09:36:20 +02:00
Translation updater bot 4431a31ce9 Localisation updates from https://translatewiki.net.
Change-Id: I103bec0985655214ce124d3637efa93b528ee268
2024-05-29 09:31:16 +02:00
jenkins-bot ff59532fdc Merge "Keep all buttons in "reply" group on one line" 2024-05-28 18:26:43 +00:00
jenkins-bot 88bdceeadb Merge "Follow-up I80377881: Add missing Echo namespace" 2024-05-28 18:10:26 +00:00
Ed Sanders 49aaeba740 Keep all buttons in "reply" group on one line
Specifically, the "Reply" button and [...] overflow menu.

Change-Id: I66f9cf01a0ef31f31b28bfe185a39b4d22d69913
2024-05-28 18:37:21 +01:00
Ed Sanders 6237d6068b Follow-up I80377881: Add missing Echo namespace
Change-Id: I3f94d8d91d78eba1eb16ac34b027cd2e9d66649d
2024-05-28 18:28:38 +01:00
Bartosz Dziewoński 9d73c46d99 Percent-decode the permalink when copying
Bug: T357021
Change-Id: Ic71c030e6796695de5ff88a940adb86d63996e7f
2024-05-28 18:22:30 +02:00
Ed Sanders a86897f890 Comment thanking
Bug: T249893
Change-Id: I64f7abc26bfc3e7b226340934a637a555edf754f
2024-05-28 17:47:09 +02:00
Ed Sanders d1bffdee70 Use namespaced notification classes from Echo
Change-Id: I80377881e6aabf3014394c024fca6af50166aa1a
2024-05-28 15:48:56 +01:00
Translation updater bot de26956c55 Localisation updates from https://translatewiki.net.
Change-Id: I6c256c407a2c3ae1bd865e7c1f3a1de0b6ba78c6
2024-05-27 09:28:42 +02:00