* @param $baseRevId the revision ID this edit was based off, if any
* @param $user Optional user object, $wgUser will be used if not passed
* @param $watchthis Watch the page if true, unwatch the page if false, do nothing if null
+ * @param $comment Boolean: whether the edit is a new section
* @param $sectionanchor The section anchor for the page; used for redirecting the user back to the page
* after the edit is successfully committed
* @param $redirect If true, redirect the user back to the page after the edit is successfully committed
*
* @param $address String: IP address range
* @param $killExpired Boolean: whether to delete expired rows while loading
- * @param $userid Integer: if not 0, then sets ipb_anon_only
+ * @param $user Integer: if not 0, then sets ipb_anon_only
* @return Boolean
*/
public function loadRange( $address, $killExpired = true, $user = 0 ) {
* Sets a cookie. Used before a request to set up any individual
* cookies. Used internally after a request to parse the
* Set-Cookie headers.
- * @param $name string the name of the cookie
+ *
* @param $value string the value of the cookie
* @param $attr array possible key/values:
* expires A date string
/**
* Parse the content of an Set-Cookie HTTP Response header.
- * @param $cookie string
+ *
+ * @param $cookie String
+ * @param $domain String: cookie's domain
*/
public function parseCookieResponseHeader ( $cookie, $domain ) {
$len = strlen( "Set-Cookie:" );