Manual:$wgReferrerPolicy

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgReferrerPolicy and the translation is 11% complete.

Other languages:
English • ‎español • ‎polski • ‎中文 • ‎日本語
Site customization: $wgReferrerPolicy
Value for the referrer policy meta tag.
Introducido en la versión:1.25.0 (git #4a9840e2)
Eliminado en la versión:aún se usa
Valores permitidos:false or one or more of the values from the specification.
Valor predeterminado:false

Details

String or array (since MediaWiki 1.31) or false. Setting it to false prevents any the meta tag from being output.

Since MediaWiki 1.31 (git #fbe17a73), setting it to an array means the first value will be the default, and the others serve as a fallback chain for browsers which do not understand it. This will result in multiple meta tags being output, in the reverse order, as last valid tag takes precedence according to the specification. Previous versions of MediaWiki did not support an array value for this setting, causing a fatal error if an array is used.