Manual:$wgBrowserFormatDetection/ru

Category:MediaWiki configuration settings/ru#BrowserFormatDetectionCategory:MediaWiki configuration settings introduced in version 1.37.0/ru#BrowserFormatDetectionCategory:MediaWiki configuration settings still in use/ru#BrowserFormatDetectionCategory:Output variables/ru#BrowserFormatDetection
Результат: $wgBrowserFormatDetection
Override ability of certain browsers to attempt to autodetect dataformats in pages.
Введено в версии:1.37.0 (Gerrit change 615294; git #7b7f3ac5)
Удалено в версии:всё ещё используется
Допустимые значения:(string)
Значение по умолчанию:'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"/>

См. также

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