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
na1307
d19cc7e9eb
Add Korean special page alias
...
Change-Id: Iedcf6561640193e3f2efcff3d65c3da91c153592
2022-06-30 10:48:20 +09:00
Bartosz Dziewoński
aedb682e06
Use interface language direction for topic metadata wrapper
...
Bug: T305286
Bug: T311663
Change-Id: I31d9f7997c8894c344548636eea6c9a823698269
2022-06-30 02:32:48 +02:00
Bartosz Dziewoński
e48f34e558
New topic hint: Avoid error about section editing when opened from diff
...
Bug: T311665
Change-Id: I22120a4d4dbe9ff6b9a285932ee9656bdfa0de09
2022-06-29 21:42:52 +02:00
jenkins-bot
32d4d879a8
Merge "Add some missing typehints"
2022-06-29 15:24:25 +00:00
Ed Sanders
4accd2fc7e
Add some missing typehints
...
Change-Id: Idb111dd907972d9e02dab4b26c3fc106b12b1035
2022-06-29 15:15:52 +00:00
jenkins-bot
9a531f1c68
Merge "Set height of ellipsis button to fix MenuWidget position"
2022-06-29 15:00:49 +00:00
jenkins-bot
a78cacc618
Merge "Mobile topic containers: Fix right alignment of ellipsis button"
2022-06-29 14:27:32 +00:00
jenkins-bot
45e7c01b62
Merge "New topic hint: Cleanup CSS"
2022-06-29 14:23:37 +00:00
jenkins-bot
c44da3739d
Merge "New topic hint: Add clear:both"
2022-06-29 14:22:49 +00:00
Ed Sanders
12dae82c70
Set height of ellipsis button to fix MenuWidget position
...
Bug: T311558
Change-Id: I6dedf488ec19cef02949f65a5b92e38f4e4c5f85
2022-06-29 12:28:01 +01:00
Ed Sanders
26cdf6789d
Mobile topic containers: Fix right alignment of ellipsis button
...
The icon element should be aligned with the right side
of the content area, like the expand/collapse button, and
the edit pencil in the main namespace.
Change-Id: I191a5984bafc6a478674dd5dccff0594a743ff18
2022-06-29 12:22:53 +01:00
Ed Sanders
ff97a06522
New topic hint: Cleanup CSS
...
* Use sibling selector instead of negative margin to reduce
space between hint and reply widget.
* Remove upstreamed right-padding for close button.
Change-Id: Ie51cd2208c2bebcbfeff08c249389085523193f0
2022-06-29 11:58:51 +01:00
Ed Sanders
90b2222341
New topic hint: Add clear:both
...
Bug: T311597
Change-Id: Id7e545b0c18fdd407cb096e3cc3d51415be9839c
2022-06-29 11:58:44 +01:00
Translation updater bot
cab67f96fd
Localisation updates from https://translatewiki.net .
...
Change-Id: I83ae7a4491b6614a80239b947641b32c33cca9cd
2022-06-29 08:35:02 +02:00
jenkins-bot
826fcc2229
Merge "ApiDiscussionToolsPageInfo: Fix fake headings with null name/id"
2022-06-29 03:17:32 +00:00
Bartosz Dziewoński
af6e4a29eb
ApiDiscussionToolsPageInfo: Fix fake headings with null name/id
...
name and id are supposed to never be null. Calling getName() or
getId() on this object would cause an exception.
Change-Id: I5f95b7d9e4ce4550b550ee758fc86f032b676731
2022-06-29 02:52:31 +02:00
Ed Sanders
56989d18a3
Fix hiding of topic container top-border when mw:tocplace present
...
Change-Id: I382cfeb10c7f8407b559526b0ca06e0dcddd2191
2022-06-28 15:18:13 +01:00
Translation updater bot
dac8380021
Localisation updates from https://translatewiki.net .
...
Change-Id: Idcbc286414115946eb8d5325326baeb2476bd071
2022-06-28 08:39:26 +02:00
jenkins-bot
cd86854235
Merge "Pass useskin/mobileformat when previewing/refreshing page contents"
2022-06-27 21:57:02 +00:00
jenkins-bot
db36c87210
Merge "Api: Make type/title required args of previewMessage"
2022-06-27 21:56:59 +00:00
Ed Sanders
d00fa80ff4
Use $.html to refresh page after save
...
As per If549a0e647ce8.
Change-Id: I6afdc4a80615617678d2d31c2c9e5830b07a6ef0
2022-06-27 17:34:32 +01:00
Ed Sanders
639fabf647
Pass useskin/mobileformat when previewing/refreshing page contents
...
These are required to render content correctly on mobile.
Change-Id: I421e1f172e208c4bf9d50eee68f1b0220a78dfbe
2022-06-27 17:15:28 +01:00
Ed Sanders
904f1c2f25
Api: Make type/title required args of previewMessage
...
Change-Id: I0a0d9bfe3510d9bd6076408ba3819c82cd44ec0c
2022-06-27 12:50:10 +01:00
Translation updater bot
2435a0859d
Localisation updates from https://translatewiki.net .
...
Change-Id: I709e27e8e28866e5e888cd5738b02fc456230a11
2022-06-27 08:17:54 +02:00
jenkins-bot
1650d05b0c
Merge "Update wording of visual enhancements preferences"
2022-06-26 12:28:11 +00:00
Ed Sanders
7fc5a0c29d
Topic containers: Design iterations
...
Bug: T310914
Change-Id: I9000f9902d612c58c6b3bc8b762232ca6dd9724f
2022-06-25 12:54:39 +00:00
Ed Sanders
63acc121fc
Thread containers: Link latest comment timestamp to corresponding comment
...
Bug: T309751
Change-Id: Id969bd7a76544d6024b8714c45cdfe5c59b71a0b
2022-06-24 21:44:21 +00:00
Ed Sanders
b1be63469b
Only enable visual enhancements in specific namespaces
...
Change-Id: I91643d3f07a9ee6f03a18f8e2787ab9cb61bc41d
2022-06-24 16:15:07 +01:00
jenkins-bot
bb04010ab0
Merge "Truncate timestamps in comment IDs / names"
2022-06-24 08:33:22 +00:00
Translation updater bot
1c05db4609
Localisation updates from https://translatewiki.net .
...
Change-Id: If78136f44b9347caecfec0a6f366c992a8139e6a
2022-06-24 09:30:33 +02:00