Manual:$wgSkinMetaTags/ru

From Linux Web Expert

Revision as of 01:51, 10 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Skins</translate>: $wgSkinMetaTags
An array of open graph tags which should be added by all skins.
<translate> Introduced in version:</translate>1.36.0 (Gerrit change 664963; git #a3a4e6ad)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(array)
<translate> Default value:</translate>[]

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.

См. также