Ed Sanders
dfdadee481
Simplify edit summary selection logic
...
Always select the default reply if it looks unchanged, i.e.
we see '...*/ Reply' at the end of the summary.
Bug: T263062
Change-Id: I0a79d9e5072d9d9df16c93435502f67524e2d2bc
2020-10-07 18:56:17 +01:00
jenkins-bot
485f9a4f8c
Merge "Add 'id' attributes in the "wrappers" test case"
2020-10-06 22:39:42 +00:00
jenkins-bot
f9276d6b84
Merge "Ignore other empty-ish things at the beginning of comments"
2020-10-06 00:34:31 +00:00
jenkins-bot
6d5b41ad2c
Merge "Remove number when reading heading node"
2020-10-05 23:22:35 +00:00
Ed Sanders
eeefd985d6
Remove number when reading heading node
...
Bug: T264561
Change-Id: I0e6235f6b7169665e403fd6db1812fe90e8932b0
2020-10-05 21:58:51 +01:00
Bartosz Dziewoński
9775a60ace
Add 'id' attributes in the "wrappers" test case
...
Change-Id: I40ca69586a915590e36dea45a90ab3f332931656
2020-10-02 23:47:47 +02:00
Bartosz Dziewoński
be2ec55114
Work around Chromium bug with triple-click selection and reply links
...
Through trial and error, I found that adding `display: inline-flex;`
avoids the issue, and does not seem to have any negative effects in
Chromium or other browsers.
Bug: T260072
Change-Id: I9a9ca1fdb57bb7dd6c1a0a70e330a2a503c8ec8e
2020-10-02 19:17:34 +02:00
Translation updater bot
db328e3571
Localisation updates from https://translatewiki.net .
...
Change-Id: I48bef47a30b39a0a71ac728cf7d7be3006b1416a
2020-10-01 08:30:04 +02:00
Bartosz Dziewoński
ed17f640b6
Ignore other empty-ish things at the beginning of comments
...
Follow-up to 432a959436
.
Bug: T264116
Change-Id: I0685cafab70c7e9d22f504f1a1309c9a28d6f2e1
2020-09-30 23:42:47 +02:00
jenkins-bot
91e87eb09a
Merge "Fix detecting username from the wrong links sometimes"
2020-09-30 18:18:02 +00:00
jenkins-bot
f7c7ba3c44
Merge "Ignore empty paragraphs at the beginning of comments"
2020-09-30 18:16:36 +00:00
jenkins-bot
5c61b23be1
Merge "Update test case to match actual output"
2020-09-30 18:16:35 +00:00
jenkins-bot
ff9137353c
Merge "Ignore HTML comments which are more than two lines from a reply"
2020-09-29 23:18:11 +00:00
Bartosz Dziewoński
17b7a481a2
Fix detecting username from the wrong links sometimes
...
When a timestamp directly followed a `<div>…</div>` tag (or perhaps
some other wrapper containing lots of content), we would detect the
username from the earliest links in the wrapper (furthest from the
timestamp), rather than the latest links (closest to the timestamp).
Bug: T262573
Change-Id: Id16449a86a731b13dc79846bb30ecf6554e26f1d
2020-09-29 22:31:24 +02:00
Bartosz Dziewoński
432a959436
Ignore empty paragraphs at the beginning of comments
...
The wikitext parser outputs `<p><br></p>` for empty paragraphs, so we
need to ignore `<br>` tags when searching for an "interesting" node
that marks the beginning of a comment. Otherwise the empty paragraphs
mess up the detection of indentation levels.
Bug: T264116
Change-Id: I84a97ab577baa7336b78935ccdc48041ecfc231a
2020-09-29 22:22:35 +02:00
Bartosz Dziewoński
385a5c1622
Update test case to match actual output
...
The tests pass either way because this trivial difference is ignored,
but it's annoying when trying to update changed tests.
Change-Id: I7ad1acad43e30a63843cfda4d0d08ff663ef3252
2020-09-29 22:22:35 +02:00
Ed Sanders
6b8312e610
Ignore HTML comments which are more than two lines from a reply
...
Bug: T264026
Change-Id: I989132d7599a7fa156dba46d87a9ed4b76322c0c
2020-09-29 11:30:03 +01:00
Translation updater bot
eaa0f2a5f0
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic9f54087244c1ce2e7f398f695e8e1e3aabb1963
2020-09-29 08:19:24 +02:00
Translation updater bot
2eb5f853d8
Localisation updates from https://translatewiki.net .
...
Change-Id: If80bf001d19d8000c59a992746e52c678840fb6f
2020-09-28 08:29:05 +02:00
jenkins-bot
75a3a62f0a
Merge "ReplyWidget: Pass initial config values to #setup, not to constructor"
2020-09-25 21:51:20 +00:00
jenkins-bot
c6e69d586f
Merge "Fix vertical alignment of action buttons when logged out"
2020-09-25 18:18:43 +00:00
Bartosz Dziewoński
48d5a67d41
ReplyWidget: Pass initial config values to #setup, not to constructor
...
The same ReplyWidget instance can be re-used when the user cancels
replying and then starts replying again to the same comment.
Previously, the initial values passed to the constructor (when switching
modes) would still persist in this case, even if they were incorrect.
Bug: T263061
Change-Id: I3dff007456bfd4f3149c718ae72fbf373a2e2913
2020-09-25 20:00:00 +02:00
Ed Sanders
06d42957a5
Fix vertical alignment of action buttons when logged out
...
Bug: T263871
Change-Id: Id2c39b630ddbbd6232f67a161de3f74f36a7cd6b
2020-09-25 17:54:00 +00:00
jenkins-bot
197f103081
Merge "Disable find-and-replace"
2020-09-25 16:58:17 +00:00
jenkins-bot
e555f13a21
Merge "Fix debug mode after language variant changes"
2020-09-25 14:21:04 +00:00
Ed Sanders
6790e5c41c
Disable find-and-replace
...
Bug: T263570
Change-Id: I075c1696f179eed2e0143c12082cee048c200227
2020-09-25 15:17:15 +01:00
Translation updater bot
6f59891196
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie953242e2130f54632a1970a7d4c5f8554c4afcc
2020-09-25 08:21:19 +02:00
libraryupgrader
6daa4d37c9
build: Updating mediawiki/mediawiki-phan-config to 0.10.3
...
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).
Change-Id: I9380c9cf278caf91529c38a35a316bffbaef9d5a
2020-09-25 00:22:53 +00:00
Bartosz Dziewoński
ca41a405ec
Fix debug mode after language variant changes
...
Follow-up to 329df8c953
.
Change-Id: I49f7d580a7e7c5dde7c234ca8905157e6a0f4f5d
2020-09-24 19:49:04 +02:00
Translation updater bot
670bd1d2c3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieb27a144fa3ea485624a10d032b790d8db8c5714
2020-09-24 08:28:35 +02:00
Ed Sanders
2a03b6e420
Add JSON serialize methods
...
Change-Id: Iaa24c39842cbe76370aaeba01eab2c991d290b8c
2020-09-23 20:35:57 +01:00
Translation updater bot
221f5c5884
Localisation updates from https://translatewiki.net .
...
Change-Id: Idd361065128c023458b75de9590880152f0e9e78
2020-09-22 08:34:18 +02:00
jenkins-bot
b1804fbb8b
Merge "Add content getters to Thread/Comment items"
2020-09-21 22:35:24 +00:00
jenkins-bot
101dda4200
Merge "Implement cloneContents on ImmutableRange"
2020-09-21 22:35:23 +00:00
jenkins-bot
e7206488a8
Merge "Collapse advanced drawer when clearing"
2020-09-21 21:08:03 +00:00
jenkins-bot
db82dce31f
Merge "Only reset summaryPrefixLength on user event"
2020-09-21 21:06:29 +00:00
jenkins-bot
e4fa3d3593
Merge "Always send edit summary, regardless of visibility"
2020-09-21 21:06:28 +00:00
Ed Sanders
e6b91ced43
Collapse advanced drawer when clearing
...
Bug: T263061
Change-Id: Ibcd95ce1c86548962b9b7ff7b62bd0d127f53b76
2020-09-21 20:52:47 +01:00
Ed Sanders
f98c487f0b
Update link in error message
...
This page was moved from the Extension to the Help namespace.
Change-Id: I670e7535357d93414cf5abd14cd78dad4e53dca7
2020-09-21 20:40:31 +01:00
Ed Sanders
9d3eea5fdf
Only reset summaryPrefixLength on user event
...
Bug: T263062
Change-Id: I323ce4dab0a430e2aeb906ae9cd5d6b48a179cff
2020-09-21 20:39:21 +01:00
Translation updater bot
e91f466115
Localisation updates from https://translatewiki.net .
...
Change-Id: I437eb574c6259646a1c4d62aa205d7cd61c4469e
2020-09-21 08:29:20 +02:00
jenkins-bot
18f3cbfb04
Merge "When preventing switching modes, don't log a type-specific action"
2020-09-18 13:55:38 +00:00
Translation updater bot
0067b7254a
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a80efe580b24ef1c1a0f12c18f0ee924f7636c6
2020-09-18 08:37:06 +02:00
David Lynch
b988eca191
When preventing switching modes, don't log a type-specific action
...
Just log dialog-prevent-show.
Bug: T259673
Change-Id: I336ad745a3bd92b9a5d40fc0962be2084a6cc589
2020-09-17 16:52:32 -05:00
jenkins-bot
636ca06e7e
Merge "Fix parsing links in Parsoid documents without short URLs"
2020-09-17 20:40:40 +00:00
Ed Sanders
5c2abccf2a
Always send edit summary, regardless of visibility
...
Bug: T262501
Change-Id: If5a8837afc8d91f4d46db1d928142d775da010c1
2020-09-17 20:06:51 +01:00
Translation updater bot
4eca97bcad
Localisation updates from https://translatewiki.net .
...
Change-Id: I49c42a98144cada0b68a55baf297a45f22181abd
2020-09-17 08:32:22 +02:00
jenkins-bot
e2b9f20a20
Merge "Add integration tests using pages from sr.wp"
2020-09-16 22:52:54 +00:00
jenkins-bot
328674d042
Merge "Parsing discussions converted to language variants"
2020-09-16 22:52:37 +00:00
Bartosz Dziewoński
f934e9aefd
Add integration tests using pages from sr.wp
...
For testing our handling of language variants.
Bug: T259818
Change-Id: Id25b537fecd789640c209ff7f30e777455a3aece
2020-09-16 22:07:16 +00:00