Merge "Add `theme-color` meta tag to Minerva"

This commit is contained in:
jenkins-bot 2018-10-01 18:29:52 +00:00 committed by Gerrit Code Review
commit cb484b6ed7
1 changed files with 5 additions and 0 deletions

View File

@ -130,6 +130,11 @@ class SkinMinerva extends SkinTemplate {
$out->addMeta( 'viewport', 'initial-scale=1.0, user-scalable=yes, minimum-scale=0.25, ' .
'maximum-scale=5.0, width=device-width'
);
// T204691
$theme = $out->getConfig()->get( 'MFManifestThemeColor' );
if ( $theme ) {
$out->addMeta( 'theme-color', $theme );
}
// Generate skin template
$tpl = parent::prepareQuickTemplate();