diff --git a/includes/SkinCitizen.php b/includes/SkinCitizen.php index 42fa784f..f16709ad 100644 --- a/includes/SkinCitizen.php +++ b/includes/SkinCitizen.php @@ -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 diff --git a/includes/api/ApiWebappManifest.php b/includes/api/ApiWebappManifest.php index 543950d4..11a91461 100644 --- a/includes/api/ApiWebappManifest.php +++ b/includes/api/ApiWebappManifest.php @@ -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' ) );