* --force-normal parameter on dump scripts to force check for ICU extension
This commit is contained in:
parent
cb6435253a
commit
64cbfd80b5
2 changed files with 11 additions and 0 deletions
|
|
@ -236,6 +236,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
|
|||
* (bug 5697) Update for Malay language (ms)
|
||||
* (bug 5890) Update for German language (de)
|
||||
* (bug 5889) Name for Sindhi language should appear as سنڌي
|
||||
* --force-normal parameter on dump scripts to force check for ICU extension
|
||||
|
||||
|
||||
== Compatibility ==
|
||||
|
||||
|
|
|
|||
|
|
@ -130,6 +130,15 @@ class BackupDumper {
|
|||
case "server":
|
||||
$this->server = $val;
|
||||
break;
|
||||
case "force-normal":
|
||||
if( !function_exists( 'utf8_normalize' ) ) {
|
||||
dl( "php_utfnormal.so" );
|
||||
if( !function_exists( 'utf8_normalize' ) ) {
|
||||
wfDie( "Failed to load UTF-8 normalization extension. " .
|
||||
"Install or remove --force-normal parameter to use slower code.\n" );
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
$this->processOption( $opt, $val, $param );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue