Commit graph

4153 commits

Author SHA1 Message Date
Jon Robson b0cf419f19 Support modern message box markup
The class mw-message-box-warning was replaced with
cdx-message--warning.

Change-Id: I6862aab8980e76372e8f5d974e37ee6f5358e22c
2024-09-30 23:41:59 +00:00
Iniquity b35ea7c65d Use standard font sizing for DT advanced toggle menu and license description
Bug: T356574
Change-Id: I30d635b0fb24fb6ad2761a4970c0cb2586481efe
2024-09-30 17:39:19 +00:00
Derick Alangi c296917ffa
tests: Fix content data for "hu" language code
After I6d82a827e20d18ff4d78d7351aa9e9c08129e400 landed, it caused
DiscussionTools to break in CI, this patch fixes it to use the correct
language code per the patch above.

If this patch passes CI, then the issue is resolved potentially.

Bug: T376020
Change-Id: I5324e5690d25f295d3fc1fb91d8f0f24adcc35e8
2024-09-30 11:11:43 +01:00
Translation updater bot 4c7bbfb294
Localisation updates from https://translatewiki.net.
Change-Id: I57de0bc11ad431914c66df14fe05620158ce9a2c
2024-09-30 09:20:58 +02:00
jenkins-bot f8cb573ee4 Merge "Fix margins in footer" 2024-09-27 15:45:38 +00:00
Translation updater bot 74ef22aa61
Localisation updates from https://translatewiki.net.
Change-Id: I1a4115a589e6c4a240823fe01ce2e49cbc10b9c5
2024-09-27 09:18:42 +02:00
Ed Sanders 293cd13018 Fix margins in footer
Vector 2022 increased paragraph bottom margin to 1em.
Reset this to 0.5em.

Also don't append an empty links list.

Change-Id: I18b17824cc1093dbf61b354309144be8d9d74643
2024-09-26 17:24:15 +01:00
Translation updater bot a1bc55aa56
Localisation updates from https://translatewiki.net.
Change-Id: I71e91fefd768a0cfa3ae106a9ca16a419102f78b
2024-09-26 09:19:49 +02:00
Translation updater bot 0d60875470
Localisation updates from https://translatewiki.net.
Change-Id: I3b649d1d468581b4969960ea2cde97433602cc83
2024-09-25 09:17:43 +02:00
Translation updater bot c826fae7d0
Localisation updates from https://translatewiki.net.
Change-Id: Ic083645da7cd8fafbf4c825635741d121dd8bc21
2024-09-24 09:28:51 +02:00
jenkins-bot 936ba19113 Merge "Always set a value for isEmptyTalkPage when transforming html" 2024-09-23 18:43:23 +00:00
Translation updater bot d5f3ac6273
Localisation updates from https://translatewiki.net.
Change-Id: I62961828442aaa9e02739ce6f26d47b5de985983
2024-09-23 09:21:20 +02:00
Arlo Breault 4399d9a458 Always set a value for isEmptyTalkPage when transforming html
For interface messages, like the talk page header, tranformHtml isn't
run so no value is set while parsing it.  The double negative in
I5c1877f7f9eb73f88a33e001ca3c2f3d06bb90e4 failed to account for that and
was reverted in I23a3f937201d93c7c7645a09c4fccfcf1c14008a.

By always setting a value, we'll overwrite a value that may have been
set when Parsoid calls the legacy parser to parse extension content for
which it doesn't have a native extension, which then gets merged into
the metadata for the main parse.  However, setting with a different
value is deprecated and will eventually throw, but we already need to
find a solution for T372592 so what's one more.

Bug: T371125
Bug: T372592
Change-Id: Id73a1b5751cfc055e84188bcb19583c72b84032f
2024-09-20 18:17:16 -04:00
Arlo Breault 40f85d8852 Revert "Document shortcoming of CommentFormatter::isEmptyTalkPage"
This reverts commit 8245b94c4c.

No longer relevant after the revert in f96eba7.

Change-Id: Id81e68b4eaacb4b8a594ac97f75f1a7f5540b78c
2024-09-20 18:15:24 -04:00
Translation updater bot 14f0dce50c
Localisation updates from https://translatewiki.net.
Change-Id: I0d5b1f5b56bb7850bb105543731c06cc1340b2d7
2024-09-20 09:23:33 +02:00
Translation updater bot 5b7b7caf8f
Localisation updates from https://translatewiki.net.
Change-Id: Ie49d9a9aa8d9f052262fe0160e549f2af86348a4
2024-09-19 09:18:05 +02:00
David Lynch 9492fcc1f8 Find comment: limit DB query for page comments, use a custom exception
Follow-up to b7af4e87f5

Bug: T374598
Change-Id: Ibc958f84991198ebb616cf41258e70968353f7fe
2024-09-18 11:43:59 -05:00
Translation updater bot b2e1dda6a7
Localisation updates from https://translatewiki.net.
Change-Id: I00c8f637c49e44b4e2ad54df5408f2565d3eedfc
2024-09-18 09:18:49 +02:00
Translation updater bot 0b2989114e
Localisation updates from https://translatewiki.net.
Change-Id: I27c1116ef7ae7191f92acf53dd9596dfde260c8e
2024-09-17 09:27:10 +02:00
jenkins-bot f5f94a9456 Merge "Fix some dark mode issues on mobile" 2024-09-17 01:38:21 +00:00
David Lynch bb418d6b60 Don't startPoll if there's not a subscribable heading, i.e. New Topic
Any save errors wouldn't be shown -- most visibly, this meant any new
topic requiring a captcha couldn't be submitted.

Follow-up to 890cec73b6

Bug: T374770
Change-Id: Iac62ba9ccf629185798957dafee774ad1de08396
2024-09-16 19:26:25 -05:00
Translation updater bot ed451b8bd4
Localisation updates from https://translatewiki.net.
Change-Id: If22a89ae55fe7323cfd5a39aec4a7bfead742fb1
2024-09-16 09:25:58 +02:00
Taavi Väänänen 53b77ea9ac
Fix some dark mode issues on mobile
Change-Id: I2f2c9da258467a3b1610c25661baa9fdb064f8fd
2024-09-15 11:30:24 +03:00
jenkins-bot 05cadab71e Merge "Find comment: Don't show notice if "talk" page has never had any discussions on it" 2024-09-13 14:37:49 +00:00
Ed Sanders b7af4e87f5 Find comment: Don't show notice if "talk" page has never had any discussions on it
Some extraSignaturesNamespaces often have pages which are never
used as talk pages. This check will suppress "topic not found"
messages from appearing on those pages.

Bug: T374598
Change-Id: I0073807b7f0291fb64aab54a19a4c05fceff968c
2024-09-13 11:52:02 +01:00
Translation updater bot 963ea7177e
Localisation updates from https://translatewiki.net.
Change-Id: I8af3e649e39bb2d63d820e9182f4084bda271b09
2024-09-13 09:17:56 +02:00
Translation updater bot 8d7bdbde99
Localisation updates from https://translatewiki.net.
Change-Id: Id63e5be74a46adfcf77f15c170023512fb109eae
2024-09-11 09:20:29 +02:00
Translation updater bot 114e0e4d3e
Localisation updates from https://translatewiki.net.
Change-Id: Idef6fc7b73c988fdbf2a659c9e6e6ad71673f03b
2024-09-10 09:29:15 +02:00
Translation updater bot 2e9d48a540
Localisation updates from https://translatewiki.net.
Change-Id: I2248de5f89db52fc4a1baaae662097f8813ec794
2024-09-09 09:22:24 +02:00
jenkins-bot 6a807a135c Merge "Enable visualenhancements on archived talk pages" 2024-09-06 19:39:18 +00:00
Ed Sanders f52841a9e2 Use fixed font size for UI components in Vector 22
Bug: T373875
Change-Id: If0e71a7aaf1ea1e0315fc80999541019b3990bb0
2024-09-06 14:53:02 +01:00
Ed Sanders 3dc503c43b Enable visualenhancements on archived talk pages
Bug: T374198
Change-Id: I50f566934bd0f3962741557ca24f1ef4af288eee
2024-09-06 10:00:28 +01:00
Translation updater bot 1e42ea10bd
Localisation updates from https://translatewiki.net.
Change-Id: I5a9e7ddde6c8dcc44b3d7dadfb2c638396969a69
2024-09-06 09:39:26 +02:00
Translation updater bot c6136deacb
Localisation updates from https://translatewiki.net.
Change-Id: Ib4ed1179a730e3e17e48b3931acfbfe3d990d679
2024-09-05 09:23:49 +02:00
Translation updater bot 415a4ed84b
Localisation updates from https://translatewiki.net.
Change-Id: I70a5eb0ab858a15b9a8cf335f269707cb96ab529
2024-09-04 09:16:19 +02:00
Translation updater bot 18a6186085
Localisation updates from https://translatewiki.net.
Change-Id: I77d8cf0de22119a2e7c5b8d1b447f02618b42fa4
2024-09-03 09:32:19 +02:00
jenkins-bot 30897f824d Merge "Pause polling for new replies while saving" 2024-09-02 12:43:28 +00:00
Translation updater bot d7924d8e17
Localisation updates from https://translatewiki.net.
Change-Id: Ib4fc197de048c43a80f22faba77ffafdfd737e0d
2024-09-02 09:20:36 +02:00
Umherirrender 2308d9bba0 build: Rewrite exclude rule Generic.CodeAnalysis.AssignmentInCondition
The <exclude name=".."/> is managed by libup and when a rule passed,
it get removed from the list. Failing rules on update are added.

Setting the severity for the rule to none avoid that this is changed by
libup and it is more visible, that the disable is wanted and there is
nothing to "fix" as usually assumend for sniffs in the exclude list.

Follow-Up: I8adfdce01ea96f4b62dabd3dea130f9593c7e5ac
Change-Id: If42dade02c6ceed1e00f5a3dc846e1578b960ca6
2024-09-01 02:19:03 +00:00
Translation updater bot 31d67dd8e7
Localisation updates from https://translatewiki.net.
Change-Id: I30fc05f57201d81cbcc5fe20b1b490ead1cf1eff
2024-08-30 09:19:58 +02:00
jenkins-bot 99be8273ac Merge "Keep sending CAPTCHA info if an unrelated save error happens" 2024-08-29 09:12:43 +00:00
Translation updater bot 3a61298f8b
Localisation updates from https://translatewiki.net.
Change-Id: I41f0d021f358a8a62e13aa15b359d3d03a4de42e
2024-08-29 09:17:44 +02:00
jenkins-bot 3b70b1d555 Merge "Reattempt the save when something already created a temporary account" 2024-08-28 19:14:41 +00:00
Bartosz Dziewoński 890cec73b6 Pause polling for new replies while saving
Also fix stopPoll() not really stopping the polling if a request was
in progress while it was called.

Bug: T333576
Change-Id: Ie8f6f006c6fd23971e53586e6219992db23f48fc
2024-08-28 18:55:30 +02:00
Translation updater bot 1d19f51313
Localisation updates from https://translatewiki.net.
Change-Id: I6ff5d711503e4807f9e2ced1adabccf1474a8c75
2024-08-28 09:38:03 +02:00
Bartosz Dziewoński f76e47a3ef Keep sending CAPTCHA info if an unrelated save error happens
Bug: T371041
Change-Id: I72c73b0e323c794578edb14efcc9cc06e46a194b
2024-08-27 23:55:15 +02:00
Bartosz Dziewoński 4ff5bf253d Reattempt the save when something already created a temporary account
Bug: T368263
Change-Id: I2adcb83017daff578627aa02b04934be21eade44
2024-08-27 23:49:48 +02:00
Bartosz Dziewoński 5bb03b9e7f Fix missing definition of setSaveErrorMessage too
Follow-up to 6a17f6121c
and 4ec197a8cb.

Bug: T373288
Change-Id: I5250354fec0c217faa43a7fb2f51ee68c4116ab8
2024-08-27 23:15:06 +02:00
Translation updater bot f43e1fe58f
Localisation updates from https://translatewiki.net.
Change-Id: I485f8be44f143c904a1e590306e4514118b87114
2024-08-27 09:47:34 +02:00
jenkins-bot a74379a927 Merge "CommentController: fix a call to a missing setSaveErrorMessage" 2024-08-26 17:23:44 +00:00