Commit graph

2360 commits

Author SHA1 Message Date
jenkins-bot 135d8379ba Merge "build: bump dependencies and make tests pass" 2019-08-15 08:03:00 +00:00
Ed Sanders c74031194b eslint: Sort ES5 rules
Change-Id: I6b398cbf129bfc81f2397d09fe22f41f3e65902b
2019-08-15 08:00:41 +00:00
Ed Sanders cfa0b100ad eslint: Enforce no-prototype-builtins
Change-Id: I4244f0576e48c233d24533b45a28c07b2531d6da
2019-08-15 08:00:35 +00:00
Ed Sanders 2687d12c52 eslint: Remove valid-jsdoc override
Change-Id: I6a9936743a74afb528713f21e016838947fa1914
2019-08-15 08:00:24 +00:00
Ed Sanders ac8ff96425 eslint: Use wikimedia/language/es6 and remove duplicate rules
Change-Id: I3c3e8dc763a2f2a8bed50c7d0d06dfde37a64f54
2019-08-15 07:58:28 +00:00
Ed Sanders a17be78b3d build: Update linters
Change-Id: I9b32f412e7e75918a59bdb239d3a42670177be70
2019-08-15 09:55:57 +02:00
Translation updater bot 12c2e82edf Localisation updates from https://translatewiki.net.
Change-Id: I0e7ef7d48136720af1acd302235124cc8524f10f
2019-08-15 09:16:34 +02:00
WMDE-Fisch 7d7317da10 build: bump dependencies and make tests pass
Change-Id: I5fb80d19c7a0423648053c66fd9c2b7680f30426
2019-08-14 17:09:18 +02:00
Translation updater bot a07958a2af Localisation updates from https://translatewiki.net.
Change-Id: If1880b4ddf508d3a072e4dfdb19dbbef1821a063
2019-08-14 09:15:31 +02:00
Translation updater bot edfc0bcf61 Localisation updates from https://translatewiki.net.
Change-Id: Id52977d4b8b1d38f3010c4dcca6d45270d7a124d
2019-08-10 22:49:35 +02:00
Translation updater bot 4e628d5494 Localisation updates from https://translatewiki.net.
Change-Id: Ia1684b4d13c94c07d42831ff86cdbe66cbb9cea7
2019-08-08 09:33:25 +02:00
Translation updater bot a15f06f057 Localisation updates from https://translatewiki.net.
Change-Id: Ic67135b56594a6913f1de5561f11c4de79eadd48
2019-08-06 09:10:57 +02:00
Translation updater bot e2962512fc Localisation updates from https://translatewiki.net.
Change-Id: Ic62592983b5622f23f590da070a6e9db54c0652f
2019-08-01 09:17:42 +02:00
Translation updater bot 4242d7c90e Localisation updates from https://translatewiki.net.
Change-Id: Ia012b4a0e73e2cb5a145ec133fb7bf0694627ca5
2019-07-29 09:15:40 +02:00
Translation updater bot 03c015415c Localisation updates from https://translatewiki.net.
Change-Id: I7d0b13259c48a89a3ded18828c4f7f4a20d21689
2019-07-23 08:55:14 +02:00
Translation updater bot e32fe6e7f7 Localisation updates from https://translatewiki.net.
Change-Id: I49bfe4df81d32844a9180ba57bb93cb937b0ae25
2019-07-15 08:35:13 +02:00
Translation updater bot d11593624d Localisation updates from https://translatewiki.net.
Change-Id: Ie44f9b3984f95d78655e9a37238d97f398dd2049
2019-07-12 08:44:28 +02:00
James D. Forrester 85084a4484 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I6bbf150ae44e0e54cbf7c6167df03b856dc9f668
2019-07-09 14:14:45 -07:00
Translation updater bot 9e864e7c2b Localisation updates from https://translatewiki.net.
Change-Id: I9f67e4c627075998ed33bf7451006e3024deb747
2019-07-07 22:41:21 +02:00
Translation updater bot 1912ea943d Localisation updates from https://translatewiki.net.
Change-Id: I4044a9d9506b1bcd74c81dfe54a5dc0fa6adeca4
2019-06-30 22:39:11 +02:00
Nicholas Ray be27746e59 Build: add package-lock file
Add package-lock file. The previous version of Node.js did not support
package-locks but v10.15.2 does.

Bug: T179229
Change-Id: I6cd0df235294dd455086ca3be569e63577a61b4f
2019-06-20 16:11:00 -06:00
Dan Andreescu 27a95517b7 Remove dependencies on deprecated schema modules
As mentioned in T205744, EventLogging schema ResourceLoader modules have
been deprecated.  This removes those modules from loader calls.

Bug: T221281
Change-Id: I1b7355c69e09756f50ccd1c1955b45cae4a64b9e
2019-06-19 09:51:30 -06:00
Translation updater bot 629ac10557 Localisation updates from https://translatewiki.net.
Change-Id: I2f07e2c96f32a0d968dbbcd511d94b8fca4123cd
2019-06-13 22:40:19 +02:00
Translation updater bot 1aebfdf3f1 Localisation updates from https://translatewiki.net.
Change-Id: Icf2f9f628970be0e41eebbb9417a2239f23bd955
2019-06-10 22:55:35 +02:00
Timo Tijhof a3796a24ee Doc: Refer to Node versions without "v" prefix
As of Node.js version 8, upstream has consistently avoided this
to avoid confusion with V8, the JavaScript engine that power
Node.js and Chromium.

Change-Id: I702cee3247cc69ab4aac313176c884c9c2785ea9
2019-06-10 17:30:26 +01:00
libraryupgrader 8c3c943468 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I98849b0e976c261fe5e3bef98e5c71e1b5b99da9
2019-06-10 10:03:03 +00:00
James D. Forrester 4fb6120fc9 Upgrade from node 6 to node 10, now that CI is running that
Change-Id: I8830cc39c8f5c5d22299d3c3cc90b308f50fb08a
2019-06-03 14:51:51 -07:00
Translation updater bot 8f850877c2 Localisation updates from https://translatewiki.net.
Change-Id: I8830cc39c8f5c5d22299d3c3cc90b308f50fb08c
2019-06-02 22:30:45 +02:00
Translation updater bot 54a5f6f6ab Localisation updates from https://translatewiki.net.
Change-Id: I7cd8635b1d0d6d4ac84f4babfed0512c94a70490
2019-05-30 22:54:02 +02:00
Volker E d1fc6786bf Remove wrong ARIA role=tooltip from container
Removing wrong ARIA `role=tooltip`. Those are meant only for static
text content on short `title` like dynamic tooltips.

Bug: T223827
Change-Id: Ib4f490c7ad421e516fb0cf47eff4335bcaf26c43
2019-05-29 15:27:08 -07:00
Translation updater bot 5f573d1abf Localisation updates from https://translatewiki.net.
Change-Id: I8033b42e93683c954d5ab8490dbe83a846ed7222
2019-05-26 22:23:28 +02:00
Translation updater bot b67d7e2181 Localisation updates from https://translatewiki.net.
Change-Id: I30eb99428db6e8b0f6c1a3108797c63481b9107c
2019-05-23 23:06:39 +02:00
James D. Forrester 692a706e08 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I96b36d9e535c6d886aec7e9e77334ed239569b3a
2019-05-23 19:18:53 +00:00
Thiemo Kreuz 59a5e4e981 Fix fade-out gradient not disappearing when page is zoomed
We did a strict === comparison before. This works fine when the page
zoom is either 100% or 200%. Other zoom factors produce fractional
numbers. Comparing them with === is doomed to fail because these numbers
are IEEE representations, not necessarily being identical in situations
where you would expect them to be identical.

This applies two fixes: Change the comparison to a >=, and always ignore
1 extra pixel. If we are so close to the bottom, the gradient is not
helpful any more.

Change-Id: Idf4c604142de8d2a803e1d94f3093cec8a8abb72
2019-05-20 11:02:19 +00:00
jenkins-bot 8c7527af04 Merge "referencePreview: Replace width: 0 with display: none" 2019-05-18 14:45:19 +00:00
jenkins-bot af5adf3e07 Merge "Docs: Remove incorrect documentation about LocalSettings in tests README" 2019-05-18 14:43:23 +00:00
Translation updater bot 0af283914a Localisation updates from https://translatewiki.net.
Change-Id: I986aec37b7bf17e50da8e2f6c65da49b09107638
2019-05-16 09:10:14 +02:00
Translation updater bot 68362f26de Localisation updates from https://translatewiki.net.
Change-Id: I97173e6314ebb7daef1bf478764e4a9a9e6f5e62
2019-05-15 09:14:08 +02:00
Translation updater bot a6b41e6569 Localisation updates from https://translatewiki.net.
Change-Id: I1253c6eda10e4d6f7881dde71e93bc02aeb79a12
2019-05-13 23:22:27 +02:00
Adam Wight ed06a6dbb1 Docs: Remove incorrect documentation about LocalSettings in tests README
Follows-up 1cff4a15a7.

There is no such file to copy, delete from README.

Change-Id: I1fa0ac574743f5dbd577653aa74d416ca4609aa8
2019-05-13 11:52:55 +00:00
Translation updater bot 2dc22b24ae Localisation updates from https://translatewiki.net.
Change-Id: I6daaf1a38ad178566fb819c6b4d649eb2fe3acbf
2019-05-12 22:34:11 +02:00
WMDE-Fisch a498423f90 Avoid popups on self links with file extension
This fixes page previews appearing when there is self link to a page
that has a file extension in it's name.

Bug: T222869
Change-Id: I5caf610fa76986026948a5b7b55537723752b755
2019-05-10 18:02:50 +02:00
jenkins-bot 32a415d81e Merge "referencePreview: No event bubbling on inner child elements" 2019-05-10 08:28:35 +00:00
Translation updater bot 498aa793b6 Localisation updates from https://translatewiki.net.
Change-Id: Id59e3933d4a417090b65d3683868c69f9fa0ca80
2019-05-10 09:20:43 +02:00
Thiemo Kreuz ac65bd3082 referencePreview: No event bubbling on inner child elements
This is relevant in case the HTML looks like this:
<… class="reference"><a><span>[</span>2<span>]</span></a></…>
The additional <span> cause many additional mouseover and mouseout
events. The code already tries to filter these duplicate events that
are all triggered on the same link, but gets confused, especially when
the multiple chains of events overlap each other in unexpected ways.
It's a timing issue. This change does not fix the fundamental issue,
but does make it much less painfull.

This patch also removes the > from the selector. This is in case the
HTML looks like this:
<… class="reference"><span><a>[2]</a></span></…>
The additional inner <span> would prevent any reference preview from
being shown.

Bug: T214693
Change-Id: If2554ba78072245c27a1f85c46f33e3c58582c1d
2019-05-09 13:23:45 +02:00
Thiemo Kreuz b3fb2b5867 referencePreview: Replace width: 0 with display: none
Before, the element is still part of the DOM, shows up in the debugger,
and consumes rendering time (probably close to zero, but still). After,
the element is gone.

Change-Id: I580fd89868b5a91118a8115d71d819824ff7f80c
2019-05-09 13:19:14 +02:00
jenkins-bot fe6c707da1 Merge "Show referencePreviews on click" 2019-05-08 16:00:02 +00:00
Translation updater bot 503184584a Localisation updates from https://translatewiki.net.
Change-Id: I74e847b56c7033724879a98baa3fe948f8bda6fc
2019-04-29 22:16:13 +02:00
WMDE-Fisch 1879a4d59e Show referencePreviews on click
Introducing the REFERENCE_CLICK action that will fetch and show the
preview for the clicked reference right away without any delay.

The main goal of the new chain of events introduced with the reference
click is showing the reference preview right away. The actions triggered
by the dwelling include delays in multiple parts of the process.

If there's a dwell action-chain in progress when the click action is
executed, the related promise ( that might still include steps with
delays ) and the reference preview is retrieved and shown right away
re-using the token. 

In the case where there's no dwell action running ( e.g. when the click
was triggered via touch ) we create a new token and start from scratch.

In either case we want to avoid, that multiple clicks trigger multiple
actions and abort early when there's already a click action in progress.

Bug: T218765
Change-Id: I073a93be2d17a21178aebe12267765f60a2811b9
2019-04-29 17:46:49 +00:00
Translation updater bot e18e92dbf9 Localisation updates from https://translatewiki.net.
Change-Id: I6b15463c03804756a6e925eaf83092f85b59dc1a
2019-04-26 22:28:12 +02:00