Manual:$wgSkinMetaTags

From mediawiki.org
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[edit]

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[edit]