mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 06:24:22 +00:00
Theme meta hotfix
This commit is contained in:
parent
9f21460dbb
commit
67581f74e8
|
@ -24,7 +24,7 @@ class SkinCitizen extends SkinTemplate {
|
|||
'IE=edge'
|
||||
);
|
||||
// Theme color
|
||||
$out->addMeta( 'theme_color',
|
||||
$out->addMeta( 'theme-color',
|
||||
$this->getConfig()->get( 'MFManifestThemeColor' )
|
||||
);
|
||||
// Generate manifest
|
||||
|
|
|
@ -13,6 +13,7 @@ class ApiWebappManifest extends ApiBase {
|
|||
$config = $this->getConfig();
|
||||
$resultObj = $this->getResult();
|
||||
$resultObj->addValue( null, 'name', $config->get( 'Sitename' ) );
|
||||
$resultObj->addValue( null, 'short_name', $config->get( 'Sitename' ) ); // Might as well add shortname
|
||||
$resultObj->addValue( null, 'orientation', 'portrait' );
|
||||
$resultObj->addValue( null, 'dir', $config->get( 'ContLang' )->getDir() );
|
||||
$resultObj->addValue( null, 'lang', $config->get( 'LanguageCode' ) );
|
||||
|
|
Loading…
Reference in a new issue