http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90877

Revision: 90877
Author:   happy-melon
Date:     2011-06-27 14:05:23 +0000 (Mon, 27 Jun 2011)
Log Message:
-----------
Follow-up r86044 CR (correct subtitle message for action=credits), and some 
documentation.

Modified Paths:
--------------
    trunk/phase3/includes/actions/CreditsAction.php

Modified: trunk/phase3/includes/actions/CreditsAction.php
===================================================================
--- trunk/phase3/includes/actions/CreditsAction.php     2011-06-27 14:04:21 UTC 
(rev 90876)
+++ trunk/phase3/includes/actions/CreditsAction.php     2011-06-27 14:05:23 UTC 
(rev 90877)
@@ -33,8 +33,14 @@
                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 @@
        /**
         * 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 @@
 
        /**
         * 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


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to