addMeta( 'viewport', 'width=device-width, initial-scale=1' ); // Edge compatibility $out->addMeta( 'http:X-UA-Compatible', 'IE=edge' ); // Theme color $out->addMeta( 'theme-color', $this->getConfig()->get( 'MFManifestThemeColor' ) ); // Generate manifest if ( $this->getConfig()->get( 'MFEnableManifest' ) ) { $out->addLink( [ 'rel' => 'manifest', 'href' => wfExpandUrl( wfAppendQuery( wfScript( 'api' ), [ 'action' => 'webapp-manifest' ] ), PROTO_RELATIVE ) ] ); } $out->addModuleStyles( [ 'mediawiki.skinning.content.externallinks', 'skins.citizen', 'skins.citizen.icons', 'skins.citizen.icons.ca', 'skins.citizen.icons.p', 'skins.citizen.icons.toc', 'skins.citizen.icons.es', 'skins.citizen.icons.n', 'skins.citizen.icons.t', 'skins.citizen.icons.pt', 'skins.citizen.icons.footer', 'skins.citizen.icons.badges' ] ); $out->addModules( [ 'skins.citizen.js' ] ); } public static function BeforePageDisplay($out, $skin) { $out->addModules( 'skins.citizen.bpd' ); return true; } /** * @param $out OutputPage */ function setupSkinUserCss( OutputPage $out ) { parent::setupSkinUserCss( $out ); } }