+ /**
+ * convert text to a variant
+ *
+ * @param string $text text to convert
+ * @param string|bool $variant variant to convert to, or false to use the user's preferred
+ * variant (if logged in), or the project default variant
+ * @return string the converted string
+ */
+ public function autoConvert( $text, $variant = false ) {
+ return $this->mConverter->autoConvert( $text, $variant );
+ }
+