Manual:$wgBrowserFormatDetection/en
From Linux Web Expert
<translate> Output</translate>: $wgBrowserFormatDetection | |
---|---|
Override ability of certain browsers to attempt to autodetect dataformats in pages. |
|
<translate> Introduced in version:</translate> | 1.37.0 (Gerrit change 615294; git #7b7f3ac5) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (string) |
<translate> Default value:</translate> | 'telephone=no' |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
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"/>
See also
- Supported Meta Tags - Safari HTML Reference