From 93cece6d9e68e1967d351dcf31112df2e1efa982 Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Mon, 27 Jun 2011 14:05:23 +0000 Subject: [PATCH] Follow-up r86044 CR (correct subtitle message for action=credits), and some documentation. --- includes/actions/CreditsAction.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/includes/actions/CreditsAction.php b/includes/actions/CreditsAction.php index 25434abbf3..42656619f7 100644 --- a/includes/actions/CreditsAction.php +++ b/includes/actions/CreditsAction.php @@ -33,8 +33,14 @@ class CreditsAction extends FormlessAction { return null; } + protected function getDescription() { + return wfMsg( strtolower( 'creditspage' ) ); + } + /** * This is largely cadged from PageHistory::history + * + * @return String HTML */ public function onView() { wfProfileIn( __METHOD__ ); @@ -75,6 +81,7 @@ class CreditsAction extends FormlessAction { /** * Get the last author with the last modification time * @param $article Article object + * @return String HTML */ protected static function getAuthor( Article $article ) { global $wgLang; @@ -94,7 +101,6 @@ class CreditsAction extends FormlessAction { /** * Get a list of contributors of $article - * @param $article Article object * @param $cnt Int: maximum list of contributors to show * @param $showIfMax Bool: whether to contributors if there more than $cnt * @return String: html -- 2.20.1