> User::isLoggedIn() was meant to be used with $wgUser, as in. You're > logged in if "$wgUser->isLoggedIn();" returns true. It's not meant to > detect if an other user is logged in, because that's a technical > impossibility. It's a bad name, really. It should be something is isNotAnon(), since that's what it actually does.