Commit graph

1241 commits

Author SHA1 Message Date
Timo Tijhof f169c8b3f9 Use mw.util.debounce() in collapsibleTabs.js
Bug: T213426
Depends-On: If370b959b2617d0f506ac3ed344af8c6a667e70d
Change-Id: Ib006a570f9405bbd48bb7e81a3d98b562df22b00
2019-09-11 19:29:46 +00:00
jenkins-bot b5b5b3c5e3 Merge "vector.js: Use idle callback (not rAF) for computed style read" 2019-09-11 19:16:35 +00:00
Timo Tijhof 9b2bcbbcae vector.js: Use idle callback (not rAF) for computed style read
requestAnimationFrame (rAF) is called before styles are computed.
Performing a style read there can require a forced style
recalcution which interrupts the browser's natural rendering
life cycle.

To gracefully observe layout of the page without inducing the
cost to render it, it should be accessed after rendering.
A suitable API to schedule time there is requestIdleCallback.

In any event, if the code that needs this measurement executes
very early for some reason, it is still computed on-demand which
means it can't cause any functional regression.

Change-Id: I0d8d3a0b158fa3d9e0895760d0691757f918d91d
2019-09-11 02:18:04 +01:00
Translation updater bot be43cb9628 Localisation updates from https://translatewiki.net.
Change-Id: Ie704a4a2de9612b6078f8e6dc990d9b5fdf88af8
2019-09-09 08:32:50 +02:00
Translation updater bot 42f1a3d605 Localisation updates from https://translatewiki.net.
Change-Id: Ibaa1252d2741b54a1dbeb7e4fac5502b2a41eb4d
2019-09-04 09:16:36 +02:00
libraryupgrader 9eacb7ea30 build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I4a30cdbb28b52a7b2f2745ba5d644778cd301fdf
2019-08-24 03:17:50 +00:00
Translation updater bot c895043ed9 Localisation updates from https://translatewiki.net.
Change-Id: I98f383e7cc47b3976e7d6a4214a01b90a129947d
2019-08-23 09:58:49 +02:00
jenkins-bot 9a73dd93fd Merge "Cleaning a[redundant] is done in BaseTemplate" 2019-08-21 18:25:20 +00:00
Simon Legner 6b99f35cbe Cleaning a[redundant] is done in BaseTemplate
Relates to I630410aea2852f7a72fea67bbf256b3561ea0f3f.

Change-Id: I0e0ccad14236dfbfc82f38e8e4316a431dd38d7a
2019-08-21 18:03:47 +00:00
Translation updater bot 8189f42aae Localisation updates from https://translatewiki.net.
Change-Id: I1a25531233fbfd8f2b90f03d447c0e64574c6ad0
2019-08-21 10:20:16 +02:00
Translation updater bot 9f51a5d723 Localisation updates from https://translatewiki.net.
Change-Id: I3bf1d64798380d2488e53c863cfa0d4caa7cf759
2019-08-14 08:34:43 +02:00
Translation updater bot 1977d10939 Localisation updates from https://translatewiki.net.
Change-Id: Ic6216e150f7838b0c25350330c09b0c6f40faa58
2019-08-09 08:26:07 +02:00
Translation updater bot 62c0756ea3 Localisation updates from https://translatewiki.net.
Change-Id: I4f41e5d10e72a19bb92cb768079ad5a4d490aaf1
2019-07-29 08:32:28 +02:00
jenkins-bot b60d11851e Merge "Style RelatedArticle cards" 2019-07-26 19:35:32 +00:00
Translation updater bot af5258ac9a Localisation updates from https://translatewiki.net.
Change-Id: I86ab3bd65b83302e7e0169391b45f9138c22afb6
2019-07-22 22:16:51 +02:00
Volker E f4e6acb206 Remove falesly introduced RTL version of 'search' icon
It's not useful to mirror it for RTL languages, as it's a real world
object metaphor and is held in right hand for most users, no matter
what language. Sorry, left-hand users. Unify with Design Style Guide
search icon treatment.

Bug: T228435
Change-Id: I9ff688e4be801779a84b1026ca57cfb50209b53d
2019-07-18 11:22:31 -07:00
libraryupgrader 7cc8756e6f build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* 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: If00a2166eb92474205bda4823643565eab6acb8f
2019-07-16 07:51:49 +00:00
Translation updater bot 43d6b88ec6 Localisation updates from https://translatewiki.net.
Change-Id: Ic857b5f71de39ac0555c6aebe0f37ab3ec7fe1e2
2019-07-14 22:20:34 +02:00
James D. Forrester ac812a881b build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I5e76e2f048d3c603a200f9019929e11c002b4a5c
2019-07-09 15:20:06 -07:00
jenkins-bot 7d46396dc1 Merge "Move DataAfterContent outside of main content block" 2019-07-08 21:18:34 +00:00
Translation updater bot c93bdc6410 Localisation updates from https://translatewiki.net.
Change-Id: I1b5aeb9b46f4f135c077d9c6129a66e7ea635b6c
2019-07-08 22:17:20 +02:00
Translation updater bot 5a123d8a2d Localisation updates from https://translatewiki.net.
Change-Id: I1f83e64c08c333788fceb697834efb5bf66efbd6
2019-07-07 22:11:01 +02:00
Translation updater bot 8d2959dad3 Localisation updates from https://translatewiki.net.
Change-Id: Ia120c766797309200ff0897f6da8f19ee96f9e5a
2019-07-03 22:12:46 +02:00
jenkins-bot d23885d297 Merge "Localisation updates from https://translatewiki.net." 2019-07-02 20:14:29 +00:00
Translation updater bot 521b8e97ff Localisation updates from https://translatewiki.net.
Change-Id: I80fd9e3553b67ad04714c859b242683a7c058efc
2019-07-02 22:14:11 +02:00
jenkins-bot 28bfa29dea Merge "SimpleSearch: Standardize input appearance" 2019-07-02 20:14:01 +00:00
Volker E 0c77e4f223 SimpleSearch: Standardize input appearance
Unifying Vector input appearance to follow Design Style Guide and OOUI,
additionally:
- Simplifying LESS code, reducing specificity to minimum needed
- Providing fallbacks where necessary to a wide range of browsers including IE8
- Better positioning and larger click area of search button

Bug: T225331
Change-Id: Iafeddf670a9c087e66acf5463c99351fc2d5d78c
2019-07-02 00:18:47 +00:00
Ed Sanders a4f61a832e CollapsibleTabs: Avoid Sizzle selectors
Change-Id: I199a11602df50f2120dce6f861bb4b6260ab9380
2019-07-01 16:02:07 +01:00
Translation updater bot a5c492414a Localisation updates from https://translatewiki.net.
Change-Id: I0ad6f5a7df0111e11a9f33d449e40ac48862e29d
2019-06-28 22:11:47 +02:00
Translation updater bot 62f4f2628c Localisation updates from https://translatewiki.net.
Change-Id: I25b9a034018c6e2801b0bcc07aa3de65a69330b2
2019-06-25 22:04:13 +02:00
Translation updater bot 81b7cb666f Localisation updates from https://translatewiki.net.
Change-Id: I1ad59195c945c6f27a5991dfd06330f10d96c87a
2019-06-23 22:11:27 +02:00
Isarra e08fc06fbd Style RelatedArticle cards
If RelatedArtcles uses the SkinAfterContent hook (depends-on patch)
and we move the hook out of the main content block (parent patch),
it needs some styles to remain consistent.

Bug: T181242
Change-Id: I2c5d4034890a5164896c1ef0570b31465a275890
Depeds-on: Iebd759c0d1a536768d18953f372664df762d9e04
2019-06-20 18:14:27 +00:00
Isarra 411a015ec5 Move DataAfterContent outside of main content block
Bug: T226199
Change-Id: Ie04d8d2bb1d44ec8a1c03fcc6f807668bab0377c
2019-06-20 17:55:55 +00:00
Volker E 609c11c51e De-specify selectors in 'responsive.less'
Reduce selector specificity in 'responsive.less' to a saner level.

Change-Id: I5f3a84b86e901589ce8b0cdec36e423693b693e9
2019-06-17 19:05:04 -07:00
Translation updater bot ad5e1e12ce Localisation updates from https://translatewiki.net.
Change-Id: I6caada187e086821caab9440d01ac22d95375a8f
2019-06-10 22:25:52 +02:00
libraryupgrader 881d96018f build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I24f65c54517f4abbdca37e4c48b69eba3c41ab40
2019-06-10 15:49:21 +00:00
libraryupgrader 5914274354 build: Updating npm dependencies for security issues
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: I8eafeb13195b405344ea6ce3da85a4c0f1c4e2a8
2019-06-09 06:51:07 +00:00
Translation updater bot a112518355 Localisation updates from https://translatewiki.net.
Change-Id: Ifb7fd7679d8b440a2160e780426121bde4931b9f
2019-06-08 22:12:38 +02:00
Translation updater bot e74d411edb Localisation updates from https://translatewiki.net.
Change-Id: I621356f47e03464f305ee2cc2846b91522649dc5
2019-06-06 22:22:14 +02:00
WMDE-Fisch 673fed9ac0 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: Ie898fb12b4f144fcfa19c654fed48805df1ebe2d
2019-06-06 18:08:32 +02:00
Translation updater bot 3c28de8711 Localisation updates from https://translatewiki.net.
Change-Id: Id56d7bbdfbb8a2cf2527bc5a99212af152965e01
2019-06-02 22:01:05 +02:00
Translation updater bot 233cb3461b Localisation updates from https://translatewiki.net.
Change-Id: Ic90737d2c5d4ab450b5cb9d4a6c53334b4232a33
2019-05-26 21:59:11 +02:00
Translation updater bot 709ee12f3c Localisation updates from https://translatewiki.net.
Change-Id: Iafd8a937b3245ee9761bbc73d08feec043d25819
2019-05-23 22:42:38 +02:00
Translation updater bot e0ba61e4b8 Localisation updates from https://translatewiki.net.
Change-Id: Iafab1215f0d35e3a42e615ddbebec59b1abc1465
2019-05-22 22:06:07 +02:00
Translation updater bot 0e115cd70a Localisation updates from https://translatewiki.net.
Change-Id: Ib026d38157b7dffe07f801301b7bee62ce3b7c94
2019-05-20 21:57:54 +02:00
James D. Forrester be1a67018a build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I0008085f6e5bf9a97eacaa29ae465916db90131a
2019-05-19 13:49:15 +02:00
Fomafix 3aeac1615b SkinVector: Call parent::__construct in constructor
With this change the constructor of the parent class gets called like if
there is no local constructor. This allows the ancestor classes to
initialize themself in their constructor.

Change-Id: I4ec1ec935afa25b59be4020fca9ac71f23e62ad0
2019-05-12 11:36:38 +02:00
Translation updater bot afbe0aa76a Localisation updates from https://translatewiki.net.
Change-Id: Ic1351f7569641450ac5c795d151c280d499551a0
2019-05-10 08:35:21 +02:00
Translation updater bot d73cd16e0a Localisation updates from https://translatewiki.net.
Change-Id: I65e227e2f36784e47e1f0b94563f12f284825d7e
2019-05-08 22:02:23 +02:00
Translation updater bot b1dc5e3f48 Localisation updates from https://translatewiki.net.
Change-Id: Id514797baa51581aae8c2367ba5a48572f5a725c
2019-05-05 21:58:31 +02:00