Commit graph

14998 commits

Author SHA1 Message Date
Roan Kattouw 0243fb1863 Oversample Schema:Edit events when configured to do so
Respect the config var exported by WikimediaEvents that, if set to true,
forces oversampling. When oversampling, all events are logged even if
they would have been sampled out. The isOversample property is set to
true if the event was oversampled and would not otherwise have been
logged.

Bug: T206543
Depends-On: I5fdf5fdd2dc0d99a0a0d7eb7ab2e3dce4798009b
Change-Id: I314da47d7d250672f1a9b34edeeeb720850f8fac
2018-10-19 22:29:41 +00:00
Ed Sanders 858d34ae31 Update VE core submodule to master (6cedee5ff)
New changes:
5b386d8da Move *KeyDownHandler tests into separate files
48ed2a670 Localisation updates from https://translatewiki.net.
e5a6d2a05 Move server.js to app.js
db38aa076 Separate Logger class
f1099fd48 Use service-runner
9d378d4cc Move util to /tools, make executable

Bug: T207287
Change-Id: I3163ed47c0bdeb72b229f6d4c0000e796e3d84fb
2018-10-19 00:23:11 +01:00
jenkins-bot 6758008628 Merge "Use Schema:Edit sampling rate config from WikimediaEvents" 2018-10-18 21:54:23 +00:00
Translation updater bot c26f80d097 Localisation updates from https://translatewiki.net.
Change-Id: I1ac635d2c02a258b744cd00b075f340cc4c735b3
2018-10-18 22:34:38 +02:00
jenkins-bot 4db6191652 Merge "Handle mw:MediaLink" 2018-10-18 03:34:21 +00:00
David Lynch 8c2a34b732 Handle mw:MediaLink
Bug: T198511
Change-Id: Ia7fbb9db79c9b776e0cf44b065c03b1aa090da79
2018-10-17 21:43:07 -05:00
Translation updater bot 5fd16bb7de Localisation updates from https://translatewiki.net.
Change-Id: I93028c508ca3998dbf7726d5e3fd22e87a8343fb
2018-10-17 23:44:38 +02:00
Roan Kattouw 8d08b032e7 Use Schema:Edit sampling rate config from WikimediaEvents
Instead of hard-coding the 6.25% sampling rate, allow it to be
controlled by the config variable in the WikimediaEvents extension
(which also defines the RL module for the Edit schema).

Also use sampling code from EventLogging so we can configure the
sampling rate as a number, rather than using a hex-digit based strategy.

Bug: T206543
Depends-On: I00383cec62f6c2a0137b329565b0ca84bfbb223f
Change-Id: Ia3e9a0f93d5d3001f222a64f31e82a63db36d7ab
2018-10-17 14:20:32 -07:00
James D. Forrester 63bb1354c8 Update VE core submodule to master (474034ad8)
New changes:
01729d1ec Localisation updates from https://translatewiki.net.
c33dc3b44 Asynchronous document store
70ee7c343 Tracking: various annotation and dialog actions

Bug: T202656
Change-Id: I99add8d3a1a9ecf9eaa70522dd49d3c64909a34c
2018-10-16 18:39:40 -07:00
Roan Kattouw d8ceb889b0 trackSubscriber: Use early return for 6.25% sampling
Rather than computing all the data then throwing it away 93.75% of the
time. Also use .charAt() for consistency with WikiEditor.

Change-Id: I6360b5c636e94db3483f542791d158f240c542f8
2018-10-15 15:05:27 -07:00
Translation updater bot d3d399b845 Localisation updates from https://translatewiki.net.
Change-Id: I477632773d59751873011fa1501db0e6767c4925
2018-10-15 22:16:11 +02:00
jenkins-bot 54abc29ca1 Merge "Improve the gallery dialog layout for mobile" 2018-10-15 10:19:41 +00:00
Translation updater bot da28f190ec Localisation updates from https://translatewiki.net.
Change-Id: I9698270527f007eb32052c1f8b6152486d91bd86
2018-10-14 22:25:47 +02:00
jenkins-bot f2dfb630b0 Merge "trackSubscriber: log activity events for VisualEditorFeatureUse" 2018-10-13 17:11:56 +00:00
Translation updater bot 5b9bfc2cae Localisation updates from https://translatewiki.net.
Change-Id: Ic1164dc5173c9e6a09827002b3092ce430303c6e
2018-10-13 10:19:29 +02:00
Nasty 124addddaf Fix parse wikitext fragment in paction wikitext.
Whenever wikitext content is inserted by the hook `EditFormPreloadText`,
it is always parsed to visual editor markup even when in wikitext mode.

Bug: T206838
Change-Id: I56f0fb9d4e1519af01155c35d4d0068076de4600
2018-10-12 19:17:29 +00:00
Thalia 88875b1b8f Improve the gallery dialog layout for mobile
Bug: T203477
Change-Id: I0adc851b71362267d1d06d9a8b5483c1ee114c26
2018-10-12 16:58:48 +01:00
jenkins-bot bedbd5b152 Merge "Update VE core submodule to master (0dff6d406)" 2018-10-11 18:56:15 +00:00
Bartosz Dziewoński 68e9859af2 Update VE core submodule to master (0dff6d406)
New changes:
23a7d0388 Localisation updates from https://translatewiki.net.
0dff6d406 ve.init.Target: Re-position toolgroup popups after floating/unfloating toolbar

Bug: T205924
Change-Id: If1ffc83abe8b9fd017a76535c9840b4253f66b0b
2018-10-11 19:21:14 +02:00
David Lynch 0a3eda0529 trackSubscriber: log activity events for VisualEditorFeatureUse
This won't really do anything until the patches to ve-core for the activity
events, and WikimediaEvents for the schema land.

Bug: T202148
Change-Id: Ie462a24f66240a1accfd0185c46273e60effbd64
2018-10-11 11:52:14 -05:00
Volker E a5a3d829a9 Update user avatar icon and make use of OOUI's built-in
Bug: T123810
Change-Id: I3ed04d3037836b47706d9f7284eeb9668712bdcb
2018-10-10 18:34:27 -07:00
Translation updater bot 46e34297e0 Localisation updates from https://translatewiki.net.
Change-Id: I7458126e05a90cd33e7a63f3c2b8b41a0ba632fb
2018-10-10 22:24:47 +02:00
Bartosz Dziewoński e354092417 Update VE core submodule to master (f9afaa3e4)
New changes:
3931cc33a Update OOUI to v0.29.1
5bcab0073 Move node-specific code into rebaser/
8aa80d88b Remove ES6 support for async/await
2536870f9 Separate files for protocol and transport server
b443b7a4f Update OOUI to v0.29.2
70b3ec210 Minor cleanup of ve.ui.MediaSizeWidget

Bug: T206236
Change-Id: Id3bbcd1a9ccb1563e4feb3572aa8f51932677693
2018-10-09 11:06:23 +01:00
jenkins-bot 1afd5651ab Merge "Don't add body attribute to an extension node with an empty body" 2018-10-08 23:16:16 +00:00
Translation updater bot b7017e9969 Localisation updates from https://translatewiki.net.
Change-Id: If3cff67496bf43559dfdce3e6131ceac8c1d6baf
2018-10-08 23:20:10 +02:00
Thalia 1d845aab1c Don't add body attribute to an extension node with an empty body
Map nodes with an empty body don't have a body property on their
'mw' attribute; so don't add one when checking if the node has
been modified.

Bug: T206473
Change-Id: I24fb8d5f012c417996c8d420fa25af9d13528d18
2018-10-08 17:29:58 +01:00
jenkins-bot 93523f5a15 Merge "Wrap editPanel & searchPanel in a StackLayout" 2018-10-08 16:17:54 +00:00
Translation updater bot 2fe9378008 Localisation updates from https://translatewiki.net.
Change-Id: I226c5414d253e82f1ee478d6c555762bcc012119
2018-10-07 22:30:27 +02:00
jenkins-bot fab1df58a4 Merge "Mobile target improvements" 2018-10-07 14:32:45 +00:00
Ed Sanders d44e7fb3e8 Mobile target improvements
Change-Id: If55097a45ae812b712a74f41af350bfaa69f6135
2018-10-07 12:47:53 +01:00
Translation updater bot 9c46be470d Localisation updates from https://translatewiki.net.
Change-Id: Ie63301f6d5409f69f1ee3f8fa4c65172d916e1f6
2018-10-06 22:35:43 +02:00
Ed Sanders bb369a0b48 Wrap editPanel & searchPanel in a StackLayout
Change-Id: Ib069a41c7855647b1cd85546fc83b30d65b27443
2018-10-05 22:17:14 +01:00
Translation updater bot d020a50b59 Localisation updates from https://translatewiki.net.
Change-Id: I1ed284e27570fa7f7d15df428fad82a453d2aec9
2018-10-05 22:59:29 +02:00
jenkins-bot 95eb279cc6 Merge "ve.ui.MWGalleryDialog: Fix setting of expanded/scrollable panels" 2018-10-04 21:45:24 +00:00
jenkins-bot c43f1589d4 Merge "ve.ui.MWGalleryDialog: Switch innerMenuPanel/innerContentPanel" 2018-10-04 21:38:41 +00:00
Ed Sanders 485b257278 ve.ui.MWGalleryDialog: Fix setting of expanded/scrollable panels
There are 4 scrollable panels:
* Image list content
* Edit panel
* Search panel
* Options panel

Remove non-existent 'expandable' property.

Change-Id: Ia0d0a66be8a2bcb243a39ef632151d7fb99486ef
2018-10-04 21:23:10 +00:00
Ed Sanders 61cfce8c32 ve.ui.MWGalleryDialog: Switch innerMenuPanel/innerContentPanel
These two panels were named the wrong way around.

Also change 'inner' prefix to 'imageList'.

Change-Id: Ie1c3e2160c81b898795fb1fd4d0a027e8f06c4d4
2018-10-04 21:22:05 +00:00
jenkins-bot 0a4cee1cd6 Merge "Use correct OOUI hierarchy in gallery dialog" 2018-10-04 20:41:13 +00:00
jenkins-bot 737278220c Merge "Localisation updates from https://translatewiki.net." 2018-10-04 20:29:30 +00:00
Translation updater bot 9b5242d836 Localisation updates from https://translatewiki.net.
Change-Id: I6080aca55b55cc53901853055e79fbb0eb8cf726
2018-10-04 22:24:31 +02:00
jenkins-bot a661e7aa54 Merge "Update VE core submodule to master (527d45433)" 2018-10-04 20:14:56 +00:00
Translation updater bot 1e3c40c9fe Localisation updates from https://translatewiki.net.
Change-Id: I6b48a9c3b71ecaa1a66f429963a6af4edb1d74dd
2018-10-04 14:24:35 +02:00
James D. Forrester ad948dc550 Update VE core submodule to master (527d45433)
New changes:
30bac7d29 ve.dm.ModelRegistry: Fix extra spaces in rel="" attributes preventing matching
65636c913 Localisation updates from https://translatewiki.net.
da16d82c2 Make visual diff dialog sidebar narrower on narrow screens
80211b920 Update target widget styles and add focus styles

Bug: T203476
Change-Id: Ice36387ea64480ffbf4fed1ae0017b6f25d11182
2018-10-03 15:17:34 -07:00
jenkins-bot 577c2c7a03 Merge "Move 'done' tool out of static config" 2018-10-03 22:09:39 +00:00
jenkins-bot 0ace073662 Merge "Fix OOUI->MW theme mappings in extension.json" 2018-10-03 22:09:36 +00:00
jenkins-bot 40f03a3b0f Merge "Use correct OOUI hierarchy in media dialog" 2018-10-03 21:59:44 +00:00
jenkins-bot 03023758d8 Merge "Refactor media dialog initialize method" 2018-10-03 21:56:59 +00:00
Ed Sanders e176ecceae Move 'done' tool out of static config
Bug: T206132
Change-Id: I3319fc56209cab303448f7abe1e6334c50100947
2018-10-03 22:37:48 +01:00
Thalia f422ae2dcc Use correct OOUI hierarchy in gallery dialog
Make sure fieldset layouts contain field layouts. Also remove
meaningless parameter icons.

Bug: T205615
Change-Id: Ia104cd60ffa9f5d636bee5611f265a2bb5ac0051
2018-10-03 22:22:25 +01:00
Ed Sanders 29b277260f Fix OOUI->MW theme mappings in extension.json
Bug: T206002
Change-Id: I1fcafa397d1054f4d380a60e0ba46c4ece34c7f0
2018-10-03 22:17:49 +01:00