special conversion for displaying title
authorZheng Zhu <zhengzhu@users.mediawiki.org>
Tue, 19 Oct 2004 18:03:58 +0000 (18:03 +0000)
committerZheng Zhu <zhengzhu@users.mediawiki.org>
Tue, 19 Oct 2004 18:03:58 +0000 (18:03 +0000)
includes/OutputPage.php

index c529358..9177c31 100644 (file)
@@ -160,7 +160,7 @@ class OutputPage {
        function setHTMLTitle( $name ) {$this->mHTMLtitle = $name; }
        function setPageTitle( $name ) {
                global $action, $wgContLang;
-               $name = $wgContLang->autoConvert($name);
+               $name = $wgContLang->convert($name, true);
                $this->mPagetitle = $name;
                if(!empty($action)) {
                        $taction =  $this->getPageTitleActionText();