libraryupgrader
41bd560880
build: Updating composer dependencies
...
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2
Change-Id: Ie0c391bea8742bfa25f2d5e54c2a8d3e32bc00a5
2022-05-21 02:45:49 +00:00
jenkins-bot
0a0d79962c
Merge "Ready A/B test code for topic subscriptions"
2022-05-20 22:17:50 +00:00
Translation updater bot
dba09b5cb3
Localisation updates from https://translatewiki.net .
...
Change-Id: I4b6c03d5ef9a7534d6f29ef538563cd44aa7dbfa
2022-05-20 08:36:25 +02:00
Translation updater bot
98663d4ff3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib3b55bf42c1ccc050c3c58cd301c7062f74706f3
2022-05-19 08:19:03 +02:00
David Lynch
b6f554a945
Ready A/B test code for topic subscriptions
...
Topic subscription test is going to be all logged in users only, no
transitory enrollment conditions, so we can remove the anonymous user
handling and DB writes.
Bug: T302515
Bug: T304030
Change-Id: I5e57bb9b7958576f3a04373748331a86f4626fb5
2022-05-19 01:09:40 -05:00
jenkins-bot
e792fa0159
Merge "CommentTargetWidget: Exclude save commands"
2022-05-19 01:14:11 +00:00
Ed Sanders
1cc94f91bc
CommentTargetWidget: Exclude save commands
...
Bug: T308709
Change-Id: Id614c8ecbdcdab237828d998fe898dcb9517ff47
2022-05-19 00:58:40 +01:00
Translation updater bot
06d7b329ad
Localisation updates from https://translatewiki.net .
...
Change-Id: I24f60f2e4b23db0b1626ac6795a520e21a5ed9c1
2022-05-18 08:19:32 +02:00
jenkins-bot
3141a9ed18
Merge "Ignore LRM and RLM in more places in the timestamp"
2022-05-17 19:42:05 +00:00
Translation updater bot
8bcaa95b2c
Localisation updates from https://translatewiki.net .
...
Change-Id: I3ff308df939f9710d35ad4fe6b5192f7f1af234b
2022-05-17 08:27:56 +02:00
Bartosz Dziewoński
6a59149132
Ignore LRM and RLM in more places in the timestamp
...
We previously ignored them before timezone indicator (e9c401e3aa
),
but they can end up in other places too, e.g. after the time.
Now we ignore them after every token. This is way overkill, but it
shouldn't hurt.
Bug: T308448
Change-Id: I20f7aaa34dba23f2a2faf1be258c1aea32ab770f
2022-05-17 02:00:22 +02:00
Translation updater bot
4e4c3db892
Localisation updates from https://translatewiki.net .
...
Change-Id: I745a63476554e332624cba7b87cad40b68899661
2022-05-16 08:24:13 +02:00
jenkins-bot
df0e84c0d1
Merge "Remove code for handling legacy HTML with data-mw-comment-name"
2022-05-15 20:20:43 +00:00
jenkins-bot
37b28fb36b
Merge "Fix reply links sometimes not working after visiting action=edit§ion=new with new topic tool enabled"
2022-05-15 13:45:06 +00:00
Ed Sanders
bfb3c24ecc
Remove code for handling legacy HTML with data-mw-comment-name
...
This can be merged a few weeks after the commit that introduces
it (If28e1588742), once all the HTML caches have been purged.
Change-Id: I96d2de081a23137fe11a66c8213535219ebfb230
2022-05-14 20:23:45 +00:00
jenkins-bot
1bc53f313c
Merge "Fix error message when trying to reply to transcluded comment on a protected page"
2022-05-14 09:23:50 +00:00
Translation updater bot
257cba8546
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic2873ec87c4af03038f119cf20dc8ad3a34a4034
2022-05-13 08:25:48 +02:00
Bartosz Dziewoński
28db9b8350
Fix error message when trying to reply to transcluded comment on a protected page
...
If the user can't edit, tell them why, instead of trying to
advise them to use the edit button that they cannot see.
Bug: T303110
Change-Id: Ibc41732a55443331e432987e630976610901c599
2022-05-13 01:56:51 +02:00
jenkins-bot
521760ecdc
Merge "Redesign "new comments" warning"
2022-05-12 17:21:23 +00:00
Ed Sanders
cf3e7c49d8
Redesign "new comments" warning
...
Bug: T300560
Change-Id: I5abf22b5a11c2639392a3d571c987ed5afaac2d6
2022-05-12 18:02:32 +01:00
jenkins-bot
1e326c5bc2
Merge "ReplyWidget: Fix 'returntoquery' handling for anon links"
2022-05-12 15:29:06 +00:00
Translation updater bot
53404f8fe0
Localisation updates from https://translatewiki.net .
...
Change-Id: I7222c4d57d3ab50dc15a9c0d142200c89933a0e3
2022-05-12 08:13:14 +02:00
Bartosz Dziewoński
f534e78cde
Fix reply links sometimes not working after visiting action=edit§ion=new with new topic tool enabled
...
getPageData() had an optimization where, when it was called with
isNewTopic=true, it would skip querying 'linterrors' and
'transcludedfrom' data and return fake empty responses.
The issue is that they were cached, and then returned when it was
called with isNewTopic=false later.
Remove this optimization, as we make those queries anyway on init.
Change-Id: I1990b16f574c1aec385bd0fa46a9f39c6c2c1df2
2022-05-12 03:38:31 +02:00
Bartosz Dziewoński
d7c390a6ca
ReplyWidget: Fix 'returntoquery' handling for anon links
...
mw.util.getUrl() already encodes the values, encodeURIComponent()
isn't needed.
Also, slice off the leading '?' – while MediaWiki seems to accept it,
it looks like it is never present in any other place using this
parameter (this is fine even if there are no query parameters).
Bug: T308198
Change-Id: Iee3747ab53e3b0a5a0b43a7701205ac0c7f07e7f
2022-05-12 03:23:29 +02:00
Bartosz Dziewoński
523efb065c
Make comment markers inline-block to fix comment wrapping in Safari (in headings only)
...
Previous attempt: I40da5272fd9c44a5a81e303349d0e8fc404e344d.
Limit the hack to only end markers and only inside headings
to avoid causing issues with page content.
Bug: T298371
Change-Id: I9dc95e17752b7f048eb3343dbeea3526359197c3
2022-05-12 02:31:22 +02:00
Ed Sanders
b76cf89b9b
Add missing 'undo' button on mobile
...
Bug: T308033
Change-Id: If3126cb213fb4a22a419b9b85fdca32b20863f03
2022-05-11 17:37:08 +01:00
Translation updater bot
7fd82831d4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie0543e475d94d32f9d127202c6ab6dff281edadd
2022-05-11 08:11:31 +02:00
Translation updater bot
7e52eb542b
Localisation updates from https://translatewiki.net .
...
Change-Id: I52c823dbeffeab1a69fd86a664fc3ffb32e16427
2022-05-10 08:09:23 +02:00
jenkins-bot
804946edca
Merge "Dismiss "new comment" highlights when clicking"
2022-05-09 17:33:58 +00:00
Translation updater bot
5afb6cd68b
Localisation updates from https://translatewiki.net .
...
Change-Id: I1a5998d6a94c927c8190b900cba26714225f71a9
2022-05-09 08:11:36 +02:00
Ed Sanders
95ec3e7920
Dismiss "new comment" highlights when clicking
...
Bug: T307807
Change-Id: I40ae5fdbadfb223b1484ebf6041d29263aafa347
2022-05-06 17:44:21 +01:00
Ed Sanders
4fb474d611
build: Update stylelint-config-wikimedia to 0.13.0
...
Change-Id: I164d6175f8077487e2d8dfbf0bcfbd13f1545cae
2022-05-04 23:25:06 +01:00
Translation updater bot
b7a81cfc94
Localisation updates from https://translatewiki.net .
...
Change-Id: I4d7a9cd8f9ccd88c74fbc6a4b8a8bc23a137075e
2022-05-04 08:18:24 +02:00
Translation updater bot
5a236b6864
Localisation updates from https://translatewiki.net .
...
Change-Id: Id55fe0cf66cf7a9b38cfe0e3300a986b2d80a124
2022-05-03 08:45:13 +02:00
Translation updater bot
f6e2062188
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib0f68f1f5ca2d038393ecb79b5e0945e751dd118
2022-05-02 08:19:27 +02:00
Translation updater bot
8bc10a1cdc
Localisation updates from https://translatewiki.net .
...
Change-Id: Id7db01fd6a987efce2f7223dc1ae9231cecfd970
2022-04-29 08:42:51 +02:00
Translation updater bot
fc8825a0b8
Localisation updates from https://translatewiki.net .
...
Change-Id: If073ef94f4c1064bc58e162164c8e4b6a0a28e69
2022-04-28 09:28:27 +02:00
libraryupgrader
d3e19be43d
build: Updating grunt to 1.5.2
...
Change-Id: Iabd2bcceebfe962c5c8f74dfbf93f04daf40cfd2
2022-04-27 10:13:42 +00:00
Translation updater bot
f8cabe6678
Localisation updates from https://translatewiki.net .
...
Change-Id: I8c31c16b7bafe7f34df2362cbe89513da92c2973
2022-04-26 08:54:02 +02:00
Translation updater bot
9918b68563
Localisation updates from https://translatewiki.net .
...
Change-Id: I0a832eac020dbeb2d86c4aabd222f1a7a338b349
2022-04-25 08:17:43 +02:00
Translation updater bot
4b8ad4c21c
Localisation updates from https://translatewiki.net .
...
Change-Id: I4c129a4bea6943dfa1abfdc945ee4ed5b6e72abb
2022-04-22 08:23:04 +02:00
jenkins-bot
4f25201193
Merge "highlighter: Set the location hash for new topics on desktop as well"
2022-04-21 23:55:19 +00:00
jenkins-bot
90018a5b55
Merge "highlighter: Ensure items in .ranges and .$element are in the same order"
2022-04-21 23:55:17 +00:00
jenkins-bot
d35c96db97
Merge "Mobile empty state adjustments: hide image, bigger button"
2022-04-21 21:48:07 +00:00
Bartosz Dziewoński
f411f1c342
highlighter: Set the location hash for new topics on desktop as well
...
The old section=new wikitext editor does this, and I'd rather support
the same behavior on desktop and mobile than different ones.
Follow-up to 89a1efc9d8
.
Change-Id: I5371f932680638ee159f2f713bbca44bba5675aa
2022-04-21 22:36:35 +02:00
David Lynch
faff90b96b
Mobile empty state adjustments: hide image, bigger button
...
Bug: T305261
Change-Id: I503a62fafaebfe17e1dd2181e543dcc2dbac9eb1
2022-04-21 11:48:23 -05:00
Translation updater bot
e8f7b099ce
Localisation updates from https://translatewiki.net .
...
Change-Id: I0ccede114ea9262e28f0090729bd5f09f9abbc61
2022-04-21 08:12:03 +02:00
jenkins-bot
40b9b7a536
Merge "Avoid duplicating page content if there are multiple .mw-parser-output elements"
2022-04-21 01:02:06 +00:00
jenkins-bot
32027a313b
Merge "ReplyWidget: Fix text-align when content and user language have different direction"
2022-04-21 01:00:12 +00:00
Bartosz Dziewoński
d910663bbc
highlighter: Ensure items in .ranges and .$element are in the same order
...
jQuery#add sorts the nodes in DOM order (and removes duplicates).
We did not sort the ranges, so they could end up in a different
order, causing #update to apply the CSS to the wrong nodes.
This was usually harmless, but it could cause incorrect rendering
when some elements are positioned or hidden.
Change-Id: Ic359db08dafa3d86a5778426a7dc2419c94feabd
2022-04-20 19:41:44 +02:00