r14151 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14150‎ | r14151 | r14152 >
Date:00:16, 10 May 2006
Author:brion
Status:old
Tags:
Comment:
* --force-normal parameter on dump scripts to force check for ICU extension
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/maintenance/backup.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/backup.inc
@@ -130,6 +130,15 @@
131131 case "server":
132132 $this->server = $val;
133133 break;
 134+ case "force-normal":
 135+ if( !function_exists( 'utf8_normalize' ) ) {
 136+ dl( "php_utfnormal.so" );
 137+ if( !function_exists( 'utf8_normalize' ) ) {
 138+ wfDie( "Failed to load UTF-8 normalization extension. " .
 139+ "Install or remove --force-normal parameter to use slower code.\n" );
 140+ }
 141+ }
 142+ break;
134143 default:
135144 $this->processOption( $opt, $val, $param );
136145 }
Index: trunk/phase3/RELEASE-NOTES
@@ -236,7 +236,9 @@
237237 * (bug 5697) Update for Malay language (ms)
238238 * (bug 5890) Update for German language (de)
239239 * (bug 5889) Name for Sindhi language should appear as سنڌي
 240+* --force-normal parameter on dump scripts to force check for ICU extension
240241
 242+
241243 == Compatibility ==
242244
243245 Older PHP 4.2 and 4.1 releases are no longer supported; PHP 4 users must

Status & tagging log