diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
commit | 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 (patch) | |
tree | 577a29fb579188d16003a209ce2a2e9c5b0aa2bd /includes/actions/CreditsAction.php | |
parent | cacc939b34e315b85e2d72997811eb6677996cc1 (diff) |
Update to MediaWiki 1.21.1
Diffstat (limited to 'includes/actions/CreditsAction.php')
-rw-r--r-- | includes/actions/CreditsAction.php | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/includes/actions/CreditsAction.php b/includes/actions/CreditsAction.php index f7152297..4d3c41be 100644 --- a/includes/actions/CreditsAction.php +++ b/includes/actions/CreditsAction.php @@ -23,6 +23,9 @@ * @author <evan@wikitravel.org> */ +/** + * @ingroup Actions + */ class CreditsAction extends FormlessAction { public function getName() { @@ -55,8 +58,8 @@ class CreditsAction extends FormlessAction { /** * Get a list of contributors * - * @param $cnt Int: maximum list of contributors to show - * @param $showIfMax Bool: whether to contributors if there more than $cnt + * @param int $cnt maximum list of contributors to show + * @param bool $showIfMax whether to contributors if there more than $cnt * @return String: html */ public function getCredits( $cnt, $showIfMax = true ) { @@ -97,8 +100,8 @@ class CreditsAction extends FormlessAction { /** * Get a list of contributors of $article - * @param $cnt Int: maximum list of contributors to show - * @param $showIfMax Bool: whether to contributors if there more than $cnt + * @param int $cnt maximum list of contributors to show + * @param bool $showIfMax whether to contributors if there more than $cnt * @return String: html */ protected function getContributors( $cnt, $showIfMax ) { @@ -122,7 +125,7 @@ class CreditsAction extends FormlessAction { # Sift for real versus user names foreach ( $contributors as $user ) { - $cnt--; + $cnt--; if ( $user->isLoggedIn() ) { $link = $this->link( $user ); if ( !in_array( 'realname', $wgHiddenPrefs ) && $user->getRealName() ) { |