mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
e2c9a585e4
Bringing appearance and behaviour closer to standard widget like DropdownWidget: - Amending color to be (closest) aligned to WikimediaUI color palette, but switch normal and `:hover`/`:focus` state in order not to be too disruptive of a change and align with rest of Vector tabs, - removing obsolete JS functionality as IE 6 as only major browser affected does receive the menu items as tabs nonetheless and replacing with simple CSS selector, - removing unnecessary and obsolete images and - Lessifying selector Bug: T153043 Change-Id: Ia15480162bb8f923d0e9b6e42ca90c2c880978de |
||
---|---|---|
components | ||
i18n | ||
images | ||
screenshots | ||
skinStyles | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
collapsibleTabs.js | ||
composer.json | ||
COPYING | ||
Gruntfile.js | ||
Hooks.php | ||
hooks.txt | ||
jsduck.json | ||
package.json | ||
phpcs.xml | ||
print.less | ||
README.md | ||
ResourceLoaderLessModule.php | ||
responsive.less | ||
screen-hd.less | ||
screen.less | ||
skin.json | ||
SkinVector.php | ||
variables.less | ||
vector.js | ||
Vector.php | ||
VectorTemplate.php |
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