jenkins-bot
182c247930
Merge "Show confirmation prompt if trying to submit a new topic without a title"
2024-08-12 17:02:08 +00:00
Jon Robson
f065c46e6b
Dark mode styles should not apply to printed content
...
Bug: T371331
Change-Id: I5bd5e530d1262c7e52e1725959e07776ff9f3704
2024-08-08 20:32:16 +00:00
jenkins-bot
8c9ec66df3
Merge "Fix attachment of toolbar dialogs"
2024-08-06 20:27:30 +00:00
David Lynch
da47997ef4
Fix attachment of toolbar dialogs
...
getToolbarDialogs defaults to the `side` position, but we actually want
the `above` one here.
Bug: T371341
Change-Id: Ib42f6a4877d3b0efb87199f60cce7a7416ce9b8a
2024-08-06 11:39:44 -05:00
Ed Sanders
d8f564fe71
Show confirmation prompt if trying to submit a new topic without a title
...
Bug: T334163
Change-Id: Ib961632636d5b7134219cddde1638c6962209001
2024-08-06 09:44:27 -05:00
Ed Sanders
6a17f6121c
Move reply widget controlling logic to CommentController
...
Some of what happens when you click reply happens in
CommentController (in #save) and some error handling
happens in ReplyWidget (in #onReplyClick).
Move most of the logic to CommenController.
Change-Id: Ib6208c0b8d2ddbbcf08adfcca7875ab8b026f598
2024-08-06 09:44:27 -05:00
Hannah Okwelum
4403887e88
Prepare Less styles for math=parens-division
...
Bug: T368921
Change-Id: I4c6db2d39883d31cf4216da0e3d79136287bf960
2024-07-31 20:12:15 +01:00
Sjoerd de Bruin
f986dc1924
Apply word-wrap:break-word; to .ext-discussiontools-init-pageframe-latestcomment
...
Bug: T369599
Change-Id: I3b1739e4e0ed257dd149d29d9d112983204dde0b
2024-07-09 19:37:30 +02:00
Bartosz Dziewoński
eb497b00c7
permalinks: Only handle unmodified left clicks
...
Allow using Ctrl+click to open the link in a new tab, or Alt+click to
select the text, without annoying side effects.
Change-Id: I3ab4c1ec3d5fc6c69e7f44489bbe63c536a64b91
2024-07-02 10:38:42 +02:00
jenkins-bot
6796c26cc9
Merge "Fix color contrast issues in DiscussionToolsDebug in night theme"
2024-07-01 15:59:54 +00:00
jenkins-bot
1be8a4e281
Merge "Use green rather than yellow for newly posted messages"
2024-07-01 15:59:52 +00:00
jenkins-bot
76dad90e28
Merge "Fixes background of talk page highlights in dark mode"
2024-07-01 15:59:51 +00:00
Jon Robson
b3bb486e30
Fix color contrast issues in DiscussionToolsDebug in night theme
...
Visual change: tokens are switched out for closest available.
Bug: T366524
Change-Id: I185bf496e3b2974ec4cb873719327e6898ca57db
2024-06-28 17:12:52 +00:00
David Lynch
edb23dc849
Permalink copying: fix another reference to e.target
...
Bug: T368701
Change-Id: Iae20e4573dfc12ea9d4010390fe2acb135e1b1cd
2024-06-28 11:05:11 -05:00
David Lynch
cd39c267b5
Permalink copying: use currentTarget to avoid conflicts with userscripts
...
Bug: T368701
Change-Id: I70b1cbf8aaf917ed843f003eec7bbd61db39ecc7
2024-06-28 10:17:27 -05:00
Jon Robson
f81739f8b4
Use green rather than yellow for newly posted messages
...
Use @background-color-success-subtle following discussion
Bug: T368086
Change-Id: I216fdb576ee9066df0c3cd3bc62d424f258fe265
2024-06-27 15:45:34 -07:00
Jon Robson
6896c8c879
Fixes background of talk page highlights in dark mode
...
Bug: T368086
Change-Id: I6ca92afeba448f953d1ef5f54d7f1e966c017b48
2024-06-27 15:45:34 -07:00
bwang
e830713b64
Fix white on white text in source preview
...
Bug: T367432
Change-Id: I2beabfe21e0c7402804a6968d983b8ef96b5329b
2024-06-27 09:51:06 -05:00
Ed Sanders
66ddcf5b64
Remove A/B test code
...
It's unlikely we'll do another feature A/B test any time soon.
Bug: T322492
Bug: T341491
Depends-On: Ia3712e2930fcd971bce44f568430602ce3949f23
Change-Id: I1ef4191f9466b7420a2fead571615ed6d49f873e
2024-06-21 21:08:15 +00:00
jenkins-bot
fb4d4d77a5
Merge "Trim whitespace from truncated heading titles in IDs"
2024-06-20 02:20:23 +00:00
Ed Sanders
9e9ad65f2b
build: Update eslint-config-wikimedia to 0.28.2
...
Change-Id: Ifb0eb261325544fceeb16d13be31bbf303e64124
2024-06-13 17:28:06 +01:00
jenkins-bot
a3adda8ed7
Merge "Remove jquery.makeCollapsible workarounds for mobile"
2024-06-10 19:29:49 +00:00
Ed Sanders
e9f412f4c0
eslint: Remove no-op config
...
Change-Id: Idcc2f4e4edeb57d1fb11deb4e798529f14466c9b
2024-06-06 16:30:49 +01:00
Ed Sanders
39f106ebf4
build: Update stylelint-config-wikimedia to 0.17.1
...
Change-Id: Ie6c51769e5037cd27ec4b04858ad3c2dcf0db81e
2024-06-05 18:36:37 +01:00
Bartosz Dziewoński
2c9264e412
Remove jquery.makeCollapsible workarounds for mobile
...
The module is now loaded normally by the Minerva skin (T111565).
Bug: T323639
Change-Id: I9121410c20fffd651c81c26b84b861ec9300881f
2024-06-04 00:56:58 +02:00
Ed Sanders
bf09928773
build: Update eslint-config-wikimedia to 0.28.0
...
Change-Id: Ie6bcea16debc74d3dd1283f6a4975fb3bd5056b0
2024-06-03 18:37:15 +01:00
Ed Sanders
1900b2d383
Drop IE basic support
...
Use the better method for inserting spaces after the
talk namespace, now that IE support is not required.
Change-Id: Id07e91e13bc0b19c467380e6aa5d3ebd7a4db106
2024-05-30 17:26:26 +01:00
jenkins-bot
ff59532fdc
Merge "Keep all buttons in "reply" group on one line"
2024-05-28 18:26:43 +00:00
Ed Sanders
49aaeba740
Keep all buttons in "reply" group on one line
...
Specifically, the "Reply" button and [...] overflow menu.
Change-Id: I66f9cf01a0ef31f31b28bfe185a39b4d22d69913
2024-05-28 18:37:21 +01:00
Bartosz Dziewoński
9d73c46d99
Percent-decode the permalink when copying
...
Bug: T357021
Change-Id: Ic71c030e6796695de5ff88a940adb86d63996e7f
2024-05-28 18:22:30 +02:00
Ed Sanders
a86897f890
Comment thanking
...
Bug: T249893
Change-Id: I64f7abc26bfc3e7b226340934a637a555edf754f
2024-05-28 17:47:09 +02:00
Ed Sanders
177639f5be
Use Array#push instead of Array#concat
...
Change-Id: I605e726fce1cf1acf39ffdcfe8c7cd51c032a372
2024-05-24 17:28:37 +00:00
Ed Sanders
ea5639b20b
ESLint: Enforce prefer-const
...
Change-Id: I5985d1b532988bb3b71ff1aa24eae57ac2e1b9c5
2024-05-24 16:50:13 +01:00
Ed Sanders
44303de9cf
ESLint: Replace some lets with consts by moving declarations
...
Change-Id: I710bff5fe04268172a40af75eb6ff5910eaf0255
2024-05-24 16:50:13 +01:00
Ed Sanders
dda9227947
ESLint: Manually fix remaining no-var violations
...
Change-Id: I4474bd0205e7a1ed8e60147e52675e3e0b93ccd9
2024-05-24 16:50:11 +01:00
Ed Sanders
ca5157156a
ESLint: Autofix no-var rule
...
Leave rule off for now as manual fixes are required.
Also temporarily disable prefer-const rule as that
will also require some manual fixes.
Change-Id: I8c3478f26f51287acb943bd38c9c1020c06b9f39
2024-05-24 16:49:36 +01:00
jenkins-bot
5689650a6a
Merge "Replace $.extend with Object.assign"
2024-05-02 21:42:02 +00:00
Ed Sanders
1e0aa2171f
Replace $.extend with Object.assign
...
Change-Id: Id559ab68451a1d767e92ed17b1ef0832a5f243af
2024-05-02 16:49:43 +01:00
Ed Sanders
2dd73f935c
JSDoc: {Mixed} -> {any}
...
Change-Id: I78bdc1ec8767dca05e979d8c6ebfed72573acc6f
2024-05-02 10:36:24 +01:00
Ed Sanders
501046f38c
Trim whitespace from truncated heading titles in IDs
...
Bug: T356196
Change-Id: Iddcda0cee624fda7f78a05e0a3d70eaee2635da9
2024-05-01 14:20:12 +01:00
jenkins-bot
28a529b31d
Merge "CommentController: Delay polling on error"
2024-04-30 20:03:09 +00:00
jenkins-bot
3c4b5364f2
Merge "Prefer short arrow functions"
2024-04-30 16:57:37 +00:00
jenkins-bot
8b9a813b11
Merge "Clean up handling of <span class="mw-headline">
"
2024-04-30 16:48:56 +00:00
jenkins-bot
9f7de3e917
Merge "Remove the "offset" from getHeadlineNodeAndOffset()"
2024-04-30 16:48:54 +00:00
Bartosz Dziewoński
ede626faa2
Remove unused styles for .mw-ui-icon
...
The mobile site no longer uses the .mw-ui-icon class.
Change-Id: I212c743997839eeca63a23bf618436787af32fa4
2024-04-29 18:55:43 +02:00
Bartosz Dziewoński
1bfd97580e
CommentController: Delay polling on error
...
Use exponential backoff.
Bug: T362814
Change-Id: I436a700de3b89abbfa1f991bcf6dc7aa52008cbd
2024-04-26 04:56:34 +02:00
Bartosz Dziewoński
3cffe1190e
Clean up handling of <span class="mw-headline">
...
The PHP code should never see a `<span class="mw-headline">` node
since MediaWiki change If04d72f427ec3c3730e757cbb3ade8840c09f7d3,
but we have to support it for our old integration tests (T363031).
Improve code comments to explain this and move the handling to
one place, so that it can be deleted more easily in the future.
Follow-up to 08f61b2609
.
Change-Id: I5ab9d3373a6911c1456c30d844b66576b278a1b5
2024-04-20 00:16:45 +00:00
Bartosz Dziewoński
7445294b3b
Remove the "offset" from getHeadlineNodeAndOffset()
...
Since c6cd20f682
the offset is always 0.
Change-Id: I9c1c8230f897d8bb287ca47056f5fa9fb187d060
2024-04-20 00:34:32 +02:00
Bartosz Dziewoński
d4c5aebd8f
Prefer short arrow functions
...
When an arrow function body contains just a single `return` statement,
the braces can be omitted.
(Changes are mostly made by `grunt eslint --fix`, with only some line
breaks added by hand.)
Change-Id: I37f259f87085c8d20ed09cfa58a8456dd36cdc38
2024-04-20 00:08:51 +02:00
Ed Sanders
f509f91c71
Remove unnecessary IIFE
...
Change-Id: I1f23cd134d830afdf4d6afee5f1a399743c9eaa6
2024-04-19 12:34:28 +01:00