Commit graph

1175 commits

Author SHA1 Message Date
jenkins-bot 222403ee24 Merge "Print styles: set minimum width for paragraphs" 2017-09-14 16:45:08 +00:00
Baha 1aa66cc931 Print styles: set minimum width for paragraphs
An arbitrary 120pt (approved by the designer) has been chosen as the
minimum width of paragraphs. This is especially useful when a paragraph
is surrounded by two floating elements from the left and right. If there
is not enough space in the middle, then the change will push the
paragraph text until there's enough space to display the text.

Bug: T175008
Change-Id: I428f153309162e23606e5187a0e1bd7244253f10
2017-09-14 13:16:36 +01:00
Translation updater bot 97e763ddab Localisation updates from https://translatewiki.net.
Change-Id: I8a8e7127238ba594533c5615a45dbd59671c0035
2017-09-12 22:02:51 +02:00
Translation updater bot 6b65d8c1b6 Localisation updates from https://translatewiki.net.
Change-Id: I99fb2d3a37a2e2360079f0bb86cb809df1e7b27f
2017-09-10 21:58:14 +02:00
jenkins-bot 699a8a2ec5 Merge "Improve some parameter docs" 2017-09-09 21:34:38 +00:00
Translation updater bot 4c165e18ae Localisation updates from https://translatewiki.net.
Change-Id: Ib6c5dc11eeffd3a8ca065df063bc3921098331d3
2017-09-09 21:59:00 +02:00
Umherirrender 73e498d24b Improve some parameter docs
Change-Id: Iade09edaa5d10dfa68defc1735b1fb4f888855e3
2017-09-09 13:52:04 +00:00
Translation updater bot af22c0eeb5 Localisation updates from https://translatewiki.net.
Change-Id: Iafeec9d88700d81758bdbe7a79b9b7c0756fca8b
2017-09-08 23:23:54 +02:00
Translation updater bot 6f53d4b5e2 Localisation updates from https://translatewiki.net.
Change-Id: If53f84450096bc5743ee671302e4e39c09ced667
2017-09-06 22:17:04 +02:00
Translation updater bot 100ec7e9a2 Localisation updates from https://translatewiki.net.
Change-Id: I24d2a3c1aad9969c6ca039b114009d2be9c79146
2017-09-04 22:04:31 +02:00
Translation updater bot 1604d67b3d Localisation updates from https://translatewiki.net.
Change-Id: I4a8d4e3f1cb71a6604cee7669075c9b1b38c2aab
2017-09-03 08:47:04 +02:00
Translation updater bot dde5370a2e Localisation updates from https://translatewiki.net.
Change-Id: I0873cd6714c0aa8c042baa3b22e59478cd4cc577
2017-09-02 09:21:58 +02:00
Kunal Mehta edff0350a1 Don't pass $this by reference
Bug: T153505
Change-Id: Ife076b323b1f4091fd851acb4b470000d2206cae
2017-09-01 15:32:45 +01:00
libraryupgrader 38c524d370 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: Ia0545dbd8c599b525b57d6e42279e04dabdf6495
2017-09-01 05:01:28 +00:00
Translation updater bot c045086d59 Localisation updates from https://translatewiki.net.
Change-Id: Ide94568601e2984614748bb9993e68375db9b188
2017-08-30 08:53:00 +02:00
Translation updater bot 39eb6daa79 Localisation updates from https://translatewiki.net.
Change-Id: I0a069d611f21c0f3679b14333762c0b865a7a1d3
2017-08-29 09:13:55 +02:00
Translation updater bot 3b3d5f8479 Localisation updates from https://translatewiki.net.
Change-Id: Idaea5ebe9c132b60aa6d3c2c94d0d35cc6ba6562
2017-08-28 09:52:47 +02:00
Ed Sanders 8842f744ee build: Update eslint-config-wikimedia 0.4->0.5, eslint 19->20
Change-Id: I61a9bc5567036dfcbc7697276583facbefac8b93
2017-08-25 16:21:21 +01:00
Translation updater bot 3b7e5442bc Localisation updates from https://translatewiki.net.
Change-Id: Icdf13587d89ced137f089ecbd4162b2b8fa426aa
2017-08-25 08:56:37 +02:00
jenkins-bot b7426c30cd Merge "chmod -x variables.less" 2017-08-24 13:54:45 +00:00
Translation updater bot 4de5bcbcf0 Localisation updates from https://translatewiki.net.
Change-Id: I6185bac87bcfc868208f74550ed16db5ce835608
2017-08-24 08:44:26 +02:00
Kunal Mehta c6fa71eb00 chmod -x variables.less
There's no reason for this file to be executable.

Change-Id: If783cf367fa57292ba93ac33ab6c31adfa3cc624
2017-08-23 22:37:00 -07:00
Translation updater bot 00d9bb59da Localisation updates from https://translatewiki.net.
Change-Id: I9f67a64aa902b2503d2b4416cc27be1c22ed0be1
2017-08-23 08:41:22 +02:00
jenkins-bot d3a3832e83 Merge "Change print wordmark margin bottom to 20px from 10px" 2017-08-22 22:16:08 +00:00
jdlrobson 9101bd6327 Adjust TOC print styles
* Font size shrunk and declared in `pt`
* `margin` adjustment
* `page-break-before` now uses `avoid`

Bug: T173767
Change-Id: Ieeabc22079978cdf1f8484f3ac9961d990901336
2017-08-22 22:09:41 +00:00
Baha 932990c2fe Change print wordmark margin bottom to 20px from 10px
Per T169826#3542839.

Bug: T169826
Change-Id: I8658814988c15e48ca90875d33327a48ee8b7ca1
2017-08-22 16:23:48 -04:00
Translation updater bot d389464865 Localisation updates from https://translatewiki.net.
Change-Id: I2571c2bf1bcccfdc24dfc7376b78df7beaccf9d8
2017-08-22 08:15:37 +02:00
jenkins-bot a45e81c993 Merge "Replace grey with WikimediaUI palette color one" 2017-08-21 18:58:07 +00:00
jenkins-bot 135042bf7c Merge "Replace colors on Special:Preferences view with WikimediaUI ones" 2017-08-21 15:33:08 +00:00
Umherirrender 2fafe4dfc2 Use json extension for .stylelintrc
Bug: T173516
Change-Id: If6b194d51a8c61e71178f745598bd5eb13605be7
2017-08-19 06:46:03 +00:00
Translation updater bot 25984762ce Localisation updates from https://translatewiki.net.
Change-Id: I951fdf2d365ad5d6baf71a563ea5754d5e44b633
2017-08-19 08:41:25 +02:00
Volker E a51f69ca8d Replace colors on Special:Preferences view with WikimediaUI ones
Replacing outdated colors on Vector's Special:Preferences.

Bug: T173607
Change-Id: I4d23fb4bfcd3789e3f18fa7ed8247921a3557727
2017-08-18 15:42:33 -07:00
Volker E 3e8342630d Replace grey with WikimediaUI palette color one
Replacing `#4d4d4d` with `#444`, which is `color-base` var modifier.
We're going for a very similar
color for now, instead of `#54595d` as with current background
we want to still ensure WCAG 2.0 level AAA conformance as it's
right now in order to not be disruptive.

Bug: T153043
Change-Id: I4c8caac9d829d8a3a351fc78181279ed35ed15a9
2017-08-18 15:18:12 -07:00
Kunal Mehta 706f6f2a87 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I7b00201b7f81d88115be496c6bbb9cb317d07324
2017-08-14 22:56:39 -07:00
Translation updater bot 46b35673fb Localisation updates from https://translatewiki.net.
Change-Id: Ibb6ea5f4296802c2dc9233e4d90ad3d7fdae2be3
2017-08-14 08:23:58 +02:00
Translation updater bot 1b60519188 Localisation updates from https://translatewiki.net.
Change-Id: I7d9ea56ad4eb3ef9a366045c91f4e814752e2dec
2017-08-11 22:08:02 +02:00
Bartosz Dziewoński ba885035bf Add skin screenshot for the installer
Bug: T68295
Change-Id: I9d3bb2805ed143b5609edb15c336979f4aeabe99
2017-08-11 15:37:34 -04:00
Volker E ce9d900cb3 Replace @colorGray9 with static color value #999
Replacing `@colorGray9` variable with static color value `#999`
as it's among those color values which are not part of the new
WikimediaUI color palette any more. Will be deprecated in
Iaef72470c596656

Bug: T172850
Change-Id: I94c40badb4a8e4703b5e3400d78641edd98f0300
2017-08-10 13:26:02 -04:00
jenkins-bot c34e08ddb8 Merge "Padding tweak for all lists" 2017-08-09 17:02:29 +00:00
Baha bb7579d3e5 Embed print wordmark and pre-render it
Make sure the print wordmark is readily available for printing. In
addition to embedding, pre-render the wordmark outside the viewport so
that the print dialog doesn't block image rendering in the print view.

Bug: T169826
Change-Id: I788bcecadf26e4e5558b5b37e6fb1b2e9378277e
2017-08-04 11:42:18 -04:00
jenkins-bot bbb1d9e78d Merge "Make dropdown menus appear above VisualEditor toolbar" 2017-08-04 00:50:55 +00:00
jdlrobson 595bf2cece Padding tweak for all lists
This is particularly important in references where this small
change saves a large number of pages from being printed.

Bug: T172144
Change-Id: I7ceb244dc7be847cbe0fdc58c6a1cac6b0de3e0a
2017-08-03 15:18:40 -07:00
Umherirrender b1dff6dc3f build: Exclude composer vendor folder
Change-Id: I7156ba5eb000bdcd29aba009d8ce8c030f8d2f11
2017-08-03 15:03:07 +02:00
Bartosz Dziewoński 206efa4c96 Make dropdown menus appear above VisualEditor toolbar
Bug: T171840
Change-Id: I36dc747ec2c41816df371aa5e1d4b81dff24a7dd
2017-08-03 01:27:05 +02:00
Translation updater bot af8abcd1ce Localisation updates from https://translatewiki.net.
Change-Id: I3d7466504d2c8fc2025b16bbcb4e6877550d7588
2017-08-02 23:06:51 +02:00
jenkins-bot cf999f4e17 Merge "Add print logo" 2017-08-02 00:59:51 +00:00
Translation updater bot 3e05f2b91e Localisation updates from https://translatewiki.net.
Change-Id: Id7c27fad5464e6a31777f1f39dc10548dac72e7c
2017-08-01 22:11:33 +02:00
Baha 413870d350 Add print logo
Logo cannot be displayed as a background image because it won't be
visible in print unless the user prints backgrounds too.

A sample configuration looks like this:

$wgVectorPrintLogo = [
	'url' => 'https://en.wikipedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg',
	'width' => 174,
	'height' => 27
];

The solution presented in the patch has a downside of not being able
to scale images down if their dimensions are bigger than the
dimensions specified in the config variable. For example, if we want
to go with an SVG image, then IE8 won't be able to render it.
Alternatively, if we want to go with a PNG image, its dimensions need
to match the exact dimensoins in the config variable, otherwise the
image will show up larger or smaller depending on its dimensions.

A more complicated approach of scaling images using `transform: scale`
hasn't been used because we wanted to keep the configuration simple
while supporting the majority of our users. With the current change,
we can reuse the existing configuration options from Minerva, for
exmaple. It would look something like this:

$wgVectorPrintLogo = [
	'url' => $wgMFCustomLogos['copyright'],
	'width' => $wgMFCustomLogos['copyright-width'],
	'height' => $wgMFCustomLogos['copyright-height']
];

Bug: T169826
Change-Id: If8f9f8d95fd3c955ece37d6c8ab6995596189667
2017-08-01 10:55:53 -04:00
Translation updater bot 80171ff47f Localisation updates from https://translatewiki.net.
Change-Id: I90221888af4401289eb9dc327ac865019553b358
2017-07-31 22:12:37 +02:00
Antoine Musso 60d6ecbaad Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 12:04:32 +02:00