From cbb4b4716dba5fbae2add247ee0acfaaa97a9641 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Sun, 29 Jan 2012 12:49:14 +0000 Subject: [PATCH] Add function present in ordinary converter to FakeConverter --- languages/Language.php | 1 + 1 file changed, 1 insertion(+) diff --git a/languages/Language.php b/languages/Language.php index adb9432887..dd28ac6985 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -33,6 +33,7 @@ class FakeConverter { function __construct( $langobj ) { $this->mLang = $langobj; } function autoConvertToAllVariants( $text ) { return array( $this->mLang->getCode() => $text ); } function convert( $t ) { return $t; } + function convertTo( $text, $variant ) { return $text; } function convertTitle( $t ) { return $t->getPrefixedText(); } function getVariants() { return array( $this->mLang->getCode() ); } function getPreferredVariant() { return $this->mLang->getCode(); } -- 2.20.1