]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - skins/Vector/README.md
MediaWiki 1.30.2 renames
[autoinstallsdev/mediawiki.git] / skins / Vector / README.md
1 Vector Skin
2 ========================
3
4 Configuration options
5 ---------------------
6
7 ### $wgVectorPrintLogo
8
9 Logo used in print styles. Keys are `url`, `width`, and `height` (in
10 pixels). Note that this solution only works correctly if the image
11 pointed to by `url` is an SVG that does not specify width and height
12 attributes, or its width and height match the corresponding variables
13 below. Alternatively, a PNG or other type of image can be used, but
14 its dimensions also need to match the corresponding variable below.
15 That in turn may result in blurry images, though.
16
17 Example configuration:
18
19         $wgVectorPrintLogo = [
20                 'url' => 'https://en.wikipedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg',
21                 'width' => 174,
22                 'height' => 27
23         ];
24
25 * Type: `Array`
26 * Default: `false`