revert r106095, fix apparently not this simple
[lhc/web/wiklou.git] / includes / specials / SpecialTags.php
index 35d4e64..adfc744 100644 (file)
@@ -40,7 +40,7 @@ class SpecialTags extends SpecialPage {
                $this->outputHeader();
 
                $out = $this->getOutput();
-               $out->setPageTitle( wfMsg( 'tags-title' ) );
+               $out->setPageTitle( $this->msg( 'tags-title' ) );
                $out->wrapWikiMsg( "<div class='mw-tags-intro'>\n$1\n</div>", 'tags-intro' );
 
                // Write the headers
@@ -83,7 +83,7 @@ class SpecialTags extends SpecialPage {
                $desc .= ' (' . Linker::link( Title::makeTitle( NS_MEDIAWIKI, "Tag-$tag-description" ), wfMsgHtml( 'tags-edit' ) ) . ')';
                $newRow .= Xml::tags( 'td', null, $desc );
 
-               $hitcount = wfMsgExt( 'tags-hitcount', array( 'parsemag' ), $this->getLang()->formatNum( $hitcount ) );
+               $hitcount = wfMsgExt( 'tags-hitcount', array( 'parsemag' ), $this->getLanguage()->formatNum( $hitcount ) );
                $hitcount = Linker::link( SpecialPage::getTitleFor( 'Recentchanges' ), $hitcount, array(), array( 'tagfilter' => $tag ) );
                $newRow .= Xml::tags( 'td', null, $hitcount );