jenkins-bot
873ea3cd38
Merge "Avoid localized digits in internal timestamps in JS"
2022-07-13 17:35:46 +00:00
Translation updater bot
bb3a35ed90
Localisation updates from https://translatewiki.net .
...
Change-Id: I0fde9ec977949bbc470c3d5d8f81325134e8f7ec
2022-07-13 08:17:29 +02:00
Bartosz Dziewoński
2d3b497a21
Avoid localized digits in internal timestamps in JS
...
Unlike PHP DateTime, and unlike the .toISOString() method,
the Moment.js .format() method will output localized digits.
Bug: T312828
Change-Id: I49a250b1ad74d9395bf3f994379613cc121b5be4
2022-07-13 02:33:24 +02:00
Bartosz Dziewoński
f51d26fd3a
Parse 'DiscussionToolsTimestampFormatSwitchTime' config value as UTC
...
When the input to moment() doesn't define a timezone, it
defaults to the local timezone (as defined on the device,
not in user preferences).
Bug: T312828
Change-Id: I8d2e1c2f6feb5584af4bbf9fef39567eb87780ff
2022-07-12 14:10:09 +02:00
Translation updater bot
79a93ae397
Localisation updates from https://translatewiki.net .
...
Change-Id: Icb4c4fef2056e30ee5ffb54a85a03104540efbe5
2022-07-12 08:14:45 +02:00
jenkins-bot
d35ff76d81
Merge "Don't enable visual enhancements CSS on mobile when feature is "unavailable""
2022-07-12 00:26:22 +00:00
Ed Sanders
c3efa2fd89
ImmutableRange: Fix setStart/setEnd to avoid backwards range
...
The new behaviour better matches the DOM spec.
Change-Id: Ib795e99cdaeedfb1d9e03eb888dd0a243028a61e
2022-07-11 21:40:09 +00:00
Translation updater bot
a71a33153b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie5dce0c0ff7898a5f1989228eac09afd10ed05c1
2022-07-11 09:49:29 +02:00
Ed Sanders
f739160fb4
Fix infinite recursion when checking for the new topic tool on empty pages
...
Bug: T312689
Change-Id: Iaf5033a55e3840ef65be0c4994f8b6c00fe2551b
2022-07-09 12:48:17 +01:00
Ed Sanders
09a84e81e5
Don't enable visual enhancements CSS on mobile when feature is "unavailable"
...
Bug: T312683
Change-Id: Ifa66a62f335b5c2eee9c59284a0f4b851a83b94b
2022-07-08 22:42:39 +01:00
Translation updater bot
ddaf0d1084
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia364a0bffd5ade41a4d175325f41d03ac10f23d4
2022-07-08 08:52:26 +02:00
Bartosz Dziewoński
2bc76dabd7
Enable transformations in preview mode
...
We remove the [reply] and [subscribe] links when they should not be
visible (controlled by 'enableSectionEditLinks' option, which is
disabled when previewing).
Bug: T309423
Change-Id: Ie0d3fba2c4d166daac3ea2e117a246c9584284ca
2022-07-07 23:37:56 +01:00
jenkins-bot
caefb1ae39
Merge "Show new topic tool empty state on existing pages with no topics too"
2022-07-07 21:52:36 +00:00
Bartosz Dziewoński
a98cd369ba
Show new topic tool empty state on existing pages with no topics too
...
Bug: T312599
Change-Id: I316d2f119b9c899ffaeebc7ec288823c826db092
2022-07-07 21:45:44 +00:00
jenkins-bot
3bb23f30f8
Merge "Remove some unused or redundant styles"
2022-07-07 20:50:17 +00:00
jenkins-bot
1e479288be
Merge "Prevent the "Subscribe" button focus outline from being cut off"
2022-07-07 20:50:15 +00:00
jenkins-bot
31c35992f4
Merge "CommentController: Scroll before focusing in showAndFocus"
2022-07-07 20:26:23 +00:00
jenkins-bot
d779466b51
Merge "ReplyWidget: CSS tweaks for monobook"
2022-07-07 20:10:28 +00:00
jenkins-bot
d559f3bac9
Merge "ReplyWidget: Don't add border-radius when hovering mode tab"
2022-07-07 18:55:00 +00:00
jenkins-bot
d3557986fc
Merge "LanguageData: Accept abbreviations in $wgLocaltimezone"
2022-07-07 15:39:58 +00:00
Ed Sanders
d367b1fc50
ReplyWidget: CSS tweaks for monobook
...
Use 12.8px for interface, and 12.7px for content.
Move mode tabs away from the reply body so the underline can be seen.
Change-Id: I9cb9a611ca64595152f800e1e15b640402f6cb74
2022-07-07 16:24:49 +01:00
Ed Sanders
9f670d0ee0
ReplyWidget: Don't add border-radius when hovering mode tab
...
Change-Id: Ied05b70119ea724c126e88d30aa62e0f7526ba12
2022-07-07 16:24:06 +01:00
Ed Sanders
2a31eed846
CommentController: Scroll before focusing in showAndFocus
...
This removes the need for a setTimeout before scrolling.
Change-Id: I1c47d5635f66ed523b492c384464e2e6accabf01
2022-07-07 13:43:16 +01:00
Translation updater bot
e51697bb9e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ied48351bd6d86e259f608f8ceaaca08fe366bee4
2022-07-07 08:50:18 +02:00
Bartosz Dziewoński
0735258101
LanguageData: Accept abbreviations in $wgLocaltimezone
...
Bug: T312310
Change-Id: I4a2952ef834450b4c07c129d32292591a15110fb
2022-07-07 03:12:20 +00:00
jenkins-bot
a537837d99
Merge "Hide the lede section on mobile when DiscussionTools is enabled (2nd attempt)"
2022-07-07 00:55:44 +00:00
Esanders
d6a8c75899
Hide the lede section on mobile when DiscussionTools is enabled (2nd attempt)
...
Previously this was reverted in I28a5c774f5f after the initial
commit I3736b488046 caused T312177.
Bug: T311760
Change-Id: Iba65615378b183f0c970afff565f45cc878f1d71
2022-07-06 16:03:27 +01:00
Ed Sanders
eab257e3a0
New topic tool: Always disable when "Add topic" is not visible
...
Bug: T312210
Change-Id: I2c9eafccf5d240fdaf711be6ed1d2e4a0a11d673
2022-07-06 13:59:41 +01:00
Translation updater bot
bd7506e692
Localisation updates from https://translatewiki.net .
...
Change-Id: I51f525763ac59a23250351f14d29c2b26ab35573
2022-07-06 10:17:53 +02:00
Ed Sanders
72bb4aed13
Revert "Hide the lede section on mobile when DiscussionTools is enabled"
...
This reverts commit 69bfc6d6a2
.
Reason for revert: Caused T312177
Bug: T312177
Change-Id: I28a5c774f5f9d0391a8addf5b31b9c229fb40948
2022-07-06 00:31:54 +01:00
Bartosz Dziewoński
880f9755e0
Separate ContentThreadItem and DatabaseThreadItem etc.
...
Rename ThreadItem to ContentThreadItem, then create a new ThreadItem
interface containing only the methods that we'll be able to implement
using only the persistently stored data (no parsing), then create a
DatabaseThreadItem. Do the same for CommentItem and HeadingItem.
ThreadItemSet gets a similar treatment, but it's basically only for
Phan's type checking. (This is sad.)
Change-Id: I1633049befe8ec169753b82eb876459af1f63fe8
2022-07-04 23:35:50 +02:00
Bartosz Dziewoński
5c3277a196
Format number of comments in reply tool new comment warning
...
Bug: T312033
Change-Id: If8e95b9554eddec2f00c492885575266b02cc1af
2022-07-04 17:57:41 +02:00
Translation updater bot
be370351b4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie613e0f51fb8b5b7eee2cc95f00f4e54ac970713
2022-07-04 08:21:59 +02:00
Reedy
54464f0b0c
Add return type to jsonSerialize()
...
Bug: T311919
Change-Id: Ie77d7bc2902760972b8981a840bef91aae4ce5a3
2022-07-02 17:32:04 +00:00
jenkins-bot
00d63026a3
Merge "Halve the initial height of the reply widget on mobile"
2022-07-01 22:20:06 +00:00
jenkins-bot
4ed36bc03b
Merge "Reply widget mobile: Reduce space between footer and footer-links"
2022-07-01 22:19:25 +00:00
jenkins-bot
8a0703f29d
Merge "Reply widget mobile: Move reply/cancel buttons up into empty space of "advanced" bar"
2022-07-01 22:19:22 +00:00
jenkins-bot
11961a85a7
Merge "Reply widget: Simplify LESS expression"
2022-07-01 22:12:40 +00:00
jenkins-bot
8d474a1d1d
Merge "Have "Read as wiki page" link remove all DT content changes"
2022-07-01 17:39:52 +00:00
jenkins-bot
9282b7ac9e
Merge "Hide the lede section on mobile when DiscussionTools is enabled"
2022-07-01 17:38:47 +00:00
jenkins-bot
4c8f284963
Merge "Always hide overflow menu when topic containers disabled"
2022-07-01 17:26:08 +00:00
Ed Sanders
9d9dc7f26a
Halve the initial height of the reply widget on mobile
...
Vertical space is at a premium on mobile with the virtual keyboard.
The widget will auto-size when more text is entered.
Bug: T311836
Change-Id: I03ff7217f9ffe217f93a3dc95db2df018bd0d221
2022-07-01 15:05:00 +01:00
Ed Sanders
172960f887
Reply widget mobile: Reduce space between footer and footer-links
...
Bug: T311836
Change-Id: I6275ff67a909125398872e2f691e5b62d165d546
2022-07-01 15:05:00 +01:00
Ed Sanders
5014aa3c50
Reply widget mobile: Move reply/cancel buttons up into empty space of "advanced" bar
...
This reduces the overall vertical height of the tool
Bug: T311836
Change-Id: I095bff00686a54779d45efa73c3f8b74ba016702
2022-07-01 15:04:58 +01:00
Ed Sanders
1ad01e661a
Reply widget: Simplify LESS expression
...
Change-Id: I1d00c81377cfe83167384c83d3abd3f1bcdc2497
2022-07-01 13:38:01 +01:00
Translation updater bot
299d5ed151
Localisation updates from https://translatewiki.net .
...
Change-Id: I879911a0ba6d7e1c8c96e860796d0d4ecd7c1624
2022-07-01 08:52:24 +02:00
Ed Sanders
98b5371a8c
Have "Read as wiki page" link remove all DT content changes
...
As well as visual enhancements:
* Reply links
* Mobile lede section hiding
Change-Id: I14d591830620edf8bbaccb76b4bce0e87971d7c3
2022-06-30 23:02:50 +01:00
Ed Sanders
69bfc6d6a2
Hide the lede section on mobile when DiscussionTools is enabled
...
Bug: T311760
Change-Id: I3736b4880465359bcae9b903eecc57f1cd7674ef
2022-06-30 23:02:50 +01:00
Ed Sanders
ae3be4aaf5
Always hide overflow menu when topic containers disabled
...
Change-Id: I05fbaa89992cfec8db50407f74061da7d1aabe2d
2022-06-30 23:02:50 +01:00
jenkins-bot
45ae424f14
Merge "Add Korean special page alias"
2022-06-30 19:03:26 +00:00