Go to file
Translation updater bot 958ae2d909 Localisation updates from https://translatewiki.net.
Change-Id: I764d30a432119904ae3a89edd8ed9a75c0e75624
2018-07-29 22:08:57 +02:00
components Use exactly calculated value to work around a Chrome bug 2018-06-26 21:18:34 +02:00
i18n Localisation updates from https://translatewiki.net. 2018-07-29 22:08:57 +02:00
images Optimize SVGs and align to WikimediaUI color palette 2017-10-24 01:18:07 -07:00
includes Merge "Let Html::element do the output encoding" 2018-06-12 19:52:25 +00:00
screenshots Add skin screenshot for the installer 2017-08-11 15:37:34 -04:00
skinStyles Remove IE 6 specific code 2018-05-24 02:17:30 +02:00
tests/phan Add phan configuration for static analysis 2018-05-02 14:16:00 -07:00
.eslintrc.json build: Replace jshint and jscs with eslint 2016-11-29 08:39:55 -08:00
.gitignore Add phan configuration for static analysis 2018-05-02 14:16:00 -07:00
.gitreview Use track=1 instead of defaultbranch=master in .gitreview 2016-10-24 17:30:32 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 08:12:17 +00:00
.stylelintrc.json build: Bump devDependencies to latest 2018-02-26 10:29:23 -08:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2017-06-07 13:51:49 +04:30
collapsibleTabs.js build: Update eslint-config-wikimedia 0.4->0.5, eslint 19->20 2017-08-25 16:21:21 +01:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 21.0.0 2018-07-28 00:10:37 +00:00
COPYING Use the plain-text GPL and fix 'license-name' to match SPDX conventions 2015-01-29 17:04:29 +01:00
Gruntfile.js Use json extension for .stylelintrc 2017-08-19 06:46:03 +00:00
hooks.txt Remove 'SkinVectorStyleModules' hook 2018-01-26 10:33:47 -08:00
jsduck.json collapsibleTabs: Clean up and simplify code 2016-11-29 02:25:00 +00:00
package.json build: Bump devDependencies to latest 2018-02-26 10:29:23 -08:00
print.less Re-implement and improve mw-jump links with pure CSS 2018-05-24 00:08:02 +00:00
README.md Print logo should use an absolute URI 2017-10-11 19:06:29 +00:00
responsive.less Lower CSS selector specificity on Vector tabs and menu 2018-05-23 13:52:41 +02:00
screen-hd.less Lower CSS specificity of #footer rules 2018-03-17 13:11:37 -07:00
screen.less build: Introduce stylelint and make pass 2016-11-29 08:40:03 -08:00
skin.json Move class files to includes/ 2018-03-12 16:52:48 -07:00
variables.less chmod -x variables.less 2017-08-23 22:37:00 -07:00
vector.js Remove old selectors and JavaScript for dropdown menus 2018-03-12 23:34:32 +00:00
Vector.php Run phplint and phpcs through "composer test" entry point 2015-06-09 16:37:14 +03:00

Vector Skin

Configuration options

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