summaryrefslogtreecommitdiff
path: root/www/wiki/skins/Vector/README.md
blob: 85e6ff712e964f024b3a31399b233f80605c3d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Vector Skin
========================

Configuration options
---------------------

### $wgVectorPrintLogo

Logo used in print styles. Keys are `url`, `width`, and `height` (in
pixels). Note that this solution only works correctly if the image
pointed to by `url` is an SVG that does not specify width and height
attributes, or its width and height match the corresponding variables
below. Alternatively, a PNG or other type of image can be used, but
its dimensions also need to match the corresponding variable below.
That in turn may result in blurry images, though.

The URL can be absolute or relative.

Example configuration:

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

* Type: `Array`
* Default: `false`