Commit graph

501 commits

Author SHA1 Message Date
Translation updater bot 490a72b92b Localisation updates from https://translatewiki.net.
Change-Id: I00056b44198d17006e823970812daefa3a24a8bf
2017-01-09 15:03:10 +01:00
Translation updater bot 29561ff4d1 Localisation updates from https://translatewiki.net.
Change-Id: I3c9e33819f4c68b61b9e8779f6112ebc44c5b41b
2017-01-04 22:09:14 +01:00
Translation updater bot 3173d09c90 Localisation updates from https://translatewiki.net.
Change-Id: I387dd7e9237575bae6ebc8a40dc1d1b2b2341960
2017-01-03 10:03:44 +01:00
Translation updater bot b9bda38f2b Localisation updates from https://translatewiki.net.
Change-Id: I3bba6c0fe35711f4d5991bf26e2033ec8ded8fd0
2017-01-02 10:18:28 +01:00
Translation updater bot 18faf4ec2d Localisation updates from https://translatewiki.net.
Change-Id: I9aebf00f133074a4be5d17c36c2ee361207d5b2c
2016-12-30 10:12:50 +01:00
Translation updater bot 86fb31e746 Localisation updates from https://translatewiki.net.
Change-Id: I386ce4c067300daaec25af68cee23630b4358e84
2016-12-26 22:12:39 +01:00
Translation updater bot 815ca3479c Localisation updates from https://translatewiki.net.
Change-Id: Ie41dd8d7c878078281c18810b7897f12d10ff356
2016-12-25 22:03:38 +01:00
Translation updater bot 2bbf5f80a7 Localisation updates from https://translatewiki.net.
Change-Id: Ia4337ee456993ed07a29b96d8ede203100f3837d
2016-12-23 22:11:00 +01:00
Translation updater bot 2f7fbca654 Localisation updates from https://translatewiki.net.
Change-Id: I0bcb4a18193496a28f046a17b83e1fda35379d15
2016-12-22 22:03:56 +01:00
Translation updater bot 7fa15617a0 Localisation updates from https://translatewiki.net.
Change-Id: Ib19f973d2f2db19cff07b4b1e02afb0333aad28d
2016-12-21 23:11:33 +01:00
pppery 3621078abf Specify height of tabs
This fixes the display of the tabs when `box-sizing: border-box` is
specified in local CSS. Previously, they were shifted upwards and shrunk
slightly.

Bug: T104767
Change-Id: I04333300bd1d29003e609091e0f64a73489f04c6
2016-12-14 15:43:43 -05:00
jo12bar 565011c5c4
Use global variable for tablet media query in responsive.less
The Vector skin's responsive mode originally used 768px as a hardcoded
value for the media query set up in skin.json. I attempted to
switch to the @deviceWidthTablet global Less variable provided by
MediaWiki inside skin.json, but this would not work under any
circumstances. Evidently, ResourceLoader does not compile Less, so
it just ignores the media query if it contains a Less variable.
I was forced to leave the media query within skin.json blank
and hard-code it into responsive.less. When using the
@deviceWidthTablet variable inside responsive.less, it worked
fine. Obviously this is not ideal, as I am bypassing ResourceLoader,
but I have no other choice. See this comment (T124994#2864136) for
details.

Bug: T124994
Change-Id: I28565e5ba88be41dcd9cb38fc09cffe29d263e06
2016-12-13 15:27:38 -08:00
Translation updater bot 16f60f3e79 Localisation updates from https://translatewiki.net.
Change-Id: Ieceda764fa9f046952d316127c815be70e15b85c
2016-12-12 22:00:07 +01:00
Translation updater bot 82a6c0bf50 Localisation updates from https://translatewiki.net.
Change-Id: I86761f2ea58326742dea5d44c06b824759ba678d
2016-12-10 22:50:55 +01:00
Translation updater bot 082714ffdc Localisation updates from https://translatewiki.net.
Change-Id: I2dadb892433003a1680559bd5395a66e0420e2f9
2016-12-09 22:48:27 +01:00
Translation updater bot 245c9b9cba Localisation updates from https://translatewiki.net.
Change-Id: I5fad265a1349d1e65b5f1458d197d1cdf1b0a699
2016-12-07 22:42:10 +01:00
Translation updater bot 3cba4bae04 Localisation updates from https://translatewiki.net.
Change-Id: I0865c5d0abc971504181393b8ac34678388cb12f
2016-12-05 22:22:02 +01:00
Translation updater bot bd1d4b619b Localisation updates from https://translatewiki.net.
Change-Id: I809c8b5c90ba66089e3cb7cb955c384c16e26922
2016-12-02 21:56:11 +01:00
Translation updater bot d92a2d8982 Localisation updates from https://translatewiki.net.
Change-Id: I1206dcff9a3c2cf20d7e150253ea3083b6f244bb
2016-11-30 21:55:28 +01:00
Translation updater bot 75b6d1e51d Localisation updates from https://translatewiki.net.
Change-Id: I8b59cb4c0478ae0fac69f7e309ffb8d0293f1d75
2016-11-29 21:59:19 +01:00
James D. Forrester 0019f6d5a5 build: Introduce stylelint and make pass
Change-Id: I48d542580d767df2d17ce4c6668e9e233a0f7904
2016-11-29 08:40:03 -08:00
James D. Forrester 9bd5ce5a1e build: Replace jshint and jscs with eslint
Change-Id: I48d542580d767df2d17ce4c6668e9e233a0f7903
2016-11-29 08:39:55 -08:00
Timo Tijhof 1f26153a5d collapsibleTabs: Clean up and simplify code
* Rename 'rtl' to 'isRTL' and use DOM to compute its value.
* Document code with JSDuck similar to other extensions.
* Remove unused 'prevElement' property. Not used in Vector
  nor anywhere else in Wikimedia Git.
* Make 'boundEvent' property private. Not used anywhere in
  Wikimedia Git outside this file.

* Simplify 'instances' tracking.
  The jQuery object stored in this property wasn't used beyond
  calling each(). Convert to a plain array.
  Preserve and re-use the jQuery object first created
  by collapsibleTabs().

* Simplify calculateTabDistance() by using getElementById() and
  getBoundingClientRect(). Its support includes IE 5.
  The "new" version (since Firefox 3.5 and IE 9) also includes
  'height' and 'width' properties and is supported in all
  browsers supported by the MediaWiki 1.28 startup feature test.

  This helps avoid code in offset() and width(), which is fairly
  expensive in jQuery 1.x.

* moveToCollapsed()
  - Remove redundant jQuery object creation (only caller passes a
    jQuery object already).
  - Remove redundant re-receiving of expContainerSettings inside
    the animate() callback. Already in the main scope.
    Relates to a bunch of patches that work around a problem
    caused by use of remove() instead of detach() in an earlier
    version of the code. Which was only a problem because the
    other settings object was also not used from the main scope.
    (See pre-Gerrit commits 1f93310e and e7900807.)

Change-Id: I48d542580d767df2d17ce4c6668e9e233a0f7902
2016-11-29 02:25:00 +00:00
Translation updater bot 9da3112abb Localisation updates from https://translatewiki.net.
Change-Id: Ide5606327244b463aea1644a4e455a7cadbecbb1
2016-11-28 22:06:06 +01:00
Translation updater bot fb56f81722 Localisation updates from https://translatewiki.net.
Change-Id: Ic4dc505b5ebdfa8937c06dfbd2e6f4f0b4c59126
2016-11-22 23:06:50 +01:00
Timo Tijhof a1526f3ffd vector.js: Replace deprecated jQuery bind() with on()
> JQMIGRATE: jQuery.fn.bind() is deprecated

Note that bind() is not removed in v3, merely deprecated.
Even after the jQuery Migrate phase, it will continue to work.

https://jquery.com/upgrade-guide/3.0/

Ref I3c3dedaa.

Bug: T124742
Change-Id: I6bbd8f829ecf987228c6a5abd32c84e4e088a9bd
2016-11-21 18:10:43 -08:00
Translation updater bot 0b77c0e239 Localisation updates from https://translatewiki.net.
Change-Id: I7f5dafe1abcc92089b7de9a911c956ccfdfe44d9
2016-11-19 21:55:16 +01:00
Translation updater bot 6fe81c0dc6 Localisation updates from https://translatewiki.net.
Change-Id: I7037d0cd1b812e7bba06bc55dcafcb536b6acd77
2016-11-18 21:54:47 +01:00
Translation updater bot 1b2de2851e Localisation updates from https://translatewiki.net.
Change-Id: Ie98eaf790a19e8b6b5a8e7f207c56777a3b6c2f7
2016-11-15 22:23:34 +01:00
Translation updater bot fbf93cdd73 Localisation updates from https://translatewiki.net.
Change-Id: I68bfd8d7cbc221cdcbcc336586f49965bb2b5d83
2016-11-10 22:16:36 +01:00
Translation updater bot 3289f9bb06 Localisation updates from https://translatewiki.net.
Change-Id: I3a02f40a02577744d17d48dd0737d04312252a59
2016-11-08 22:17:31 +01:00
Translation updater bot 0075444cc8 Localisation updates from https://translatewiki.net.
Change-Id: Id6e47c8f1bbf40a6a3a62a4ee75c84d5d70c7aa1
2016-11-05 22:17:13 +01:00
Translation updater bot 83344904c4 Localisation updates from https://translatewiki.net.
Change-Id: I9d44edbb7e0e3c690525bc5dea4891d0787166c7
2016-11-03 22:35:35 +01:00
Translation updater bot e990e21944 Localisation updates from https://translatewiki.net.
Change-Id: Id16b13a15f69d4870644f7bbb901dbaff5053f40
2016-11-01 22:15:49 +01:00
Translation updater bot fe3f3d2668 Localisation updates from https://translatewiki.net.
Change-Id: I559c1274f6afa7b4da480880d17f3fd895efceac
2016-10-30 22:19:15 +01:00
Translation updater bot 1d2ac844d1 Localisation updates from https://translatewiki.net.
Change-Id: I99f7a98ca821ff5943cb8b0a5b28658ec86584c5
2016-10-27 22:13:26 +02:00
Translation updater bot f81a1b80e9 Localisation updates from https://translatewiki.net.
Change-Id: Ia7cfd8a678d08a29d374c2ebc6a8565b60ba941f
2016-10-25 22:30:10 +02:00
Chad Horohoe d346c87552 Use track=1 instead of defaultbranch=master in .gitreview
Change-Id: I12980eed070e70489e0a85ab03def39e938b7c70
2016-10-24 17:30:32 -07:00
Translation updater bot 93709f821c Localisation updates from https://translatewiki.net.
Change-Id: I4b998bb311f09282bb0a2852138cb4dd3b45ee9a
2016-10-21 22:06:21 +02:00
Translation updater bot 4f305f7036 Localisation updates from https://translatewiki.net.
Change-Id: Ied2f7636e85a235da844e5195b041e9043f8ad4c
2016-10-17 22:10:27 +02:00
Translation updater bot 7950e31b36 Localisation updates from https://translatewiki.net.
Change-Id: I0a67f04462ebfaf765cfbe2a372a0d0c285985c8
2016-10-15 22:15:41 +02:00
Translation updater bot 13c42254f7 Localisation updates from https://translatewiki.net.
Change-Id: Ia626fffa0373a34bbe220cc38f166f83f462d59f
2016-10-13 22:18:21 +02:00
Translation updater bot 5a126f0cae Localisation updates from https://translatewiki.net.
Change-Id: I266d2ea592dc07236b9280b52ced2394e6f906b2
2016-10-11 22:13:21 +02:00
Translation updater bot 2b6a9f24f8 Localisation updates from https://translatewiki.net.
Change-Id: I1f387b19e9147f893149fba358c21a51bd89aa1e
2016-10-09 22:04:44 +02:00
Translation updater bot 832638b2a6 Localisation updates from https://translatewiki.net.
Change-Id: Ia3cf7c2101d289d67ae76320c8d5fdf40c0e44cf
2016-10-07 22:52:13 +02:00
Translation updater bot 49b004969b Localisation updates from https://translatewiki.net.
Change-Id: Id44225e1af74bbe774175b4ccf84f5a063b7b5df
2016-10-05 22:14:37 +02:00
Translation updater bot 2ffc504184 Localisation updates from https://translatewiki.net.
Change-Id: If096d70cdc0b183dd5d6cd6f7d28bf00cf63618f
2016-10-03 22:17:40 +02:00
Translation updater bot 9235b31ecd Localisation updates from https://translatewiki.net.
Change-Id: I7a460c4fbe7ffbbf60ee850501ca631eb7947c53
2016-10-01 22:01:41 +02:00
Translation updater bot 4fb6f4c35e Localisation updates from https://translatewiki.net.
Change-Id: I5b8600eeeccebb2c82ed357897063f48570c3f6c
2016-09-29 22:36:31 +02:00
Translation updater bot 8da3268a2e Localisation updates from https://translatewiki.net.
Change-Id: Ifa55e8549dd0277ee5e3befb407d33ee9ea2e315
2016-09-28 22:02:19 +02:00