Manual:$wgSkinMetaTags

Category:MediaWiki configuration settings#SkinMetaTagsCategory:MediaWiki configuration settings introduced in version 1.36.0#SkinMetaTagsCategory:MediaWiki configuration settings still in use#SkinMetaTagsCategory:Skin variables#SkinMetaTags
Skins: $wgSkinMetaTags
An array of open graph tags which should be added by all skins.
Introduced in version:1.36.0 (Gerrit change 664963; git #a3a4e6ad)
Removed in version:Still in use
Allowed values:(array)
Default value:[]

Details

An array of open graph tags which should be added by all skins. Accepted values are og:site_name, og:title, og:type and twitter:card. Since some of these fields can be provided by extensions it defaults to an empty array.

For og:image support you will need to install an extension such as PageImages.

This configuration variable only enables the output of those tags provided by MediaWiki core. Extensions can add the same tags without being affected by this setting. Use this setting only if you don't have an extension installed that already provides those meta tags.

See also

Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.36.0 Category:MediaWiki configuration settings still in use Category:Pages using the JsonConfig extension Category:Skin variables