From 73be962431813e826d41402c8e592702a3aad2d9 Mon Sep 17 00:00:00 2001 From: Arne Heizmann Date: Sat, 4 Sep 2004 14:21:45 +0000 Subject: [PATCH] expand comment for isNewbie(), and spelling corrections --- includes/User.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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. */ -- 2.20.1