r68104 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68103‎ | r68104 | r68105 >
Date:20:09, 15 June 2010
Author:ialex
Status:ok
Tags:
Comment:
Fixed some doxygen warnings
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)
  • /trunk/phase3/includes/Block.php (modified) (history)
  • /trunk/phase3/includes/HttpFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -2043,6 +2043,7 @@
20442044 * @param $baseRevId the revision ID this edit was based off, if any
20452045 * @param $user Optional user object, $wgUser will be used if not passed
20462046 * @param $watchthis Watch the page if true, unwatch the page if false, do nothing if null
 2047+ * @param $comment Boolean: whether the edit is a new section
20472048 * @param $sectionanchor The section anchor for the page; used for redirecting the user back to the page
20482049 * after the edit is successfully committed
20492050 * @param $redirect If true, redirect the user back to the page after the edit is successfully committed
Index: trunk/phase3/includes/HttpFunctions.php
@@ -515,7 +515,7 @@
516516 * Sets a cookie. Used before a request to set up any individual
517517 * cookies. Used internally after a request to parse the
518518 * Set-Cookie headers.
519 - * @param $name string the name of the cookie
 519+ *
520520 * @param $value string the value of the cookie
521521 * @param $attr array possible key/values:
522522 * expires A date string
@@ -679,7 +679,9 @@
680680
681681 /**
682682 * Parse the content of an Set-Cookie HTTP Response header.
683 - * @param $cookie string
 683+ *
 684+ * @param $cookie String
 685+ * @param $domain String: cookie's domain
684686 */
685687 public function parseCookieResponseHeader ( $cookie, $domain ) {
686688 $len = strlen( "Set-Cookie:" );
Index: trunk/phase3/includes/Block.php
@@ -283,7 +283,7 @@
284284 *
285285 * @param $address String: IP address range
286286 * @param $killExpired Boolean: whether to delete expired rows while loading
287 - * @param $userid Integer: if not 0, then sets ipb_anon_only
 287+ * @param $user Integer: if not 0, then sets ipb_anon_only
288288 * @return Boolean
289289 */
290290 public function loadRange( $address, $killExpired = true, $user = 0 ) {

Status & tagging log