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

Revision: 62137
Author:   ialex
Date:     2010-02-08 20:41:05 +0000 (Mon, 08 Feb 2010)

Log Message:
-----------
Fixed some doxygen warnings

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialMostlinked.php
    trunk/phase3/includes/specials/SpecialMostlinkedtemplates.php
    trunk/phase3/includes/specials/SpecialUncategorizedtemplates.php

Modified: trunk/phase3/includes/specials/SpecialMostlinked.php
===================================================================
--- trunk/phase3/includes/specials/SpecialMostlinked.php        2010-02-08 
20:22:07 UTC (rev 62136)
+++ trunk/phase3/includes/specials/SpecialMostlinked.php        2010-02-08 
20:41:05 UTC (rev 62137)
@@ -70,8 +70,9 @@
         * Make a link to "what links here" for the specified title
         *
         * @param $title Title being queried
+        * @param $caption String: text to display on the link
         * @param $skin Skin to use
-        * @return string
+        * @return String
         */
        function makeWlhLink( &$title, $caption, &$skin ) {
                $wlh = SpecialPage::getTitleFor( 'Whatlinkshere', 
$title->getPrefixedDBkey() );

Modified: trunk/phase3/includes/specials/SpecialMostlinkedtemplates.php
===================================================================
--- trunk/phase3/includes/specials/SpecialMostlinkedtemplates.php       
2010-02-08 20:22:07 UTC (rev 62136)
+++ trunk/phase3/includes/specials/SpecialMostlinkedtemplates.php       
2010-02-08 20:41:05 UTC (rev 62137)
@@ -16,7 +16,7 @@
        /**
         * Name of the report
         *
-        * @return string
+        * @return String
         */
        public function getName() {
                return 'Mostlinkedtemplates';
@@ -25,7 +25,7 @@
        /**
         * Is this report expensive, i.e should it be cached?
         *
-        * @return bool
+        * @return Boolean
         */
        public function isExpensive() {
                return true;
@@ -34,7 +34,7 @@
        /**
         * Is there a feed available?
         *
-        * @return bool
+        * @return Boolean
         */
        public function isSyndicated() {
                return false;
@@ -43,7 +43,7 @@
        /**
         * Sort the results in descending order?
         *
-        * @return bool
+        * @return Boolean
         */
        public function sortDescending() {
                return true;
@@ -52,7 +52,7 @@
        /**
         * Generate SQL for the report
         *
-        * @return string
+        * @return String
         */
        public function getSql() {
                $dbr = wfGetDB( DB_SLAVE );
@@ -70,8 +70,8 @@
        /**
         * Pre-cache page existence to speed up link generation
         *
-        * @param Database $dbr Database connection
-        * @param int $res Result pointer
+        * @param $db Database connection
+        * @param $res ResultWrapper
         */
        public function preprocessResults( $db, $res ) {
                $batch = new LinkBatch();
@@ -86,9 +86,9 @@
        /**
         * Format a result row
         *
-        * @param Skin $skin Skin to use for UI elements
-        * @param object $result Result row
-        * @return string
+        * @param $skin Skin to use for UI elements
+        * @param $result Result row
+        * @return String
         */
        public function formatResult( $skin, $result ) {
                $title = Title::makeTitleSafe( $result->namespace, 
$result->title );
@@ -102,10 +102,10 @@
        /**
         * Make a "what links here" link for a given title
         *
-        * @param Title $title Title to make the link for
-        * @param Skin $skin Skin to use
-        * @param object $result Result row
-        * @return string
+        * @param $title Title to make the link for
+        * @param $skin Skin to use
+        * @param $result Result row
+        * @return String
         */
        private function makeWlhLink( $title, $skin, $result ) {
                global $wgLang;
@@ -119,7 +119,7 @@
 /**
  * Execution function
  *
- * @param mixed $par Parameters passed to the page
+ * @param $par Mixed: parameters passed to the page
  */
 function wfSpecialMostlinkedtemplates( $par = false ) {
        list( $limit, $offset ) = wfCheckLimits();

Modified: trunk/phase3/includes/specials/SpecialUncategorizedtemplates.php
===================================================================
--- trunk/phase3/includes/specials/SpecialUncategorizedtemplates.php    
2010-02-08 20:22:07 UTC (rev 62136)
+++ trunk/phase3/includes/specials/SpecialUncategorizedtemplates.php    
2010-02-08 20:41:05 UTC (rev 62137)
@@ -23,8 +23,6 @@
 
 /**
  * Main execution point
- *
- * @param mixed $par Parameter passed to the page
  */
 function wfSpecialUncategorizedtemplates() {
        list( $limit, $offset ) = wfCheckLimits();



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to