return 'credits';
}
- public function getRestriction() {
- return null;
- }
-
protected function getDescription() {
- return wfMsg( 'creditspage' );
+ return $this->msg( 'creditspage' )->escaped();
}
/**
$timestamp = $article->getTimestamp();
if ( $timestamp ) {
- $lang = $this->getLang();
+ $lang = $this->getLanguage();
$d = $lang->date( $article->getTimestamp(), true );
$t = $lang->time( $article->getTimestamp(), true );
} else {
}
}
- $lang = $this->getLang();
+ $lang = $this->getLanguage();
if ( count( $real_names ) ) {
$real = $lang->listToText( $real_names );
/**
* Get a link to action=credits of $article page
- * @param $article Article object
- * @return String: html
+ * @return String: HTML link
*/
protected function othersLink() {
return Linker::linkKnown(