mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 11:58:44 +00:00
9cf7901ec9
* page-fade: Remove redundant 'background-image' PNG fallback for IE6-8 in '#mw-page-base' because the vertical-gradient() already creates a solid fallback color which seems good enough for IE6-8. Remove the 'background-color' rule which was only there to fill the gap above the the IE6-8 PNG image fallback, which in turn overrode the background-color rule from vertical-gradient. The background-repeat rule is also redundant with background-image gone. * watch-icon-loading: This is only used when the JS code is active and the user clicks the watch star. It does not need a PNG fallback, as it is only needed in Grade A browsers where the JS executes, which are expected to support SVG. Also removed the embedding as the rendering of article text on page load should not be delayed by an icon that might be used if and when the user clicks on the watchstar (and irrelevant to logged-out users). Bug: T121730 Change-Id: Ief4b80432fbe2ce7ebddf429f02c161048ed61d1 |
||
---|---|---|
.phan | ||
components | ||
i18n | ||
images | ||
includes | ||
screenshots | ||
skinStyles | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
collapsibleTabs.js | ||
composer.json | ||
COPYING | ||
Gruntfile.js | ||
hooks.txt | ||
jsduck.json | ||
package-lock.json | ||
package.json | ||
print.less | ||
README.md | ||
responsive.less | ||
screen-hd.less | ||
screen.less | ||
skin.json | ||
variables.less | ||
vector.js |
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