r82438 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r82437
|
r82438
|
r82439
>
Date:
07:27, 19 February 2011
Author:
maxsem
Status:
ok
Tags:
Comment:
Follow-up
r76456
: more thorough check for UTF-8 support. Now it checks whether PCRE can actually convert from uppercase to lowercase and vice versa.
Modified paths:
/trunk/phase3/includes/installer/Installer.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/installer/Installer.php
—
—
@@ -725,7 +725,7 @@
726
726
return false;
727
727
}
728
728
wfSuppressWarnings();
729
- $regexd = preg_replace( '/[\x{0400}-\x{04FF}]/u', '', '-АБВГД-' );
729
+ $regexd = preg_replace( '/[\x{0430}-\x{04FF}]/iu', '', '-АБВГД-' );
730
730
wfRestoreWarnings();
731
731
if ( $regexd != '--' ) {
732
732
$this->showMessage( 'config-pcre-no-utf8' );
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r76456
Added a check for PCRE_UTF8 per report at Support desk
maxsem
16:45, 10 November 2010
Status & tagging log
17:57, 25 March 2011
😂
(
talk
|
contribs
)
changed the
tags
for r82438
[
removed:
1.17]
16:30, 23 February 2011
😂
(
talk
|
contribs
)
changed the
status
of r82438
[
removed:
new
added:
ok]
07:27, 19 February 2011
MaxSem
(
talk
|
contribs
)
changed the
tags
for r82438
[
added:
1.17]