Commit graph

2787 commits

Author SHA1 Message Date
Adam Wight c12150082c Baseline reference interaction tracking
Collect EventLogging metrics for footnote and reference link
interactions, so that we can compare behavior with and without
Reference Previews enabled.

This tracking will be reverted once analysis is complete.

A mostly arbitrary sample rate of 1/1000 is hardcoded here.  This is
loosely based on the latest tuning of Popups sampling at 1/100,
divided by a conservative factor of 10 to ensure headroom.

The sample is skewed by skipping clients without sendBeacon support,
but we're avoiding the mw.track synchronous fallback, which injects an
image tag and introduces lag any time the user clicks external links
in the references.

Bug: T231529
Change-Id: Iad32b64114f88675eecbb01712418c968e3cf661
2019-10-01 10:23:31 +02:00
Translation updater bot 1463f47280 Localisation updates from https://translatewiki.net.
Change-Id: I7fe11bdb98aabdb1da3d78aacdcd4211ad87efbf
2019-10-01 09:24:33 +02:00
Translation updater bot a5ac0762bc Localisation updates from https://translatewiki.net.
Change-Id: Ib52cc84a1afd41200f5728e03cc98da62d33e59e
2019-09-30 09:18:16 +02:00
Translation updater bot 4a20cebbb9 Localisation updates from https://translatewiki.net.
Change-Id: Ibb878fce4b272b47920392b1dcd4d6478d189300
2019-09-26 09:13:05 +02:00
Translation updater bot dce416d150 Localisation updates from https://translatewiki.net.
Change-Id: I6352b52263bfeb774d577380d75b3537b6bc90ff
2019-09-25 09:22:30 +02:00
Translation updater bot 56f07c18b3 Localisation updates from https://translatewiki.net.
Change-Id: I6fe895898edf309b4dc9f5d490882d01a717d2e6
2019-09-24 09:56:07 +02:00
Translation updater bot 2b97f19305 Localisation updates from https://translatewiki.net.
Change-Id: Id30b05c0a33fb9d8b3cc01d9f3582ffa11ba031d
2019-09-23 09:24:33 +02:00
jenkins-bot 12c7fd7ac2 Merge "Citation needed template handling" 2019-09-21 19:10:48 +00:00
David Chan 94c6d46ded Fix tests to expect p-wrappers
The ve-mw change I0479116b51cc3135a992fdf36b8edfb2c44916ba removes the
stripping of solitary paragraph wrappers (which is moved into
ve.ce.Surface in VE core).

Depends-On: I0479116b51cc3135a992fdf36b8edfb2c44916ba
Change-Id: I2429b5291d8505d586cf4edc4cae9875f8abc347
2019-09-18 18:26:17 +00:00
Bartosz Dziewoński 1c4d5fd0de ve.ui.MWReference.init: Fix check for mobile target
This stopped working correctly after T218946, when we merged
MobileFrontendArticleTarget with its parent class MobileArticleTarget.

Bug: T233181
Change-Id: I9ec3f42508809431aef86157c20d8d6bb2fb12e5
2019-09-18 04:11:51 +02:00
Bartosz Dziewoński 80e6db1fde Temporarily remove tests
The ve-mw change I0479116b51cc3135a992fdf36b8edfb2c44916ba removes the
stripping of solitary paragraph wrappers (which is moved into
ve.ce.Surface in VE core). We can't merge it without removing the
failing tests here for a moment.

Change-Id: I8799d51958b966c99307f4c70546ea326e67385c
2019-09-17 22:42:42 +02:00
Translation updater bot a2c03ddb7e Localisation updates from https://translatewiki.net.
Change-Id: I1c9e8e5720b706acdabdc86f79bc07be654da668
2019-09-16 09:54:38 +02:00
Translation updater bot b221b10a6a Localisation updates from https://translatewiki.net.
Change-Id: I175c43ad86df7cee71d63cb523bd951f166f3349
2019-09-13 10:17:35 +02:00
Translation updater bot d43b6ce7f9 Localisation updates from https://translatewiki.net.
Change-Id: I3f5ecbde5fc36813d0ef6b262d4298fd3d9a63a0
2019-09-10 09:35:52 +02:00
Translation updater bot cea5741563 Localisation updates from https://translatewiki.net.
Change-Id: I0bec1135345d59e39304a01ea1d64885110aefbb
2019-09-09 09:24:57 +02:00
Translation updater bot a1bc17cd6e Localisation updates from https://translatewiki.net.
Change-Id: Icad3ddb63316931f355a956b4565cc96851e6f43
2019-09-04 10:11:55 +02:00
Translation updater bot 5c82129ec1 Localisation updates from https://translatewiki.net.
Change-Id: I1d7ab0539d4cacfbf4e715315978221ac200d611
2019-09-03 10:26:54 +02:00
Derick Alangi 35e6993ffc Avoid usage of deprecated $wgContLang global (dep in 1.32)
Change-Id: Ib3972dc0a7ef3dad4db64e268b613dfafb18a242
2019-09-02 19:53:34 +01:00
Translation updater bot 994e5e89bc Localisation updates from https://translatewiki.net.
Change-Id: Ib698b560bc34c4aff0790f125d4c4de307c31a5d
2019-08-31 15:56:36 +02:00
Ed Sanders 659d461806 Citation needed template handling
Bug: T211243
Depends-On: I82124b24cc9edbbfc41dedc72452cbb583051cf8
Depends-On: Icfc39e350452da238d0e0c17cb2305c60d9ca16a
Change-Id: Ic443c1ae759a058673b71e47f09f2a7d219fc12e
2019-08-30 13:13:37 +01:00
Translation updater bot 7ed71a36b7 Localisation updates from https://translatewiki.net.
Change-Id: I00c4e7cdbc8dc1a2af15b975a775ef62356e8031
2019-08-30 10:02:39 +02:00
Translation updater bot 285e293fa1 Localisation updates from https://translatewiki.net.
Change-Id: I2355c18dac5574a95e1579bfa2479949802cb136
2019-08-27 11:03:11 +02:00
Translation updater bot 793d9e6151 Localisation updates from https://translatewiki.net.
Change-Id: I796a30d0981431845069be4a22174db57e100f9a
2019-08-25 10:29:30 +02:00
libraryupgrader f3288434f2 build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I449ebbd4e784eddfaad61c5777c162b02260b7e9
2019-08-24 06:04:37 +00:00
Translation updater bot 1ea0cb2f13 Localisation updates from https://translatewiki.net.
Change-Id: I759a7c581e2bdb42ed6fbb566c59cd0c348ffd1a
2019-08-23 09:47:32 +02:00
Translation updater bot 3defa1dfd4 Localisation updates from https://translatewiki.net.
Change-Id: Iadf29120f99a46a18f136f3fc5aa752ca09e3e3e
2019-08-22 10:08:43 +02:00
Translation updater bot 8e7b401a34 Localisation updates from https://translatewiki.net.
Change-Id: I6b06118055c9bd18ccd509fc76016f16c3ba9662
2019-08-21 10:01:44 +02:00
Translation updater bot ee8a1f74d6 Localisation updates from https://translatewiki.net.
Change-Id: I41423fe53e45aad4ea01de2eeaf87b4cd31afd53
2019-08-20 10:19:23 +02:00
Translation updater bot 616c19d16c Localisation updates from https://translatewiki.net.
Change-Id: I0b5a68b8343f7e4c2754c577c2b73960a7b6d720
2019-08-17 10:02:58 +02:00
jenkins-bot 152dde909a Merge "Remove warning about hard-coded class name" 2019-08-15 08:38:24 +00:00
Translation updater bot 6635317198 Localisation updates from https://translatewiki.net.
Change-Id: I603b5506449a7c7f11bc8f7198c6dbdace6c83d1
2019-08-15 09:15:31 +02:00
WMDE-Fisch e0602be6a9 Remove warning about hard-coded class name
Core now uses the extension name to check if the Cite extension is
loaded. Therefore the class name could be changed in that regard.

Change-Id: Ibdc0725045f7a0b0afcbf6cb94ccdab9509ad672
Depend-On: I35e5aa9955141b575de68a5be2c0d5b87585eb77
2019-08-14 19:17:24 +02:00
Translation updater bot b83cf32383 Localisation updates from https://translatewiki.net.
Change-Id: Ie631a35d3ffd0fb605d6b4437c4a0e78c60f81f5
2019-08-14 09:12:29 +02:00
Translation updater bot 001753ec5f Localisation updates from https://translatewiki.net.
Change-Id: If10c751c1a378bd971f0eb9aacf794594953e3cf
2019-08-10 22:48:09 +02:00
Translation updater bot 1267e39ff1 Localisation updates from https://translatewiki.net.
Change-Id: Ide154bef58da09cc2f508b258d9a48e8423df257
2019-08-08 09:31:50 +02:00
libraryupgrader 9fc70c9bc1 build: Updating npm dependencies
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* wdio-mediawiki: 0.2.0 → 0.4.0

Change-Id: Ie56e31c17f01be978c43a35ec488969262a4934e
2019-08-01 17:53:38 +00:00
Translation updater bot b3d8bef264 Localisation updates from https://translatewiki.net.
Change-Id: I95ea07e506adbed0ab20a472ba360cddc17595ba
2019-08-01 09:15:56 +02:00
Translation updater bot 650873c77a Localisation updates from https://translatewiki.net.
Change-Id: Ie516fd9b47ffc6d9d170cd143fd7704cf509c3b0
2019-07-29 09:14:02 +02:00
Translation updater bot 9430c6f82a Localisation updates from https://translatewiki.net.
Change-Id: I58b2b8276b9841aea0c97368aabd2836709d8a93
2019-07-26 08:54:58 +02:00
Translation updater bot 7a4f2dc7f3 Localisation updates from https://translatewiki.net.
Change-Id: Ic320fd6e19a6033c5be9fc2c4409201cd6b10dac
2019-07-24 22:28:26 +02:00
jenkins-bot 39b6dd00d7 Merge "Tracking for change events in citation-templates" 2019-07-22 21:32:02 +00:00
Translation updater bot 8604f48ea4 Localisation updates from https://translatewiki.net.
Change-Id: If723a7d49df24ced6fa830d88b3a7db09da14b61
2019-07-22 22:40:29 +02:00
David Lynch ba9b0c280b Tracking for change events in citation-templates
Bug: T221305
Change-Id: I4aa099ae1f7a6a2bb49b28c6d1452d077ffa61b7
2019-07-22 12:03:34 -05:00
jenkins-bot f180a30405 Merge "Remove parser test with mw-editsection" 2019-07-22 01:57:49 +00:00
Translation updater bot 52a404cc35 Localisation updates from https://translatewiki.net.
Change-Id: I55156b2b1ac53124a612d9b1be9f0423f34865e4
2019-07-18 08:52:52 +02:00
Translation updater bot 797b80748d Localisation updates from https://translatewiki.net.
Change-Id: I66224e4fb1755da5d8e012a56f04610e0906de50
2019-07-15 08:33:46 +02:00
jenkins-bot 02c0637d48 Merge "Split apihelp messages to a separate file" 2019-07-14 17:46:28 +00:00
libraryupgrader 8b442be731 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: I49cf7e168b40e849d5a497126f5c5631630346f3
2019-07-14 09:46:29 +00:00
Amir Aharoni 00c31ffc7e Split apihelp messages to a separate file
Bug: T189982
Change-Id: I7808076245d39fa10d75d67c9a9180dccd708f40
2019-07-11 18:03:42 +03:00
James D. Forrester bceb94ca2a build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I909d3cfa726d7b68b5a580baf00f6746d4689404
2019-07-10 16:31:30 +00:00