Custom Vector theme/skin for GolemWiki, our instance of MediaWiki
c68a21e78a
Xml::expandAttributes() outputs a space at the beginning before it outputs the attributs. This change avoids a double space between the attributes. Before this change the HTML contains: <a class="mw-wiki-logo" href="..." title="..."> After this change the HTML contains: <a class="mw-wiki-logo" href="..." title="..."> Change-Id: I486d26bd56a4410766f40b78466c2f3559f3a1ff |
||
---|---|---|
components | ||
i18n | ||
images | ||
includes | ||
screenshots | ||
skinStyles | ||
tests/phan | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
collapsibleTabs.js | ||
composer.json | ||
COPYING | ||
Gruntfile.js | ||
hooks.txt | ||
jsduck.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