Manual:$wgSearchHighlightBoundaries/pl
From Linux Web Expert
<translate> Search</translate>: $wgSearchHighlightBoundaries | |
---|---|
Regexp to match word boundaries |
|
<translate> Introduced in version:</translate> | 1.13.0 (r34210) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (regex string) |
<translate> Default value:</translate> | (patrz poniżej) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Szczegóły
Regexp to match word boundaries, defaults for non-CJK languages should be empty for CJK since the words are not separate.
Default value
<translate> ≥</translate> 1.39
<translate> MediaWiki version:</translate> |
$wgSearchHighlightBoundaries = '[\\p{Z}\\p{P}\\p{C}]';
1.18 – 1.38
<translate> MediaWiki versions:</translate> |
$wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
1.13 – 1.17
<translate> MediaWiki versions:</translate> |
$wgSearchHighlightBoundaries = version_compare("5.1", PHP_VERSION, "<")? '[\p{Z}\p{P}\p{C}]'
: '[ ,.;:!?~!@#$%\^&*\(\)+=\-\\|\[\]"\'<>\n\r\/{}]'; // PHP 5.0 workaround