Index: trunk/phase3/includes/actions/CreditsAction.php |
— | — | @@ -33,8 +33,14 @@ |
34 | 34 | return null; |
35 | 35 | } |
36 | 36 | |
| 37 | + protected function getDescription() { |
| 38 | + return wfMsg( strtolower( 'creditspage' ) ); |
| 39 | + } |
| 40 | + |
37 | 41 | /** |
38 | 42 | * This is largely cadged from PageHistory::history |
| 43 | + * |
| 44 | + * @return String HTML |
39 | 45 | */ |
40 | 46 | public function onView() { |
41 | 47 | wfProfileIn( __METHOD__ ); |
— | — | @@ -75,6 +81,7 @@ |
76 | 82 | /** |
77 | 83 | * Get the last author with the last modification time |
78 | 84 | * @param $article Article object |
| 85 | + * @return String HTML |
79 | 86 | */ |
80 | 87 | protected static function getAuthor( Article $article ) { |
81 | 88 | global $wgLang; |
— | — | @@ -94,7 +101,6 @@ |
95 | 102 | |
96 | 103 | /** |
97 | 104 | * Get a list of contributors of $article |
98 | | - * @param $article Article object |
99 | 105 | * @param $cnt Int: maximum list of contributors to show |
100 | 106 | * @param $showIfMax Bool: whether to contributors if there more than $cnt |
101 | 107 | * @return String: html |