Manual:$wgBrowserFormatDetection

Category:MediaWiki configuration settings#BrowserFormatDetectionCategory:MediaWiki configuration settings introduced in version 1.37.0#BrowserFormatDetectionCategory:MediaWiki configuration settings still in use#BrowserFormatDetectionCategory:Output variables#BrowserFormatDetection
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'

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

Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.37.0 Category:MediaWiki configuration settings still in use Category:Output variables