Jump to content

Handbuch:$wgBrowserFormatDetection

From mediawiki.org
This page is a translated version of the page Manual:$wgBrowserFormatDetection and the translation is 40% complete.
Ausgabe: $wgBrowserFormatDetection
Override ability of certain browsers to attempt to autodetect dataformats in pages.
Eingeführt in Version:1.37.0 (Gerrit change 615294; git #7b7f3ac5)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Zeichenkette)
Standardwert:'telephone=no'

Details

Override ability of certain browsers to attempt to autodetect dataformats in pages. This is a default feature of many mobile browsers, but can have a lot of false positives, where for instance year ranges are confused with phone numbers. The default of this setting is to disable telephone number data detection. Set $wgBrowserFormatDetection to false to fallback to browser defaults.

Output

If $wgBrowserFormatDetection is not explicitly set to false, the following line will be added to the HTML <head> section of all pages by OutputPage.php :

<meta name="format-detection" content="$wgBrowserFormatDetection"/>

Siehe auch