Restore wordmark to Vector printed media

A mistake was made when upstreaming this code from Vector. The
logo must apply in @print media type as well as @screen - not just
@screen - without this change space was being reserved but no logo
rendered.

Follow up to 7931d76b96

Bug: T232140
Change-Id: I0fa079becd722993fe83f15b4537ffb3831a87d8
This commit is contained in:
jdlrobson 2020-02-06 10:17:58 +08:00 committed by VolkerE
parent 7516cb05fa
commit 37a69a2f86

View file

@ -77,7 +77,9 @@ class ResourceLoaderSkinModule extends ResourceLoaderFileModule {
*/
private const FEATURE_FILES = [
'logo' => [
'screen' => [ 'resources/src/mediawiki.skinning/logo.less' ],
// Applies the logo and ensures it downloads prior to printing.
'all' => [ 'resources/src/mediawiki.skinning/logo.less' ],
// Reserves whitespace for the logo in a pseudo element.
'print' => [ 'resources/src/mediawiki.skinning/logo-print.less' ],
],
'content' => [