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

Revision: 98639
Author:   reedy
Date:     2011-10-01 23:01:09 +0000 (Sat, 01 Oct 2011)
Log Message:
-----------
More comment updates and such

Modified Paths:
--------------
    trunk/extensions/ConfirmAccount/business/AccountRequestSubmission.php
    trunk/extensions/ConfirmAccount/presentation/ConfirmAccountUI.hooks.php
    
trunk/extensions/ConfirmAccount/presentation/specialpages/actions/ConfirmAccount_body.php

Modified: trunk/extensions/ConfirmAccount/business/AccountRequestSubmission.php
===================================================================
--- trunk/extensions/ConfirmAccount/business/AccountRequestSubmission.php       
2011-10-01 22:53:08 UTC (rev 98638)
+++ trunk/extensions/ConfirmAccount/business/AccountRequestSubmission.php       
2011-10-01 23:01:09 UTC (rev 98639)
@@ -44,6 +44,9 @@
                return $this->attachmentDidNotForget;
        }
 
+       /**
+        * @return string
+        */
        public function getAttachtmentPrevName() {
                return $this->attachmentPrevName;
        }

Modified: 
trunk/extensions/ConfirmAccount/presentation/ConfirmAccountUI.hooks.php
===================================================================
--- trunk/extensions/ConfirmAccount/presentation/ConfirmAccountUI.hooks.php     
2011-10-01 22:53:08 UTC (rev 98638)
+++ trunk/extensions/ConfirmAccount/presentation/ConfirmAccountUI.hooks.php     
2011-10-01 23:01:09 UTC (rev 98639)
@@ -6,6 +6,10 @@
        /**
         * Register ConfirmAccount special pages as needed.
         * Also sets $wgSpecialPages just to be consistent.
+        *
+        * @param $list array
+        *
+        * @return true
         */
        public static function defineSpecialPages( array &$list ) {
                global $wgSpecialPages, $wgSpecialPageGroups, 
$wgConfirmAccountSaveInfo;

Modified: 
trunk/extensions/ConfirmAccount/presentation/specialpages/actions/ConfirmAccount_body.php
===================================================================
--- 
trunk/extensions/ConfirmAccount/presentation/specialpages/actions/ConfirmAccount_body.php
   2011-10-01 22:53:08 UTC (rev 98638)
+++ 
trunk/extensions/ConfirmAccount/presentation/specialpages/actions/ConfirmAccount_body.php
   2011-10-01 23:01:09 UTC (rev 98639)
@@ -223,7 +223,10 @@
                $out->addHTML( '</ul>' );
        }
 
-       protected function showAccountConfirmForm( $msg='' ) {
+       /**
+        * @param $msg string
+        */
+       protected function showAccountConfirmForm( $msg = '' ) {
                global $wgAccountRequestTypes;
                $reqUser = $this->getUser();
                $out = $this->getOutput();
@@ -435,6 +438,9 @@
                StreamFile::stream( $path );
        }
 
+       /**
+        * @return bool
+        */
        protected function doAccountConfirmSubmit() {
                $reqUser = $this->getUser();
                $out = $this->getOutput();
@@ -779,8 +785,10 @@
                return true;
        }
 
-       /*
+       /**
         * Get requested account request row and load some fields
+        *
+        * @param $forUpdate bool
         */
        function getAccountRequest( $forUpdate = false ) {
                if( !$this->acrID ) return false;
@@ -846,6 +854,11 @@
                return $linkList;
        }
 
+       /**
+        * @param $titleObj Title
+        * @param $name string
+        * @param $errors array
+        */
        protected function showSuccess( $titleObj, $name = null, $errors = 
array() ) {
                $out = $this->getOutput();
 
@@ -903,6 +916,10 @@
                }
        }
 
+       /**
+        * @param $row
+        * @return string
+        */
        public function formatRow( $row ) {
                global $wgUseRealNamesOnly, $wgAllowRealName, $wgMemc;
 
@@ -1000,14 +1017,24 @@
                $this->mLimit = $urlLimit ? $urlLimit : 20;
        }
 
+       /**
+        * @return Title
+        */
        function getTitle() {
                return SpecialPage::getTitleFor( 'ConfirmAccounts', 
$this->mForm->specialPageParameter );
        }
 
+       /**
+        * @param $row
+        * @return string
+        */
        function formatRow( $row ) {
                return $this->mForm->formatRow( $row );
        }
 
+       /**
+        * @return string
+        */
        function getStartBody() {
                if ( $this->getNumRows() ) {
                        return '<ul>';
@@ -1016,6 +1043,9 @@
                }
        }
 
+       /**
+        * @return string
+        */
        function getEndBody() {
                if ( $this->getNumRows() ) {
                        return '</ul>';
@@ -1024,6 +1054,9 @@
                }
        }
 
+       /**
+        * @return array
+        */
        function getQueryInfo() {
                $conds = $this->mConds;
                $tables = array( 'account_requests' );
@@ -1046,6 +1079,9 @@
                );
        }
 
+       /**
+        * @return string
+        */
        function getIndexField() {
                return 'acr_registration';
        }


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

Reply via email to