From: Jens Frank Date: Wed, 22 Sep 2004 17:46:13 +0000 (+0000) Subject: Fixed some typos X-Git-Tag: 1.5.0alpha1~1879 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=d5a30ef7ace6b82f73696259109d477745a03f5a;p=lhc%2Fweb%2Fwiklou.git Fixed some typos --- diff --git a/includes/Parser.php b/includes/Parser.php index 6c5864113e..0a4357bda3 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -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 ); } } diff --git a/languages/LanguageLatin1.php b/languages/LanguageLatin1.php index cd1891ae7b..3077e7775e 100644 --- a/languages/LanguageLatin1.php +++ b/languages/LanguageLatin1.php @@ -263,6 +263,11 @@ class LanguageLatin1 { function convert( $text ) { return utf8_decode( $this->lang->convert( utf8_encode( $text ) ) ); } + + function getVariants() { + return $this->lang->getVariants(); + } + } ?>