function formatResult( $skin, $result ) {
global $wgContLang;
- $d = $this->getLang()->timeanddate( wfTimestamp( TS_MW, $result->value ), true );
+ $d = $this->getLanguage()->userTimeAndDate( $result->value, $this->getUser() );
$title = Title::makeTitle( $result->namespace, $result->title );
$link = Linker::linkKnown(
$title,
htmlspecialchars( $wgContLang->convert( $title->getPrefixedText() ) )
);
- return wfSpecialList( $link, htmlspecialchars( $d ) );
+ return $this->getLanguage()->specialList( $link, htmlspecialchars( $d ) );
}
}