Commit graph

3285 commits

Author SHA1 Message Date
Translation updater bot 538aa61574 Localisation updates from https://translatewiki.net.
Change-Id: I35561e67f98fbbef0d83170bab1ff0270f6f85a3
2023-03-13 08:38:47 +01:00
libraryupgrader 3561760067 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic

Change-Id: Ibc7772bf066adb53eaac52b2b5539b418c9618f6
2023-03-12 00:45:46 +00:00
Translation updater bot a654c0c2b4 Localisation updates from https://translatewiki.net.
Change-Id: I82404b581c009d771b82831a299706ea8a983def
2023-03-10 08:48:21 +01:00
jenkins-bot 3fd625a6cc Merge "Allow overflow from section containers on mobile" 2023-03-09 22:54:43 +00:00
David Lynch 722ce7d6be Clicking "reply" was broken
Follow up to I4ee024cc4760542790319f302f42b1b2389ac897

Bug: T269310
Change-Id: Ibb7b3eda52965035ed34b101582fda32f6867ba0
2023-03-09 13:26:33 -06:00
David Lynch fbd5f575a4 Allow overflow from section containers on mobile
The ellipsis buttons in sections on mobile weren't able to properly show
their dropdowns or parts of their highlight because of the section
overflow we applied with visual enhancements. Because this was added for
a block context to contain the floating subscribe links, scope this to
mobile where that shouldn't be a concern.

Bug: T330536
Bug: T330537
Change-Id: Ic9787d6ca622a8f8bfbf9797353129e7fa40f4b7
2023-03-09 10:50:38 -06:00
Translation updater bot aa5a4737d1 Localisation updates from https://translatewiki.net.
Change-Id: Ib080602a7720733a57eab30b0933e22e37dd8352
2023-03-09 09:04:36 +01:00
jenkins-bot 663170fb2d Merge "Support '&preload=...' etc. in new topic tool when '&dtpreload=1' is set" 2023-03-08 20:55:32 +00:00
Translation updater bot eb164a5a26 Localisation updates from https://translatewiki.net.
Change-Id: I4b476ba964beee06cc016fd27befb62ae9c24fb2
2023-03-08 08:42:02 +01:00
Translation updater bot d6ba810891 Localisation updates from https://translatewiki.net.
Change-Id: I594335406e56a3d5e13dc2341312332e182c1563
2023-03-07 08:44:32 +01:00
Ed Sanders 1453c1023d Disable section toggling on mobile when replying
Bug: T320753
Depends-On: I5e199d404b622fae014f1f9489f65464dab8295b
Change-Id: Ib6c92dc96484282fcc0773991b1a0a80fe97e962
2023-03-06 15:01:42 +00:00
Translation updater bot b38cb42a57 Localisation updates from https://translatewiki.net.
Change-Id: I6a2774b1f8bf1bf98b37cedc63a1993bc4a10ba5
2023-03-06 08:33:12 +01:00
Translation updater bot 2fdb6dd928 Localisation updates from https://translatewiki.net.
Change-Id: I69117f790ecd516ef63c74152a06681074d25e66
2023-03-03 09:31:58 +01:00
Translation updater bot 13a79204a8 Localisation updates from https://translatewiki.net.
Change-Id: I9f920da598c6a679deb9388cb51cf870af9ea374
2023-03-03 08:47:42 +01:00
Translation updater bot 8d3f807e2d Localisation updates from https://translatewiki.net.
Change-Id: I455e0662bc0da585959c127f47eb644ac26e86a2
2023-03-02 08:42:40 +01:00
Translation updater bot bc3e40940d Localisation updates from https://translatewiki.net.
Change-Id: Ieec4f00b4138d223a7335796a51886692797ab0e
2023-03-01 08:23:44 +01:00
Translation updater bot 6f26d09d20 Localisation updates from https://translatewiki.net.
Change-Id: Ie0cbddfff7ec3189c9a41f95eb330ef8e9373512
2023-02-28 08:28:49 +01:00
jenkins-bot 2750f2cc53 Merge "Use the new method of getting database object" 2023-02-27 18:24:43 +00:00
Translation updater bot c7537a8367 Localisation updates from https://translatewiki.net.
Change-Id: I9eee44cef05bc81b8581e79704732decabe2b149
2023-02-27 08:27:26 +01:00
Bartosz Dziewoński ffb8e164cb Revert "Remove dtenable API hack"
This reverts commit a1217913ae.

Unfortunately still needed. The reply links can be disabled by just
CSS, but to enable them, we also need to generate the HTML markup,
which isn't done unconditionally. An issue with links disappearing
was reported here:
https://en.wikipedia.org/wiki/Wikipedia_talk:Talk_pages_project#c-Pelagic-20230226035400-PPelberg_(WMF)-20230223000100

Change-Id: I905d3267191193362c278d23145912f4aa0ce139
2023-02-26 22:11:59 +00:00
Bartosz Dziewoński 79675507d2 Remove more unused CSS for .ext-discussiontools-init-replylink-divider
Follow-up to cf6c18f364.

Change-Id: I4af2062e708866ee1b9a0a5947fb5f9eb95c2bbb
2023-02-25 21:31:06 +01:00
Hgzh3 4c0cc92014 Add German aliases for special pages
Change-Id: I864d12c437ed086d4e2f994934a7148167065bc1
2023-02-24 20:15:02 +00:00
Translation updater bot 730f5115d5 Localisation updates from https://translatewiki.net.
Change-Id: Ia58409a7dd0a6f265f8f17c63382f125ad8f3e91
2023-02-24 08:59:46 +01:00
jenkins-bot bfc2fb293f Merge "foreign-resources.yaml: Add extra fields" 2023-02-24 00:12:38 +00:00
jenkins-bot 45fe4c3bec Merge "Disable on LiquidThreads pages" 2023-02-24 00:11:35 +00:00
jenkins-bot 843b24478a Merge "Undo inline-flex hack, fix alignment of buttons with text when wrapped" 2023-02-24 00:11:31 +00:00
jenkins-bot 9a3ac50afd Merge "Remove unused CSS for .ext-discussiontools-init-replylink-divider" 2023-02-24 00:06:05 +00:00
jenkins-bot 112ea30c01 Merge "Remove some px font-size overrides on topic metadata and buttons" 2023-02-24 00:04:47 +00:00
Bartosz Dziewoński 869520a6d0 Undo inline-flex hack, fix alignment of buttons with text when wrapped
Bug: T325416
Bug: T260072
Change-Id: I8f5daeeb9869ba3a23ffb45e6c5ec3b360d810c8
2023-02-24 00:16:47 +01:00
Reedy 27b14740ea foreign-resources.yaml: Add extra fields
Bug: T330432
Change-Id: Ia4926884c22dfd7019c8c7467850395646fad78c
2023-02-23 23:10:43 +00:00
Ed Sanders 79a62f539d ThreadItem: Add display names to getAuthorsBelow
Change-Id: I4195f982d7071fea0d0334908535639a11cdcae9
2023-02-23 23:03:35 +00:00
Ed Sanders b82af45735 CommentParser: Output display name if different to username
The only normalisation we apply for comparison is lowercasing.

Change-Id: Id3d57c2066429fcedc7dcc091e74ed46e17060f1
2023-02-23 23:03:32 +00:00
Bartosz Dziewoński cf6c18f364 Remove unused CSS for .ext-discussiontools-init-replylink-divider
Not used anywhere, not even in gadgets. I guess it was for other
planned features, but it can be added back when needed.

Change-Id: I858e8854567ffae6ff11ba61d99b4b09b12dc7d7
2023-02-23 23:26:03 +01:00
Amir Sarabadani a1ee2d6daf Use the new method of getting database object
Bug: T326274
Change-Id: I40c6efee0d13ebb6f345ac9f13d243d730b146b9
2023-02-23 12:57:16 +01:00
Translation updater bot 1c1edc2b46 Localisation updates from https://translatewiki.net.
Change-Id: If98b15f6809bad0fe6619c019cc4f2c575ad3cd8
2023-02-23 08:38:54 +01:00
Translation updater bot cd9e3ae82e Localisation updates from https://translatewiki.net.
Change-Id: I09966485da3f1876fdc48b203bc52b9168537506
2023-02-22 09:00:24 +01:00
Translation updater bot 74a5f2ae15 Localisation updates from https://translatewiki.net.
Change-Id: I31371db37252f4ea176e28141c66e80684fac120
2023-02-21 08:20:56 +01:00
Translation updater bot 3b5925d0de Localisation updates from https://translatewiki.net.
Change-Id: Icb79b6f2a6eb3aa171171f8e83ac6680a00f9f61
2023-02-20 09:46:19 +01:00
Translation updater bot 76a303b2c6 Localisation updates from https://translatewiki.net.
Change-Id: Ic989867ccf148ea6a1e01db45e5d52ba8d10a74f
2023-02-17 08:55:49 +01:00
jenkins-bot b384a7ffc6 Merge "LedeSectionDialog: Fix double scrollbars in some cases" 2023-02-16 20:03:12 +00:00
jenkins-bot d3c451097b Merge "Special case opening new topic tool when VE or 2017WTE is open" 2023-02-16 16:47:16 +00:00
jenkins-bot 763796c58c Merge "Prompt IP users that they can be notified of replies if they sign in" 2023-02-16 16:24:53 +00:00
Translation updater bot 8a7e0052f8 Localisation updates from https://translatewiki.net.
Change-Id: I6646eb7a6fd40a98c6b9e8eb8ac84904ae37d5c5
2023-02-16 08:46:18 +01:00
Bartosz Dziewoński 4b7ba72c83 LedeSectionDialog: Fix double scrollbars in some cases
There's no need for this PanelLayout to be scrollable, as the dialog
body itself is scrollable, and this is causing an unnecessary
horizontal scrollbar to appear on some pages (for example
https://de.m.wikipedia.org/wiki/Wikipedia_Diskussion:Hauptseite).

Change-Id: I516cae8ca006b57360fe85a2eba099913b38ce84
2023-02-16 01:04:14 +01:00
MarcoAurelio eccb927956 Add Spanish aliases
Change-Id: I661cc6e01bc1bdadc72a0e837d2c8047a25c01b0
2023-02-15 18:35:52 +00:00
Bartosz Dziewoński 5af3e90fec Support '&preload=...' etc. in new topic tool when '&dtpreload=1' is set
To avoid affecting existing preload forms, the new topic tool is only
used when the 'dtpreload' query parameter is also set.

Bug: T269310
Change-Id: I4ee024cc4760542790319f302f42b1b2389ac897
2023-02-15 16:39:38 +01:00
Translation updater bot 0814fd89ee Localisation updates from https://translatewiki.net.
Change-Id: Ia416c2527c881d940e4bb3d421842d61560b0061
2023-02-15 08:25:34 +01:00
Lectrician1 3e109725b7 Prompt IP users that they can be notified of replies if they sign in
Changes the notice IP users see when creating a reply or or a new topic to include that they can be notified of replies if they sign in

Bug: T328951
Change-Id: I91470092c92f47da36fc613de2fdb838fbc68d2e
2023-02-15 05:00:17 +00:00
Bartosz Dziewoński e6681772da Avoid unneeded queries in isAvailableForTitle()
Don't check the 'newsectionlink' property if we don't need it.

Also improve comments.

Change-Id: I50a84ba5e21ffd22859e770329522babf6e729c8
2023-02-14 16:53:48 +00:00
Bartosz Dziewoński 445b8caca0 persistRevisionThreadItems: Avoid listing non-discussion pages
Bug: T329627
Change-Id: I52a9f5dfa583d8dc2e0a315844a2a40e538f6a8c
2023-02-14 17:53:27 +01:00