* Removed redundant code: LanguageZh_tw.php = 0; for (LanguageZh_tw.php = 0; ... )
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sat, 9 Apr 2005 07:52:04 +0000 (07:52 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sat, 9 Apr 2005 07:52:04 +0000 (07:52 +0000)
includes/Parser.php

index 86ad3a8..0cd3908 100644 (file)
@@ -1849,7 +1849,7 @@ class Parser
                # merged with the next arg because the '|' character between belongs
                # to the link syntax and not the template parameter syntax.
                $argc = count($args);
-               $i = 0;
+               
                for ( $i = 0; $i < $argc-1; $i++ ) {
                        if ( substr_count ( $args[$i], '[[' ) != substr_count ( $args[$i], ']]' ) ) {
                                $args[$i] .= '|'.$args[$i+1];