Fixed some typos
authorJens Frank <jeluf@users.mediawiki.org>
Wed, 22 Sep 2004 17:46:13 +0000 (17:46 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Wed, 22 Sep 2004 17:46:13 +0000 (17:46 +0000)
includes/Parser.php
languages/LanguageLatin1.php

index 6c58641..0a4357b 100644 (file)
@@ -1845,7 +1845,7 @@ class Parser
                        $text = $this->replaceVariables( $text, $assocArgs );
 
                        # Resume the link cache and register the inclusion as a link
-                       if ( $mOutputType == OT_HTML && !is_null( $title ) ) {
+                       if ( $this->mOutputType == OT_HTML && !is_null( $title ) ) {
                                $wgLinkCache->addLinkObj( $title );
                        }
                }
index cd1891a..3077e77 100644 (file)
@@ -263,6 +263,11 @@ class LanguageLatin1 {
        function convert( $text ) {
                return utf8_decode( $this->lang->convert( utf8_encode( $text ) ) );
        }
+       
+       function getVariants() {
+               return $this->lang->getVariants();
+       }
+
 }
 
 ?>