Index: trunk/phase3/includes/User.php |
— | — | @@ -2188,7 +2188,7 @@ |
2189 | 2189 | /** |
2190 | 2190 | * Check if user is allowed to access a feature / make an action |
2191 | 2191 | * @param $action \string action to be checked |
2192 | | - * @return \bool True if action is allowed, else false |
| 2192 | + * @return Boolean: True if action is allowed, else false |
2193 | 2193 | */ |
2194 | 2194 | function isAllowed( $action = '' ) { |
2195 | 2195 | if ( $action === '' ) |
— | — | @@ -2206,7 +2206,7 @@ |
2207 | 2207 | |
2208 | 2208 | /** |
2209 | 2209 | * Check whether to enable recent changes patrol features for this user |
2210 | | - * @return \bool True or false |
| 2210 | + * @return Boolean: True or false |
2211 | 2211 | */ |
2212 | 2212 | public function useRCPatrol() { |
2213 | 2213 | global $wgUseRCPatrol; |
— | — | @@ -2711,7 +2711,7 @@ |
2712 | 2712 | |
2713 | 2713 | /** |
2714 | 2714 | * Get whether the user is blocked from using Special:Emailuser. |
2715 | | - * @return \bool True if blocked |
| 2715 | + * @return Boolean: True if blocked |
2716 | 2716 | */ |
2717 | 2717 | function isBlockedFromEmailuser() { |
2718 | 2718 | $this->getBlockedStatus(); |
— | — | @@ -2720,7 +2720,7 @@ |
2721 | 2721 | |
2722 | 2722 | /** |
2723 | 2723 | * Get whether the user is allowed to create an account. |
2724 | | - * @return \bool True if allowed |
| 2724 | + * @return Boolean: True if allowed |
2725 | 2725 | */ |
2726 | 2726 | function isAllowedToCreateAccount() { |
2727 | 2727 | return $this->isAllowed( 'createaccount' ) && !$this->isBlockedFromCreateAccount(); |
— | — | @@ -2729,7 +2729,7 @@ |
2730 | 2730 | /** |
2731 | 2731 | * Get this user's personal page title. |
2732 | 2732 | * |
2733 | | - * @return \type{Title} User's personal page title |
| 2733 | + * @return Title: User's personal page title |
2734 | 2734 | */ |
2735 | 2735 | function getUserPage() { |
2736 | 2736 | return Title::makeTitle( NS_USER, $this->getName() ); |
— | — | @@ -2738,7 +2738,7 @@ |
2739 | 2739 | /** |
2740 | 2740 | * Get this user's talk page title. |
2741 | 2741 | * |
2742 | | - * @return \type{Title} User's talk page title |
| 2742 | + * @return Title: User's talk page title |
2743 | 2743 | */ |
2744 | 2744 | function getTalkPage() { |
2745 | 2745 | $title = $this->getUserPage(); |
— | — | @@ -2747,7 +2747,7 @@ |
2748 | 2748 | |
2749 | 2749 | /** |
2750 | 2750 | * Get the maximum valid user ID. |
2751 | | - * @return \int User ID |
| 2751 | + * @return Integer: User ID |
2752 | 2752 | * @static |
2753 | 2753 | */ |
2754 | 2754 | function getMaxID() { |
— | — | @@ -2764,7 +2764,7 @@ |
2765 | 2765 | /** |
2766 | 2766 | * Determine whether the user is a newbie. Newbies are either |
2767 | 2767 | * anonymous IPs, or the most recently created accounts. |
2768 | | - * @return \bool True if the user is a newbie |
| 2768 | + * @return Boolean: True if the user is a newbie |
2769 | 2769 | */ |
2770 | 2770 | function isNewbie() { |
2771 | 2771 | return !$this->isAllowed( 'autoconfirmed' ); |
— | — | @@ -2772,8 +2772,8 @@ |
2773 | 2773 | |
2774 | 2774 | /** |
2775 | 2775 | * Check to see if the given clear-text password is one of the accepted passwords |
2776 | | - * @param $password \string user password. |
2777 | | - * @return \bool True if the given password is correct, otherwise False. |
| 2776 | + * @param $password String: user password. |
| 2777 | + * @return Boolean: True if the given password is correct, otherwise False. |
2778 | 2778 | */ |
2779 | 2779 | function checkPassword( $password ) { |
2780 | 2780 | global $wgAuth; |
— | — | @@ -2813,7 +2813,7 @@ |
2814 | 2814 | /** |
2815 | 2815 | * Check if the given clear-text password matches the temporary password |
2816 | 2816 | * sent by e-mail for password reset operations. |
2817 | | - * @return \bool True if matches, false otherwise |
| 2817 | + * @return Boolean: True if matches, false otherwise |
2818 | 2818 | */ |
2819 | 2819 | function checkTemporaryPassword( $plaintext ) { |
2820 | 2820 | global $wgNewPasswordExpiry; |
— | — | @@ -2871,7 +2871,7 @@ |
2872 | 2872 | * |
2873 | 2873 | * @param $val \string Input value to compare |
2874 | 2874 | * @param $salt \string Optional function-specific data for hashing |
2875 | | - * @return \bool Whether the token matches |
| 2875 | + * @return Boolean: Whether the token matches |
2876 | 2876 | */ |
2877 | 2877 | function matchEditToken( $val, $salt = '' ) { |
2878 | 2878 | $sessionToken = $this->editToken( $salt ); |
— | — | @@ -2887,7 +2887,7 @@ |
2888 | 2888 | * |
2889 | 2889 | * @param $val \string Input value to compare |
2890 | 2890 | * @param $salt \string Optional function-specific data for hashing |
2891 | | - * @return \bool Whether the token matches |
| 2891 | + * @return Boolean: Whether the token matches |
2892 | 2892 | */ |
2893 | 2893 | function matchEditTokenNoSuffix( $val, $salt = '' ) { |
2894 | 2894 | $sessionToken = $this->editToken( $salt ); |
— | — | @@ -3048,7 +3048,7 @@ |
3049 | 3049 | /** |
3050 | 3050 | * Is this user allowed to send e-mails within limits of current |
3051 | 3051 | * site configuration? |
3052 | | - * @return \bool True if allowed |
| 3052 | + * @return Boolean: True if allowed |
3053 | 3053 | */ |
3054 | 3054 | function canSendEmail() { |
3055 | 3055 | global $wgEnableEmail, $wgEnableUserEmail; |
— | — | @@ -3063,7 +3063,7 @@ |
3064 | 3064 | /** |
3065 | 3065 | * Is this user allowed to receive e-mails within limits of current |
3066 | 3066 | * site configuration? |
3067 | | - * @return \bool True if allowed |
| 3067 | + * @return Boolean: True if allowed |
3068 | 3068 | */ |
3069 | 3069 | function canReceiveEmail() { |
3070 | 3070 | return $this->isEmailConfirmed() && !$this->getOption( 'disablemail' ); |
— | — | @@ -3077,7 +3077,7 @@ |
3078 | 3078 | * confirmed their address by returning a code or using a password |
3079 | 3079 | * sent to the address from the wiki. |
3080 | 3080 | * |
3081 | | - * @return \bool True if confirmed |
| 3081 | + * @return Boolean: True if confirmed |
3082 | 3082 | */ |
3083 | 3083 | function isEmailConfirmed() { |
3084 | 3084 | global $wgEmailAuthentication; |
— | — | @@ -3098,7 +3098,7 @@ |
3099 | 3099 | |
3100 | 3100 | /** |
3101 | 3101 | * Check whether there is an outstanding request for e-mail confirmation. |
3102 | | - * @return \bool True if pending |
| 3102 | + * @return Boolean: True if pending |
3103 | 3103 | */ |
3104 | 3104 | function isEmailConfirmationPending() { |
3105 | 3105 | global $wgEmailAuthentication; |
— | — | @@ -3527,7 +3527,7 @@ |
3528 | 3528 | * @param $hash \string Password hash |
3529 | 3529 | * @param $password \string Plain-text password to compare |
3530 | 3530 | * @param $userId \string User ID for old-style password salt |
3531 | | - * @return \bool |
| 3531 | + * @return Boolean: |
3532 | 3532 | */ |
3533 | 3533 | static function comparePasswords( $hash, $password, $userId = false ) { |
3534 | 3534 | $type = substr( $hash, 0, 3 ); |
Index: trunk/phase3/includes/Article.php |
— | — | @@ -1758,7 +1758,7 @@ |
1759 | 1759 | /** |
1760 | 1760 | * Update the page record to point to a newly saved revision. |
1761 | 1761 | * |
1762 | | - * @param $dbw Database object |
| 1762 | + * @param $dbw DatabaseBase: object |
1763 | 1763 | * @param $revision Revision: For ID number, and text used to set |
1764 | 1764 | length and redirect status fields |
1765 | 1765 | * @param $lastRevision Integer: if given, will not overwrite the page field |
— | — | @@ -3609,12 +3609,12 @@ |
3610 | 3610 | * Every 100th edit, prune the recent changes table. |
3611 | 3611 | * |
3612 | 3612 | * @private |
3613 | | - * @param $text New text of the article |
3614 | | - * @param $summary Edit summary |
3615 | | - * @param $minoredit Minor edit |
| 3613 | + * @param $text String: New text of the article |
| 3614 | + * @param $summary String: Edit summary |
| 3615 | + * @param $minoredit Boolean: Minor edit |
3616 | 3616 | * @param $timestamp_of_pagechange Timestamp associated with the page change |
3617 | | - * @param $newid rev_id value of the new revision |
3618 | | - * @param $changed Whether or not the content actually changed |
| 3617 | + * @param $newid Integer: rev_id value of the new revision |
| 3618 | + * @param $changed Boolean: Whether or not the content actually changed |
3619 | 3619 | */ |
3620 | 3620 | public function editUpdates( $text, $summary, $minoredit, $timestamp_of_pagechange, $newid, $changed = true ) { |
3621 | 3621 | global $wgDeferredUpdateList, $wgMessageCache, $wgUser, $wgEnableParserCache; |
Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -1613,7 +1613,7 @@ |
1614 | 1614 | |
1615 | 1615 | /** |
1616 | 1616 | * Process [[ ]] wikilinks |
1617 | | - * @return processed text |
| 1617 | + * @return String: processed text |
1618 | 1618 | * |
1619 | 1619 | * @private |
1620 | 1620 | */ |
Index: trunk/phase3/includes/Revision.php |
— | — | @@ -798,7 +798,7 @@ |
799 | 799 | * Insert a new revision into the database, returning the new revision ID |
800 | 800 | * number on success and dies horribly on failure. |
801 | 801 | * |
802 | | - * @param $dbw DatabaseBase (master connection) |
| 802 | + * @param $dbw DatabaseBase: (master connection) |
803 | 803 | * @return Integer |
804 | 804 | */ |
805 | 805 | public function insertOn( $dbw ) { |
Index: trunk/phase3/includes/Title.php |
— | — | @@ -329,8 +329,8 @@ |
330 | 330 | * This will only return the very next target, useful for |
331 | 331 | * the redirect table and other checks that don't need full recursion |
332 | 332 | * |
333 | | - * @param $text \type{\string} Text with possible redirect |
334 | | - * @return \type{Title} The corresponding Title |
| 333 | + * @param $text String: Text with possible redirect |
| 334 | + * @return Title: The corresponding Title |
335 | 335 | */ |
336 | 336 | public static function newFromRedirect( $text ) { |
337 | 337 | return self::newFromRedirectInternal( $text ); |
— | — | @@ -595,21 +595,21 @@ |
596 | 596 | /** |
597 | 597 | * Get the main part with underscores |
598 | 598 | * |
599 | | - * @return \type{\string} Main part of the title, with underscores |
| 599 | + * @return Stromg: Main part of the title, with underscores |
600 | 600 | */ |
601 | 601 | public function getDBkey() { return $this->mDbkeyform; } |
602 | 602 | |
603 | 603 | /** |
604 | 604 | * Get the namespace index, i.e.\ one of the NS_xxxx constants. |
605 | 605 | * |
606 | | - * @return \type{\int} Namespace index |
| 606 | + * @return Integer: Namespace index |
607 | 607 | */ |
608 | 608 | public function getNamespace() { return $this->mNamespace; } |
609 | 609 | |
610 | 610 | /** |
611 | 611 | * Get the namespace text |
612 | 612 | * |
613 | | - * @return \type{\string} Namespace text |
| 613 | + * @return String: Namespace text |
614 | 614 | */ |
615 | 615 | public function getNsText() { |
616 | 616 | global $wgContLang; |
— | — | @@ -4029,7 +4029,7 @@ |
4030 | 4030 | * In other words, is this a content page, for the purposes of calculating |
4031 | 4031 | * statistics, etc? |
4032 | 4032 | * |
4033 | | - * @return \type{\bool} |
| 4033 | + * @return Boolean |
4034 | 4034 | */ |
4035 | 4035 | public function isContentPage() { |
4036 | 4036 | return MWNamespace::isContent( $this->getNamespace() ); |
Index: trunk/phase3/includes/ImageGallery.php |
— | — | @@ -76,7 +76,7 @@ |
77 | 77 | /** |
78 | 78 | * Set the caption (as HTML) |
79 | 79 | * |
80 | | - * @param $caption Caption |
| 80 | + * @param $caption String: Caption |
81 | 81 | */ |
82 | 82 | public function setCaptionHtml( $caption ) { |
83 | 83 | $this->mCaption = $caption; |