Custom Vector theme/skin for GolemWiki, our instance of MediaWiki
Go to file
jdlrobson 2dbe4d7af1 Drop usage of mediawiki.skinning.interface module in favor of SkinModule
Thanks to the dependent change, the print logo is now provided
in core so we can remove the custom Vector ResourceLoader module

ResourceLoaderLessModule is replaced with a ResourceLoaderSkinModule
and gains the features capability replacing the need for
'mediawiki.skinning.interface' making use of the changes added in
6845912bcf1.

Note that for cached HTML both 'mediawiki.skinning.interface'
and skins.vector.styles will be loaded. We can avoid this
by renaming skins.vector.styles if necessary (but I'm not
sure if we'd want to do that)

Bug: T232140
Depends-On: I00899c16c0325f36b671baf17e88c2b5187b3526
Change-Id: I569e0d800e147eabc7852567acd140108613f074
2020-02-05 10:02:47 +08:00
.phan Upgrade to newer phan 2019-03-20 19:37:59 -07:00
.storybook Add storybook to Vector 2020-01-31 16:59:15 +08:00
dev-scripts Add storybook to Vector 2020-01-31 16:59:15 +08:00
i18n Localisation updates from https://translatewiki.net. 2020-02-04 08:10:46 +01:00
includes Drop usage of mediawiki.skinning.interface module in favor of SkinModule 2020-02-05 10:02:47 +08:00
resources Drop usage of mediawiki.skinning.interface module in favor of SkinModule 2020-02-05 10:02:47 +08:00
screenshots Add skin screenshot for the installer 2017-08-11 15:37:34 -04:00
skinStyles hygiene: Make LESS imports non-ambigious 2019-10-25 20:54:49 +00:00
stories Add storybook to Vector 2020-01-31 16:59:15 +08:00
tests/phpunit/integration Introduce PHPUnit tests in Vector 2020-01-31 16:48:43 +01:00
.eslintrc.json build: Update linters 2019-10-31 21:43:20 +00:00
.gitignore Add storybook to Vector 2020-01-31 16:59:15 +08:00
.gitreview Use track=1 instead of defaultbranch=master in .gitreview 2016-10-24 17:30:32 -07:00
.phpcs.xml Add method scope visibility 2018-11-01 21:01:32 +01:00
.stylelintrc.json build: Bump devDependencies to latest 2018-02-26 10:29:23 -08:00
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-04 01:45:34 +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 Add storybook to Vector 2020-01-31 16:59:15 +08:00
README.md Print logo should use an absolute URI 2017-10-11 19:06:29 +00:00
composer.json build: Updating composer dependencies 2020-01-30 20:11:34 +00:00
hooks.txt Remove 'SkinVectorStyleModules' hook 2018-01-26 10:33:47 -08:00
jsduck.json [fix] [jsduck] Update config JavaScript path 2020-02-03 09:43:56 -07:00
package-lock.json Add storybook to Vector 2020-01-31 16:59:15 +08:00
package.json Add storybook to Vector 2020-01-31 16:59:15 +08:00
skin.json Drop usage of mediawiki.skinning.interface module in favor of SkinModule 2020-02-05 10:02:47 +08:00
variables.less hygiene: Make LESS imports non-ambigious 2019-10-25 20:54:49 +00:00

README.md

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