mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-11 16:59:09 +00:00
Follow-up 2dbe4d7
: Stop documenting wgVectorPrintLogo, never read
Change-Id: Ia968e72e1672e9afb4a11ddbfc89ef7e891dc0d3
This commit is contained in:
parent
2d914d04ea
commit
1cbb7ee653
25
README.md
25
README.md
|
@ -19,28 +19,3 @@ Additions and deviations from those conventions that are more tailored to this
|
|||
project are noted at:
|
||||
|
||||
<https://www.mediawiki.org/wiki/Reading/Web/Coding_conventions>
|
||||
|
||||
### 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`
|
||||
|
|
Loading…
Reference in a new issue