Commit graph

481 commits

Author SHA1 Message Date
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
Translation updater bot b0b1a1b50d Localisation updates from https://translatewiki.net.
Change-Id: Ib73faee16a630cf49bc7a2479950bfd743f50a29
2016-09-27 22:11:35 +02:00
Translation updater bot 9287a1c8a8 Localisation updates from https://translatewiki.net.
Change-Id: I0edb1257b86e569a8a5c6cc47ac67689bcca2675
2016-09-26 22:16:11 +02:00
Translation updater bot 97b9bf0672 Localisation updates from https://translatewiki.net.
Change-Id: I221465c3c650f78c116f1dbe7ffbe6b0784b3d38
2016-09-24 22:11:31 +02:00
Translation updater bot b4e48729f4 Localisation updates from https://translatewiki.net.
Change-Id: Iff707c70a0f0d23f76be1cc3a1020296e370f8dd
2016-09-23 22:06:23 +02:00
Translation updater bot cca8795383 Localisation updates from https://translatewiki.net.
Change-Id: I3965238c7bf0f87dcf81abe245418f89ef099a84
2016-09-22 23:04:30 +02:00
Translation updater bot 7bf0d3085e Localisation updates from https://translatewiki.net.
Change-Id: I3743ca5095b9e3267599402cef5015f017bc58a5
2016-09-21 23:24:27 +02:00
Translation updater bot f396bb29ff Localisation updates from https://translatewiki.net.
Change-Id: Ib0c628fd4023a709c3184158f1f8df6df3d09eda
2016-09-20 22:07:07 +02:00
Translation updater bot 9b1937dd76 Localisation updates from https://translatewiki.net.
Change-Id: I5307657ecaa8f4212a14317a7dbfa160c49d1c77
2016-09-19 22:19:40 +02:00
jenkins-bot da777717aa Merge "search.less: Use only one background-image for overlaid buttons" 2016-09-19 18:10:16 +00:00
Translation updater bot e05f98b100 Localisation updates from https://translatewiki.net.
Change-Id: Ia071c59b38871eb65661af66698cdb410b1c6aaf
2016-09-18 22:09:21 +02:00
Bartosz Dziewoński 9452689791 search.less: Use only one background-image for overlaid buttons
Bug: T145928
Change-Id: If701930e469283c969e9a8a16574fa1a96cd502f
2016-09-18 16:09:13 +02:00
Translation updater bot dbda52f8d6 Localisation updates from https://translatewiki.net.
Change-Id: I7d53a91b865c85cdb33872ce90db05a38a6b6188
2016-09-17 22:48:39 +02:00
Translation updater bot 74684ca22e Localisation updates from https://translatewiki.net.
Change-Id: I455c0466b82ba34e1efd634719adec2003303a8e
2016-09-16 23:30:56 +02:00
Translation updater bot 4898aadbec Localisation updates from https://translatewiki.net.
Change-Id: I87e587e8b71ca14525e3c6104ff4a3176ffd760f
2016-09-15 22:28:18 +02:00
Translation updater bot 6b3f462d14 Localisation updates from https://translatewiki.net.
Change-Id: If1df444fdc0d51830fd826e57a225f3149e57381
2016-09-14 22:09:56 +02:00
Translation updater bot 4b3273afff Localisation updates from https://translatewiki.net.
Change-Id: I3a11b1241c097bee804e1a3c807696dbf6491fb5
2016-09-13 22:20:40 +02:00
Translation updater bot 7047b1fc0b Localisation updates from https://translatewiki.net.
Change-Id: Ic39a370b7060c7eda3d64809992e84ae5d8a88fa
2016-09-12 22:40:36 +02:00
Translation updater bot 1bb5de9b05 Localisation updates from https://translatewiki.net.
Change-Id: I66fec5cb9b2aa1a3500117fb685217ff5cb26e71
2016-09-11 22:29:23 +02:00
Translation updater bot c1bc643b63 Localisation updates from https://translatewiki.net.
Change-Id: I220f2311a802fd3cb57f92f4f025af299fbe062b
2016-09-10 22:58:57 +02:00
Translation updater bot b85973152e Localisation updates from https://translatewiki.net.
Change-Id: I6c7352d0ca4b616df5a8e0c0d7319ee5339f5bc7
2016-09-08 23:16:32 +02:00