summaryrefslogtreecommitdiff
path: root/includes/normal/Utf8Test.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-01-11 19:06:07 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-01-11 19:06:07 +0000
commita58285fd06c8113c45377c655dd43cef6337e815 (patch)
treedfe31d3d12652352fe44890b4811eda0728faefb /includes/normal/Utf8Test.php
parent20194986f6638233732ba1fc3e838f117d3cc9ea (diff)
Aktualisierung auf MediaWiki 1.9.0
Diffstat (limited to 'includes/normal/Utf8Test.php')
-rw-r--r--includes/normal/Utf8Test.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/normal/Utf8Test.php b/includes/normal/Utf8Test.php
index 71069598..34ab69c8 100644
--- a/includes/normal/Utf8Test.php
+++ b/includes/normal/Utf8Test.php
@@ -45,6 +45,7 @@ if( !$in ) {
$columns = 0;
while( false !== ( $line = fgets( $in ) ) ) {
+ $matches = array();
if( preg_match( '/^(Here come the tests:\s*)\|$/', $line, $matches ) ) {
$columns = strpos( $line, '|' );
break;
@@ -86,6 +87,7 @@ $failed = 0;
$success = 0;
$total = 0;
while( false !== ( $line = fgets( $in ) ) ) {
+ $matches = array();
if( preg_match( '/^(\d+)\s+(.*?)\s*\|/', $line, $matches ) ) {
$section = $matches[1];
print $line;