TitleFormatter: Remove indirection from getText()
[lhc/web/wiklou.git] / includes / title / MediaWikiTitleCodec.php
index daa4dd5..15f8ff0 100644 (file)
@@ -174,7 +174,7 @@ class MediaWikiTitleCodec implements TitleFormatter, TitleParser {
         * @return string $title->getText()
         */
        public function getText( LinkTarget $title ) {
-               return $this->formatTitle( false, $title->getText(), '' );
+               return $title->getText();
        }
 
        /**