jenkins-bot
af6f6e6149
Merge "Disable "Share feedback..." links by default"
2022-11-08 22:04:08 +00:00
Ed Sanders
b4eb7fc9ad
Disable "Share feedback..." links by default
...
Will still be enabled on WMF wikis for now.
Bug: T322494
Change-Id: Ic0b79fdf459d4949d7604f5a213cb1851ca30901
2022-11-08 21:58:39 +00:00
jenkins-bot
c83bad9de8
Merge "Embed pageThread JSON in jsConfigVars instead of infusing HTML"
2022-11-08 18:59:48 +00:00
jenkins-bot
c0e757c716
Merge "ABtest for mobile, logged out users"
2022-11-08 18:41:38 +00:00
Ed Sanders
a00131a18f
Embed pageThread JSON in jsConfigVars instead of infusing HTML
...
Bug: T322651
Depends-On: I86d461756398780dc24949013f35b7730a481052
Change-Id: I85ee8e6ed6eba97b94f4e4c415fbc5286c234cce
2022-11-08 16:20:39 +00:00
Ed Sanders
317b8244dd
Move username completion tool after special character tool in toolbar
...
Bug: T322455
Change-Id: I19bfe4500850512411615b326b07ba0a47dcfd5f
2022-11-07 13:01:11 +00:00
Bartosz Dziewoński
29fbfb59c3
Tweak mobile "Read as wiki page" button placement
...
Bug: T320755
Change-Id: Ic647ff922161a6f8804dfd2a87249c6591cfb093
2022-10-31 22:30:56 +01:00
David Lynch
9021a45966
ABtest for mobile, logged out users
...
Bug: T320993
Change-Id: I3530c540ec20f8806abcd7010b4d4933d1b53cfc
2022-10-31 16:23:59 -05:00
jenkins-bot
61b89e44a9
Merge "Fix new topic tool appearing from autosave in edit mode"
2022-10-26 16:35:07 +00:00
jenkins-bot
f8601fc368
Merge "Fix new topic tool appearing from autosave in its own preview"
2022-10-26 16:34:42 +00:00
jenkins-bot
ffb5dd6a86
Merge "Add accesskey "s" to the "Reply" / "Add topic" button"
2022-10-26 16:32:58 +00:00
jenkins-bot
c9dadbfe7d
Merge "Remove support for <span class="mw-headline-number"> in headings"
2022-10-26 16:29:41 +00:00
jenkins-bot
d55b8f8d2f
Merge "Don't insert comment markers inside <figure>"
2022-10-26 16:28:37 +00:00
Bartosz Dziewoński
c6cd20f682
Remove support for <span class="mw-headline-number"> in headings
...
This feature has been removed from MediaWiki in change
Ic9ed88f419419cf4cc5cc32010539eea8b76314b.
Change-Id: If11b33589f47eab614f5129b38e80d0f3cafa083
2022-10-25 18:59:05 +00:00
jenkins-bot
212db49484
Merge "Add 'specialCharacter' tool to toolbar"
2022-10-25 15:53:48 +00:00
jenkins-bot
c728f35e3a
Merge "logger: Also log VisualEditorFeatureUsage events via Metrics Platform"
2022-10-24 12:48:25 +00:00
Bartosz Dziewoński
d2df103803
Don't insert reply tool outside <section> on mobile
...
Bug: T319148
Change-Id: I7db0ef1980f4997b77593f3d43d35886ecd8a4ae
2022-10-21 01:20:13 +02:00
jenkins-bot
d5bbe213cb
Merge "Remove oldid from URL when refreshing page"
2022-10-20 22:44:58 +00:00
Ed Sanders
7364214ea6
Remove oldid from URL when refreshing page
...
Code mostly copied from VE, but ported to native URL object.
Change-Id: I3e780f33df548c59741b7ae3b5dfb33f657d24a3
2022-10-20 22:02:10 +00:00
jenkins-bot
38bc9bba60
Merge "Separate out mobile init from controller.js"
2022-10-20 21:57:35 +00:00
Bartosz Dziewoński
5ed1c4a482
Add accesskey "s" to the "Reply" / "Add topic" button
...
Add brackets around the existing shortcut key labels, so that they
don't look quite so out-of-place next to the automatically added
accesskey label.
Bug: T278249
Change-Id: Icc0df5ba036080807ea0eb215f5526c93da78ef1
2022-10-20 22:58:25 +02:00
jenkins-bot
c049f07055
Merge "ReplyLinksController: Skip empty reply buttons container"
2022-10-20 14:35:34 +00:00
Ed Sanders
292725e864
Add 'specialCharacter' tool to toolbar
...
Bug: T249072
Change-Id: I9db0954db05f825adaa311bb3777c5e4493172b6
2022-10-20 12:22:19 +00:00
jenkins-bot
4935197c66
Merge "logger: Use wgWMESchemaVisualEditorFeatureUseSamplingRate config variable"
2022-10-19 19:09:24 +00:00
Func
3cbab3b789
ReplyLinksController: Skip empty reply buttons container
...
For preview parsing, the span containers are empty.
Not sure why not strip the container along with all generated
contents, but this should be the easiest fix.
Bug: T321185
Change-Id: I9afb2d0f543b79dbac8a652236fe55284de542a8
2022-10-19 23:14:27 +08:00
jenkins-bot
f953953c9b
Merge "Fire wikipage.content hook on edit notices"
2022-10-18 16:19:57 +00:00
Ed Sanders
481b687c35
Follow-up I394f02912: Use existing class API to move button away from sticky header
...
Bug: T318474
Change-Id: Iab3a817e305d48e922499aad3620d93cf8aa165e
2022-10-17 14:49:36 +01:00
Ed Sanders
d0cd0e57a1
Separate out mobile init from controller.js
...
Change-Id: I2dfafc1d816c5cae97fd51bc11de9aefbdd73ee8
2022-10-14 17:38:19 +01:00
jenkins-bot
f6e271d781
Merge "Remove all hacks for old HTML in HTTP cache or parser cache"
2022-10-12 14:20:52 +00:00
Bartosz Dziewoński
65339e3ad4
Fix new topic tool appearing from autosave in edit mode
...
Follow-up to 2bc76dabd7
.
Bug: T317005
Change-Id: I2f982e7e631cc45375143b1ba280850e66e51719
2022-10-11 00:26:55 +02:00
Bartosz Dziewoński
2ad3e4ad26
Fix new topic tool appearing from autosave in its own preview
...
Follow-up to 9425f75f47
Bug: T317005
Change-Id: I247f33e3658fbb8307a725b7c4fdc5871932b5d3
2022-10-10 23:12:18 +02:00
Ed Sanders
2c160ddb72
CommentItem.js: Ensure timestamps are UTC
...
This will not be the case if we do a full parse in the
client on a non-UTC site.
Change-Id: I226c4f580e60114992bfc06896ef4868e6ea9124
2022-10-10 14:50:02 +01:00
Bartosz Dziewoński
f8d25be872
Remove all hacks for old HTML in HTTP cache or parser cache
...
Change-Id: I609cbbf5b26eca3a84bae91cc17cbc663925714c
2022-10-09 18:17:35 +00:00
Bartosz Dziewoński
8664de52d1
Don't insert comment markers inside <figure>
...
…when wgParserEnableLegacyMediaDOM=false. See task for details.
Bug: T320285
Change-Id: I397cb70f915bb8d974fe2796198d252b1be9a368
2022-10-08 23:23:54 +02:00
Ed Sanders
0e5f4460a7
Fix styling of heading input in new topic tool
...
We accidentally set some proposed mobile styles for desktop.
Change-Id: I3d7092137708196599ccf44fed948757b9aef276
2022-10-03 17:20:10 +02:00
Sam Smith
2f6305b7b5
logger: Also log VisualEditorFeatureUsage events via Metrics Platform
...
The VisualEditorFeatureUsage instrument is a candidate for migration to
the Metrics Platform [0]. The first step of the migration is to log
events both using the Event Platform directly (i.e. via
mw.eventLog.submit()) and using the Metrics Platform client (i.e. via
mw.eventLog.dispatch()).
The Metrics Platform Client can mix in additional information -
so-called context attributes [1] - based on the stream configuration.
The majority of the default values mixed into each event via the
mw.eventLog.Schema defaults mechanism are already known to the Metrics
Platform Client.
Note well that the Metrics Platform client will not log an event without
one or more streams being configured to receive that event. Therefore,
this change is a NOP.
An example stream configuration is given in [2].
[0] https://wikitech.wikimedia.org/wiki/Metrics_Platform
[1] https://gerrit.wikimedia.org/g/mediawiki/libs/metrics-platform/+/aed6738b845/js/src/StreamConfig.d.ts#31
[2] https://phabricator.wikimedia.org/T309602#7973206
Bug: T309602
Change-Id: Ib919ae0e3f404c85cef17637ea91bb95d5030cf1
2022-10-03 12:02:23 +01:00
Sam Smith
b90a2675b0
logger: Use wgWMESchemaVisualEditorFeatureUseSamplingRate config variable
...
... for the sampling rate for the VisualEditorFeatureUse schema.
Bug: T312016
Depends-On: I259757db0c4441a3fcfce505d5bc82dcf2acf58c
Change-Id: I1c7f9c06384549deac2787f5df93c0078b6402af
2022-10-03 11:46:43 +01:00
Bartosz Dziewoński
5f32c90225
Fire wikipage.content hook on edit notices
...
Bug: T319133
Change-Id: I36efb9326a9bf0efc5ef646d49361b314fdd0b5a
2022-10-02 11:38:33 +02:00
Bartosz Dziewoński
8d727dc26d
Fix reply link/button margins on RTL wikis
...
Follow-up to c232df01a4
.
Change-Id: Ie8c463108d2e0cb172d270d6205677459adbb86a
2022-10-01 21:52:32 +02:00
Ed Sanders
c2594914f9
Don't re-color :visited links that act as buttons
...
Bug: T319019
Change-Id: I26820229820768390827e79ec09c86eeed424531
2022-09-30 13:40:26 +01:00
Ed Sanders
f9d8b7afd5
Reduce padding around reply button slightly to improve vertical alignment
...
Change-Id: Ia420f1d6bf1038bfe803c62aba636f046d74bb29
2022-09-29 14:42:11 +01:00
Bartosz Dziewoński
4d1722d1e6
Fix double <div class="mw-parser-output"> after saving
...
Follow-up to d00fa80ff4
. .html()
replaces the inner HTML, .replaceWith() replaces the outer HTML.
Change-Id: I8da2d24d439acc5e83ef1f42959fefef27bbea71
2022-09-29 01:26:33 +02:00
jenkins-bot
f910e54802
Merge "Empty state banner: Improve selector for hiding top border"
2022-09-28 16:30:45 +00:00
Ed Sanders
79d4879b3a
Empty state banner: Improve selector for hiding top border
...
Pages can be empty (blanked) without outputting the noarticletext
class, so just suppress the top border if the banner is the first
child of the document.
Change-Id: I808160a7f73a9a976d25e77f4bd47727a57b70c0
2022-09-28 17:04:42 +01:00
jenkins-bot
f4f83bfb2f
Merge "Show mf-section-0 in preview"
2022-09-28 15:45:29 +00:00
jenkins-bot
8a2e02e8e1
Merge "Suppress top border when section follows <h1>"
2022-09-28 15:40:07 +00:00
Ed Sanders
df96154538
Show mf-section-0 in preview
...
Bug: T318758
Change-Id: I12039696bfe0f06e21b28ed32fdfc23442033805
2022-09-28 14:38:20 +01:00
jenkins-bot
99c772d4ee
Merge "Add mw.track call when comment setup fails"
2022-09-27 22:32:08 +00:00
Ed Sanders
f6df39c11a
Always scroll "Loading..." text into view
...
If the widget has just been opened, it should already be in view,
but when we are recovering from auto-save it might not be.
Scrolling it into view lets the user know sooner that a draft is
about to be recovered.
Change-Id: I2b8232edc20e71b04a3f106107c0c7bc6333f66a
2022-09-25 13:28:14 +01:00
Ed Sanders
688cdc24ae
Move "Return to comment" below sticky header when present
...
Also ensure that when we click the button, we scroll the widget fully
into view below the sticky header.
Bug: T318474
Change-Id: I394f02912cd6ab2773552a7364691ef89a17369c
2022-09-25 13:28:12 +01:00