Manual:$wgBrowserFormatDetection
Appearance
| Output: $wgBrowserFormatDetection | |
|---|---|
| Override ability of certain browsers to attempt to autodetect dataformats in pages. |
|
| Introduced in version: | 1.37.0 (Gerrit change 615294; git #7b7f3ac5) |
| Removed in version: | Still in use |
| Allowed values: | (string) |
| Default value: | 'telephone=no' |
| Other settings: Alphabetical | By function | |
Details
[edit]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
[edit]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
[edit]- Supported Meta Tags - Safari HTML Reference