Index: trunk/phase3/maintenance/backup.inc |
— | — | @@ -130,6 +130,15 @@ |
131 | 131 | case "server": |
132 | 132 | $this->server = $val; |
133 | 133 | 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; |
134 | 143 | default: |
135 | 144 | $this->processOption( $opt, $val, $param ); |
136 | 145 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -236,7 +236,9 @@ |
237 | 237 | * (bug 5697) Update for Malay language (ms) |
238 | 238 | * (bug 5890) Update for German language (de) |
239 | 239 | * (bug 5889) Name for Sindhi language should appear as سنڌي |
| 240 | +* --force-normal parameter on dump scripts to force check for ICU extension |
240 | 241 | |
| 242 | + |
241 | 243 | == Compatibility == |
242 | 244 | |
243 | 245 | Older PHP 4.2 and 4.1 releases are no longer supported; PHP 4 users must |