From: Arne Heizmann Date: Sat, 4 Sep 2004 14:21:45 +0000 (+0000) Subject: expand comment for isNewbie(), and spelling corrections X-Git-Tag: 1.5.0alpha1~2107 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=73be962431813e826d41402c8e592702a3aad2d9;p=lhc%2Fweb%2Fwiklou.git expand comment for isNewbie(), and spelling corrections --- diff --git a/includes/User.php b/includes/User.php index 5f746e47c2..bd0891630c 100644 --- a/includes/User.php +++ b/includes/User.php @@ -510,7 +510,7 @@ class User { } /** - * Wheter user is a bot + * Whether the user is a bot */ function isBot() { $this->loadFromDatabase(); @@ -579,7 +579,7 @@ class User { /** * Check watched status of an article - * @return bool Wheter article is watched + * @return bool True if article is watched */ function isWatched( $title ) { $wl = WatchedItem::fromUserTitle( $this, $title ); @@ -846,7 +846,9 @@ class User { } /** - * Wheter the user is newbie + * Determine whether the user is a newbie. Newbies are either + * anonymous IPs, or the 1% most recently created accounts. + * Bots and sysops are excluded. * @document how are defined newbies. * @return bool True if it is a newbie. */