Translation updater bot
f1d1f1c5f7
Localisation updates from https://translatewiki.net .
...
Change-Id: Iea92d1e30030cda4d6124a814dc9fa663babb796
2022-03-08 09:01:34 +01:00
jenkins-bot
738e5461f8
Merge "Fix logic for finding the oldest comment in a bundle"
2022-03-08 02:23:57 +00:00
Ed Sanders
039d8e21e4
Fix logic for finding the oldest comment in a bundle
...
Follow-up to Ifba218871122901031a891034e709b886fc406da.
Bug: T302014
Change-Id: If1572a3ff13e922d86c0eca3d252cb196d329ea7
2022-03-08 02:13:54 +00:00
Ed Sanders
6869112aad
Use MessageWidget's showClose option
...
Change-Id: I81292bd84ce6feefdb852f6a636109f68e55291d
2022-03-08 01:25:22 +00:00
Translation updater bot
4460cd7fa9
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifd2b7bb0429512a523a1a764dc625d9ba3f15cd6
2022-03-07 08:10:54 +01:00
Reedy
524c8edf5c
Use namespaced EventLogging class
...
Change-Id: Ic9f11b12edb5da08c2f4b31bea2a6517737ee6af
2022-03-06 16:10:40 +00:00
Bartosz Dziewoński
b2ee19b441
Remove check for CDATA nodes
...
Added in 76289cdf73
,
should no longer be needed since we switch to Parsoid's
HTML parser in 3e6ab2c4d2
.
Change-Id: Ic0b7ed8089b71f2338e604f68d547759e069f0b2
2022-03-04 22:14:41 +01:00
jenkins-bot
d478371db3
Merge "Highlight new comments when refreshing"
2022-03-04 21:09:40 +00:00
jenkins-bot
80d0d6c78b
Merge "Show error message as soon as we detect the parent comment has been deleted"
2022-03-04 21:09:37 +00:00
jenkins-bot
a03db698db
Merge "Don't show auto-save notifications when dynamically updating the page"
2022-03-04 21:09:35 +00:00
jenkins-bot
0c93b16c21
Merge "Poll for new comments in the section you are replying in"
2022-03-04 21:09:32 +00:00
Bartosz Dziewoński
0030f4cb9b
Disable the biggest JS modifier test cases temporarily
...
Bug: T303074
Change-Id: I9bd284feb4ede27aadf99904fd230d9bfd778351
2022-03-04 20:22:11 +00:00
Translation updater bot
6b7ea63d24
Localisation updates from https://translatewiki.net .
...
Change-Id: I9767b557af29d5d7345252d7a411a5667ef057e2
2022-03-04 08:29:18 +01:00
Ed Sanders
4f91a0b883
Highlight new comments when refreshing
...
Bug: T300215
Change-Id: I72655e05dccbe96f9dfa4ccca4e91b3edf133d97
2022-03-04 00:40:29 +00:00
Ed Sanders
487be9e202
Show error message as soon as we detect the parent comment has been deleted
...
Bug: T300504
Change-Id: I654422f7931f50503e51500508aea728adf327a1
2022-03-04 00:40:29 +00:00
Ed Sanders
d619308098
Don't show auto-save notifications when dynamically updating the page
...
Bug: T302327
Depends-On: If94e603458a385ba6eb15c4e29144f72e3ad12ca
Change-Id: I28f965137b986d00ac7a020ca93d8dc5195f5d4f
2022-03-04 00:40:29 +00:00
Ed Sanders
da49448f43
Poll for new comments in the section you are replying in
...
Bug: T300504
Change-Id: I3a887ab2f5260bb4893a3d680103c9d8ec767f45
2022-03-04 00:40:29 +00:00
Bartosz Dziewoński
0c59779126
CommentItem: Fix warning when the comment is empty
...
Bug: T302927
Change-Id: I5e92a71327e9563adb2427da62647a21244b803c
2022-03-03 19:35:11 +00:00
Translation updater bot
6e75e580a9
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib2946e8d66499a2f9f609c328055e88026ae6841
2022-03-03 08:22:32 +01:00
jenkins-bot
3c91a800ed
Merge "Improve detecting already signed comments"
2022-03-02 14:14:13 +00:00
jenkins-bot
094b77b4bb
Merge "Handle reply/topic preview entirely server-side"
2022-03-02 14:13:59 +00:00
Translation updater bot
88132fbd99
Localisation updates from https://translatewiki.net .
...
Change-Id: I78c1dc54b1ddeecdf8c23243dad8f6b3a358ef95
2022-03-02 09:36:54 +01:00
Ed Sanders
1032db4878
Move (auto) topic subscription initialisation to separate file
...
Bug: T302805
Change-Id: Ia901cba731233719dd1d5916eb5211a551d34091
2022-03-01 21:27:08 +00:00
Ed Sanders
c70c1e76f3
Only bind page-level handlers once
...
Raise scope of pageThreads variable (renamed from `result`)
so we don't have to re-bind when it is updated, and use a
flag to ensure we only bind the handlers once.
Bug: T302810
Change-Id: I0a5b122b8e3f656f28f3dd4fa6aca8e7839be06b
2022-03-01 21:26:36 +00:00
Ed Sanders
f5d4df12a9
Move highlightPublishedComment to highlighter.js
...
Bug: T302805
Change-Id: I429148b16f790e1d1f5cbbd84fc35139727b4402
2022-03-01 14:44:21 +00:00
Ed Sanders
ecbe75c453
Move highlighting methods to separate file
...
Bug: T302805
Change-Id: Ie4a8ea3f351015ab5bb4b817ef997cf6d77428da
2022-03-01 14:29:10 +00:00
Ed Sanders
b6136c9a58
Rename highlighter to debughighlighter
...
Change-Id: I8c3873fb345fee3687efb1632f3eae36c030f9cf
2022-03-01 14:20:18 +00:00
Translation updater bot
9dacb95803
Localisation updates from https://translatewiki.net .
...
Change-Id: I93d01180b749df1d70b9a9ceeb51babb9babe546
2022-03-01 14:32:40 +01:00
jenkins-bot
0dc293fc20
Merge "Warn when target comments in a link can't be found"
2022-02-28 23:24:15 +00:00
jenkins-bot
e15ccb8a07
Merge "Highlight all comments since the oldest in a thread bundle"
2022-02-28 23:24:12 +00:00
Bartosz Dziewoński
be74938855
Warn when target comments in a link can't be found
...
Links are generated to:
* Single comments, by a user or by a notification
* Potentially multiple comments (new comments since T),
usually just by notifications.
If in either case no comments are found to highlight, warn the
user so they get some visual feedback that the notification worked
as expected, but that the comment was just deleted since.
Bug: T301602
Change-Id: I090c904481cf6f3e9f964fa43b10001e75b0bc90
2022-02-28 21:58:59 +00:00
Ed Sanders
dc8b4e8d4f
Highlight all comments since the oldest in a thread bundle
...
For topic subscriptions, further restrict this to comments
in the same thread.
Bug: T302014
Change-Id: Ifba218871122901031a891034e709b886fc406da
2022-02-28 21:58:10 +00:00
jenkins-bot
e4fa34f025
Merge "Don't insert comment markers inside replaced elements (like <video>
)"
2022-02-28 17:16:11 +00:00
jenkins-bot
542da89530
Merge "Don't detect comments within references"
2022-02-28 16:47:21 +00:00
Translation updater bot
8b96dace47
Localisation updates from https://translatewiki.net .
...
Change-Id: I6561cd9678b5dcd1719aea4c8d67a76f09fb8bbe
2022-02-28 14:28:36 +01:00
Translation updater bot
b83c527193
Localisation updates from https://translatewiki.net .
...
Change-Id: If928b4fc6e1b2d3e681c53c2fb29255834b3e7c5
2022-02-25 09:43:22 +01:00
Translation updater bot
b9284d30a3
Localisation updates from https://translatewiki.net .
...
Change-Id: I6f5ce2ef97c533adad6fe4ae2eb8bdacf6bc4b68
2022-02-24 08:49:03 +01:00
David Lynch
039372e925
New topic: skip tabbing into the mode tabs until you've focused the body
...
Bug: T295511
Change-Id: I23f964b5d02dc1486e1dcf71c64d337a600fdf9d
2022-02-23 11:24:58 -06:00
Bartosz Dziewoński
109f49bb56
Mobile: Only show "Add discussion" button if "New section" tab would be shown on desktop
...
Bug: T302417
Change-Id: Icd2acf19b8b7e4cf8893bbb37f80eafefe86acbb
2022-02-23 18:05:01 +01:00
Bartosz Dziewoński
e11beee2ad
Fix check for enabling features on mobile
...
When 'DiscussionToolsEnableMobile' was false, we were falling back to
the desktop configuration, rather than disabling everything.
When 'DiscussionToolsEnableMobile' was true, we were enabling the
selected features on every page, instead of only discussion pages.
Follow-up to b4f10c5638
.
Bug: T302388
Change-Id: Ib4a42d5acd9da528e931c74de7a870d4be513d69
2022-02-23 12:05:00 +00:00
Translation updater bot
0f51909e36
Localisation updates from https://translatewiki.net .
...
Change-Id: I1e24632298572eecc1aace5e0ca6a2543b9741c7
2022-02-23 08:18:51 +01:00
jenkins-bot
e48e058202
Merge "Mobile config: Always enable reply/newtopic tools on mobile, disable subscriptions"
2022-02-22 22:30:38 +00:00
Ed Sanders
b4f10c5638
Mobile config: Always enable reply/newtopic tools on mobile, disable subscriptions
...
Bug: T302326
Change-Id: I64ffc904046f7d9d2fa651c086876add35061e0a
2022-02-22 23:24:28 +01:00
Ed Sanders
d1b1745908
Avoid undefined index for mobileformat
...
Bug: T302344
Change-Id: I32844c61eeaf05771df2dd8b88e3c98f069cfada
2022-02-22 21:24:19 +00:00
Ed Sanders
ae554cdd66
Fix legacy hint URI on mobile
...
Bug: T302307
Change-Id: I7ce370bb011f0b30505c1b195bf6c96317b159e7
2022-02-22 15:31:13 +00:00
Bartosz Dziewoński
1e3ce9c88a
Don't insert comment markers inside replaced elements (like <video>
)
...
Also special-case thumbnail wrappers generated by
MediaTransformOutput::linkWrap, for compatibility with
TimedMediaHandler.
Bug: T301427
Bug: T302296
Change-Id: I7f48d8b2261507c5a33526c54109f5187d062ed3
2022-02-22 15:11:34 +00:00
Translation updater bot
1d40be1dd2
Localisation updates from https://translatewiki.net .
...
Change-Id: If8bf6c7e2f324f2550b6c96e47aafb61683480bd
2022-02-22 14:20:18 +01:00
Translation updater bot
54f2de2c45
Localisation updates from https://translatewiki.net .
...
Change-Id: I5db6282f24aa8721c04454e5606146e1fbe935df
2022-02-22 08:11:31 +01:00
Bartosz Dziewoński
8a2715bdd5
Move signatureScanLimit to a constant in JS
...
Change-Id: Ieb60c148fd060ab62e4a493e2d0dff6c051f945c
2022-02-21 22:42:14 +01:00
Bartosz Dziewoński
0ecc8a4c05
Improve detecting already signed comments
...
Previously, we required a signature at the end of the comment.
This was a pretty rough heuristic that did not correctly handle
many comments that we would consider entirely properly signed
in CommentParser (e.g. comments wrapped in formatting like
<small>…</small>, comments with a post-scriptum or in parentheses,
or comments generated by various templates).
Now we process the user input using the same code that adds reply
links, and only add a signature when we detect that there really
isn't a signature (including template-generated), or if the signature
is in the wrong place and would result in the reply link showing up
in the wrong place as well (not at the end of the comment).
Bug: T278442
Bug: T268558
Bug: T278355
Bug: T291421
Bug: T282983
Change-Id: I46b6110af328ebdf93b7dfc2bd941e04391a1599
2022-02-21 21:21:26 +00:00