Commit graph

626 commits

Author SHA1 Message Date
jenkins-bot 2a45e27584 Merge "Change mw-body ancestor selector to mw-body-content and add to siteNotice" 2017-03-07 17:51:49 +00:00
Translation updater bot 4619353f5c Localisation updates from https://translatewiki.net.
Change-Id: I35bcac8f302a104ec4cd11e5d98dd46d608c5eed
2017-03-05 22:04:10 +01:00
Translation updater bot d27f04cab7 Localisation updates from https://translatewiki.net.
Change-Id: I0ddcf0e7eb4d59842718a1cbf6f5350fa2bb83a8
2017-03-04 22:19:13 +01:00
Ed Sanders 44473d2a2b Change mw-body ancestor selector to mw-body-content and add to siteNotice
Bug: T155863
Bug: T159578
Change-Id: I036d4def3f61d4a604c804c5368d74ec74883d2e
2017-03-03 22:32:09 +00:00
Translation updater bot 8a517e8dec Localisation updates from https://translatewiki.net.
Change-Id: Ica1fe83864a2a544a6977829e072bc62ce4c3a5a
2017-03-03 22:02:17 +01:00
Volker E 463d95a356 Align text and border colors to WikimediaUI color palette
Aligning some text and border colors (all greyscale) to WikimediaUI color
palette and also add toolbar `box-shadow` to “More” menu dropdown
following standard pattern.

Bug: T153043
Change-Id: Ic3247ce29059ea7d7f59a99ca742334600d85ce6
2017-03-02 17:23:52 -08:00
Translation updater bot 16216e084d Localisation updates from https://translatewiki.net.
Change-Id: I6cc673d47a3ee6244d7ef586dead534de2e08ade
2017-02-26 22:09:36 +01:00
Translation updater bot 5078dab814 Localisation updates from https://translatewiki.net.
Change-Id: Ie796b47a58a2e907fc378ddf544e69af9707f124
2017-02-24 21:58:46 +01:00
jenkins-bot 887fd162d4 Merge "Use new placeholder mixin" 2017-02-23 17:12:31 +00:00
Ed Sanders 53cabcfe66 Use new placeholder mixin
Also fix site search to use use the same shade of grey
as is used in OOUI and mw-ui.

Depends-On: I96686bb53cee1a833db8f4d0b691d5e4a1b82885
Change-Id: Ib6437b13760e8c13d06927cb45ef674a5f301e35
2017-02-23 16:37:16 +00:00
Translation updater bot f5f87f16e7 Localisation updates from https://translatewiki.net.
Change-Id: Ie009905080bc2a6eaa0c5c7afae4ed069b5e951b
2017-02-20 23:10:14 +01:00
James D. Forrester 298af67c06 build: Bump stylelint and make pass
grunt-stylelint              0.6.0  →   0.7.0
 stylelint-config-wikimedia   0.3.0  →   0.4.1

Change-Id: Id87b8df04d415e1f1058a4042a31408236402037
2017-02-17 16:34:04 -08:00
Translation updater bot df140bee67 Localisation updates from https://translatewiki.net.
Change-Id: I4aa6122e0ad20c7e87ec5befd62b9856fbc250fb
2017-02-16 22:13:52 +01:00
Translation updater bot 80e5024c03 Localisation updates from https://translatewiki.net.
Change-Id: Ia4a484f64d91bf5794071fe35d39430d6171c82f
2017-02-10 21:57:40 +01:00
Translation updater bot 159f189a61 Localisation updates from https://translatewiki.net.
Change-Id: Ie51334719c9c2d40a3c4c728e62b45de07204ac2
2017-02-08 22:00:05 +01:00
Translation updater bot f2717e2486 Localisation updates from https://translatewiki.net.
Change-Id: Ib3f67e11b91113e667eeff49d73f7b5e8bf4f20f
2017-01-31 22:00:26 +01:00
Translation updater bot c1c41974ef Localisation updates from https://translatewiki.net.
Change-Id: I2a82f7338efdc94ce6a83fa16c4449fef0e2a71f
2017-01-30 22:03:43 +01:00
Translation updater bot 36762c8ef0 Localisation updates from https://translatewiki.net.
Change-Id: I2b61db6906c450ff7bf429c449010ad270037dff
2017-01-27 14:10:34 +01:00
Translation updater bot 9eb4df82be Localisation updates from https://translatewiki.net.
Change-Id: Ia83efd3eb4f965cbb9c326886779b2a999677185
2017-01-25 14:01:50 +01:00
Translation updater bot 8f001c30f5 Localisation updates from https://translatewiki.net.
Change-Id: I71c4d643ce1d137826bbb0b69a2e9fde7177a132
2017-01-23 22:04:43 +01:00
Ed Sanders 5cad73068e build: Update package versions and sort
Change-Id: Icfda010166b29916e2b3217873c30d459b4c041c
2017-01-23 15:04:05 +00:00
Ed Sanders f7d8d036ac build: stylelint more files
Change-Id: If62fa6ff9810de253b65feb1f7e312d22e33bfa8
2017-01-23 15:04:05 +00:00
Translation updater bot 3a9e0549a8 Localisation updates from https://translatewiki.net.
Change-Id: I2f958923bbac520ef27fa0a58a2221962fa2267f
2017-01-22 22:02:33 +01:00
Translation updater bot 8af7bc287d Localisation updates from https://translatewiki.net.
Change-Id: Iba7d402de906a9e5e7793c26ced14e6b061cb74c
2017-01-21 21:58:19 +01:00
Bartosz Dziewoński 532b9c0eaf collapsibleTabs: Stop the tabs from collapsing back and forth forever
Update the 'expandedWidth' after we expand in case someone was brazen
enough to change the tab's contents after the page load (gasp).

This doesn't prevent a tab from collapsing back and forth once, but at
least it won't continue to do that forever. This should reduce the
issue from completely awful to mildly annoying.

Bug: T71729
Change-Id: I46bd6584c0f2ddebc4aa7d1103cff1715e1510a5
2017-01-13 00:16:45 +00:00
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