Page MenuHomePhabricator

User::isLoggedIn() is confusing
Open, Needs TriagePublic

Description

/**
 * Get whether the user is logged in
 * @return bool
 */
public function isLoggedIn() {
        return $this->isRegistered();
}

isLoggedIn being the same as isRegistered does not make any sense semantically; it dates from when a User object was only part of the current request, rather than a real object that can occur in other circumstances.

Details

ProjectBranchLines +/-Subject
mediawiki/coremaster+4 -0
mediawiki/coremaster+133 -133
mediawiki/extensions/MobileFrontendmaster+1 -1
mediawiki/coreREL1_35+5 -1
mediawiki/skins/Vectormaster+9 -9
mediawiki/extensions/UniversalLanguageSelectormaster+2 -2
mediawiki/extensions/Wikibasemaster+5 -5
mediawiki/extensions/GlobalWatchlistmaster+5 -5
mediawiki/extensions/NewUserMessagemaster+2 -2
mediawiki/extensions/DismissableSiteNoticemaster+2 -2
mediawiki/extensions/WikibaseQualityConstraintsmaster+2 -2
mediawiki/extensions/Translatemaster+3 -3
mediawiki/extensions/VisualEditormaster+3 -3
mediawiki/extensions/GlobalCssJsmaster+3 -3
mediawiki/extensions/LdapAuthenticationmaster+3 -3
mediawiki/extensions/ContactPagemaster+3 -3
mediawiki/extensions/MobileFrontendmaster+4 -4
mediawiki/extensions/GrowthExperimentsmaster+4 -4
mediawiki/extensions/ContentTranslationmaster+5 -5
mediawiki/extensions/Flowmaster+2 -2
mediawiki/extensions/LoginNotifymaster+1 -1
mediawiki/extensions/BetaFeaturesmaster+1 -1
mediawiki/extensions/CentralNoticemaster+5 -5
mediawiki/skins/MinervaNeuemaster+9 -9
mediawiki/extensions/Echomaster+4 -4
mediawiki/extensions/Newslettermaster+4 -4
mediawiki/extensions/CentralAuthmaster+6 -6
mediawiki/extensions/AbuseFiltermaster+1 -1
mediawiki/extensions/OAuthmaster+4 -4
mediawiki/extensions/Thanksmaster+3 -3
mediawiki/extensions/Collectionmaster+2 -2
mediawiki/extensions/PageTriagemaster+2 -2
mediawiki/extensions/SecurePollmaster+2 -2
mediawiki/extensions/WikimediaMaintenancemaster+2 -2
mediawiki/extensions/WikimediaMessagesmaster+3 -3
mediawiki/extensions/FlaggedRevsmaster+1 -1
mediawiki/extensions/MultimediaViewermaster+1 -1
mediawiki/extensions/WikimediaEventsmaster+1 -1
mediawiki/extensions/OpenStackManagermaster+1 -1
mediawiki/extensions/WikiLovemaster+1 -1
mediawiki/extensions/WebAuthnmaster+1 -1
mediawiki/extensions/WikimediaIncubatormaster+2 -2
mediawiki/skins/Nostalgiamaster+1 -1
mediawiki/skins/WikimediaApiPortalmaster+1 -1
mediawiki/skins/Timelessmaster+1 -1
mediawiki/coremaster+5 -1
Show related patches Customize query in gerrit

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Change 650335 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/WikimediaIncubator@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650335

Change 650336 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/WikimediaEvents@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650336

Change 650337 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/WikiLove@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650337

Change 650338 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/WikibaseQualityConstraints@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650338

Change 650339 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/WebAuthn@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650339

Change 650340 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/UniversalLanguageSelector@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650340

Change 650341 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/Thanks@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650341

Change 650342 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/OpenStackManager@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650342

Change 650343 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/NewUserMessage@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650343

Change 650366 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/MultimediaViewer@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650366

Change 650368 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/LoginNotify@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650368

Change 650369 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/GlobalCssJs@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650369

Change 650370 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/FlaggedRevs@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650370

Change 650371 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/Echo@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650371

Change 650372 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/DismissableSiteNotice@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650372

Change 650373 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/ContactPage@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650373

Change 650374 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/BetaFeatures@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650374

Change 650375 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/AbuseFilter@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650375

Change 650376 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/WikimediaMaintenance@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650376

Change 650332 merged by jenkins-bot:
[mediawiki/skins/Timeless@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650332

Change 650377 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/VisualEditor@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650377

Change 650331 merged by jenkins-bot:
[mediawiki/skins/WikimediaApiPortal@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650331

Change 650379 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/Translate@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650379

Change 650333 merged by jenkins-bot:
[mediawiki/skins/Nostalgia@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650333

Change 650380 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/SecurePoll@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650380

Change 650335 merged by jenkins-bot:
[mediawiki/extensions/WikimediaIncubator@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650335

Change 650381 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/PageTriage@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650381

Change 650336 merged by jenkins-bot:
[mediawiki/extensions/WikimediaEvents@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650336

Change 650339 merged by jenkins-bot:
[mediawiki/extensions/WebAuthn@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650339

Change 650382 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/MobileFrontend@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650382

Change 650337 merged by jenkins-bot:
[mediawiki/extensions/WikiLove@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650337

Change 650383 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/LdapAuthentication@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650383

Change 650342 merged by jenkins-bot:
[mediawiki/extensions/OpenStackManager@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650342

Change 650366 merged by jenkins-bot:
[mediawiki/extensions/MultimediaViewer@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650366

Change 650384 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/GlobalWatchlist@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650384

Change 650385 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/Flow@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650385

Change 650386 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/Collection@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650386

Change 650370 merged by jenkins-bot:
[mediawiki/extensions/FlaggedRevs@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650370

Change 650387 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/Wikibase@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650387

Change 650347 had a related patch set uploaded (by Reedy; owner: Jforrester):
[mediawiki/core@REL1_35] User: Deprecate confusingly-named isLoggedIn() method

https://gerrit.wikimedia.org/r/650347

Change 650388 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/OAuth@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650388

Change 650390 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/Newsletter@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650390

Change 650391 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/GrowthExperiments@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650391

Change 650392 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/CentralAuth@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650392

Change 650393 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/ContentTranslation@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650393

Change 650334 merged by jenkins-bot:
[mediawiki/extensions/WikimediaMessages@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650334

Change 650376 merged by jenkins-bot:
[mediawiki/extensions/WikimediaMaintenance@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650376

Change 650381 merged by jenkins-bot:
[mediawiki/extensions/PageTriage@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650381

Change 650380 merged by jenkins-bot:
[mediawiki/extensions/SecurePoll@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650380

Change 650386 merged by jenkins-bot:
[mediawiki/extensions/Collection@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650386

Change 650394 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/CentralNotice@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650394

Change 650395 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/skins/MinervaNeue@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650395

Change 650341 merged by jenkins-bot:
[mediawiki/extensions/Thanks@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650341

Change 650375 merged by jenkins-bot:
[mediawiki/extensions/AbuseFilter@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650375

Change 650388 merged by jenkins-bot:
[mediawiki/extensions/OAuth@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650388

Change 650371 merged by jenkins-bot:
[mediawiki/extensions/Echo@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650371

Change 650392 merged by jenkins-bot:
[mediawiki/extensions/CentralAuth@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650392

Change 650374 merged by jenkins-bot:
[mediawiki/extensions/BetaFeatures@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650374

Change 650394 merged by jenkins-bot:
[mediawiki/extensions/CentralNotice@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650394

Change 650399 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/skins/Vector@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650399

Change 650385 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650385

Change 650368 merged by jenkins-bot:
[mediawiki/extensions/LoginNotify@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650368

Change 650390 merged by jenkins-bot:
[mediawiki/extensions/Newsletter@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650390

Change 650391 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650391

Change 650395 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650395

Change 650393 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650393

Change 650382 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650382

Change 650369 merged by jenkins-bot:
[mediawiki/extensions/GlobalCssJs@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650369

Change 650373 merged by jenkins-bot:
[mediawiki/extensions/ContactPage@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650373

Change 650383 merged by jenkins-bot:
[mediawiki/extensions/LdapAuthentication@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650383

Change 650377 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650377

Change 650379 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650379

Change 650338 merged by jenkins-bot:
[mediawiki/extensions/WikibaseQualityConstraints@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650338

Change 650372 merged by jenkins-bot:
[mediawiki/extensions/DismissableSiteNotice@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650372

Change 650343 merged by jenkins-bot:
[mediawiki/extensions/NewUserMessage@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650343

Change 650384 merged by jenkins-bot:
[mediawiki/extensions/GlobalWatchlist@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650384

Change 650387 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650387

Change 650340 merged by jenkins-bot:
[mediawiki/extensions/UniversalLanguageSelector@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650340

Change 650780 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/MobileFrontend@master] Follow-up 8632bf030: Missed one

https://gerrit.wikimedia.org/r/650780

Change 650399 merged by jenkins-bot:
[mediawiki/skins/Vector@master] Use User->isRegistered(), not deprecated isLoggedIn()

https://gerrit.wikimedia.org/r/650399

Change 650347 merged by jenkins-bot:
[mediawiki/core@REL1_35] User: Deprecate confusingly-named isLoggedIn() method

https://gerrit.wikimedia.org/r/650347

Change 650780 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Follow-up 8632bf030: Missed one

https://gerrit.wikimedia.org/r/650780

Change 650284 merged by jenkins-bot:
[mediawiki/core@master] Swap out uses of User->isLoggedIn() with ->isRegistered()

https://gerrit.wikimedia.org/r/650284

We're technically ready to hard-deprecate; is this too soon, do people feel?

Change 651677 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/core@master] User: Hard-deprecate the confusingly-named isLoggedIn() method

https://gerrit.wikimedia.org/r/651677

Plenty of known uses in translatewiki.net deployed extensions still. We're doing last deployment of the year today.

Not quite as many left as I'd have imagined...

Targets
    Occurrences of 'isLoggedIn' in Directory /Users/reedy/PhpstormProjects/mediawiki/extensions
Found Occurrences  (187 usages found)
    Unclassified  (185 usages found)
        mediawiki  (185 usages found)
            extensions  (185 usages found)
                AccountInfo  (1 usage found)
                    includes  (1 usage found)
                        SpecialAccountInfo.php  (1 usage found)
                            64 if ( !$user->isLoggedIn() ) {
                AutoCreateCategoryPages  (1 usage found)
                    src  (1 usage found)
                        AutoCreateCategoryPages.php  (1 usage found)
                            76 if ( !$editor->isLoggedIn() ) {
                BlueSpiceDashboards  (1 usage found)
                    src  (1 usage found)
                        Hook  (1 usage found)
                            PersonalUrls  (1 usage found)
                                AddDashboardUrls.php  (1 usage found)
                                    11 return !$user->isLoggedIn();
                BlueSpiceExpiry  (2 usages found)
                    src  (2 usages found)
                        Hook  (1 usage found)
                            SkinTemplateNavigationUniversal  (1 usage found)
                                AddExpiryCreateEntry.php  (1 usage found)
                                    15 if ( !$this->sktemplate->getUser()->isLoggedIn() ) {
                        Panel  (1 usage found)
                            Flyout.php  (1 usage found)
                                102 return $context->getUser()->isLoggedIn();
                BlueSpiceExtendedSearch  (3 usages found)
                    src  (3 usages found)
                        MediaWiki  (1 usage found)
                            Api  (1 usage found)
                                ResultRelevance.php  (1 usage found)
                                    51 if ( $this->getUser()->isLoggedIn() == false ) {
                        Source  (2 usages found)
                            Formatter  (1 usage found)
                                Base.php  (1 usage found)
                                    100 if ( $user->isLoggedIn() ) {
                            LookupModifier  (1 usage found)
                                BaseUserRelevance.php  (1 usage found)
                                    21 if ( $context->getUser()->isLoggedIn() == false ) {
                BlueSpicePageAssignments  (1 usage found)
                    src  (1 usage found)
                        Hook  (1 usage found)
                            PersonalUrls  (1 usage found)
                                AddMyPageAssignments.php  (1 usage found)
                                    16 return !$user->isLoggedIn();
                BlueSpicePrivacy  (2 usages found)
                    src  (2 usages found)
                        Hook  (1 usage found)
                            PersonalUrls  (1 usage found)
                                AddPrivacyUrls.php  (1 usage found)
                                    11 return !$user->isLoggedIn();
                        Special  (1 usage found)
                            PrivacyCenter.php  (1 usage found)
                                20 return $user->isLoggedIn();
                BlueSpiceReminder  (2 usages found)
                    src  (2 usages found)
                        Hook  (2 usages found)
                            ChameleonSkinTemplateOutputPageBeforeExec  (1 usage found)
                                AddToPersonal.php  (1 usage found)
                                    16 return !$this->skin->getUser()->isLoggedIn();
                            SkinTemplateNavigationUniversal  (1 usage found)
                                AddReminderEntry.php  (1 usage found)
                                    14 if ( !$user->isLoggedIn() ) {
                BreadCrumbs2  (1 usage found)
                    BreadCrumbs2.class.php  (1 usage found)
                        233 return $this->user->isLoggedIn() ? $this->user->getName() : '';
                CentralNotice  (5 usages found)
                    includes  (5 usages found)
                        specials  (4 usages found)
                            SpecialBannerLoader.php  (1 usage found)
                                155 if ( !$this->getUser()->isLoggedIn() ) {
                            SpecialCNReporter.php  (1 usage found)
                                47 if ( !$this->getUser()->isLoggedIn() ) {
                            SpecialHideBanners.php  (1 usage found)
                                54 if ( !$this->getUser()->isLoggedIn() ) {
                            SpecialRecordImpression.php  (1 usage found)
                                32 if ( !$this->getUser()->isLoggedIn() ) {
                        CentralNoticeHooks.php  (1 usage found)
                            446 if ( $user->isLoggedIn() ) {
                Challenge  (3 usages found)
                    includes  (3 usages found)
                        specials  (2 usages found)
                            SpecialChallengeUser.php  (2 usages found)
                                28 return $this->getUser()->isLoggedIn();
                                157 if ( $this->getUser()->isLoggedIn() ) {
                        Challenge.hooks.php  (1 usage found)
                            40 if ( $ctx->getUser()->isLoggedIn() && !$upp->isOwner() ) {
                CollapsibleVector  (1 usage found)
                    maintenance  (1 usage found)
                        switchExperimentPrefs.php  (1 usage found)
                            48 if ( !$user->isLoggedIn() ) {
                Commentbox  (2 usages found)
                    includes  (2 usages found)
                        Hooks.php  (1 usage found)
                            61 if ( !$op->getUser()->isLoggedIn() ) {
                        SpecialAddComment.php  (1 usage found)
                            94 $sig = $user->isLoggedIn() ? "-- ~~~~" : "-- $Author ~~~~~";
                Comments  (5 usages found)
                    includes  (5 usages found)
                        specials  (1 usage found)
                            CommentIgnoreList.php  (1 usage found)
                                36 return (bool)$this->getUser()->isLoggedIn();
                        Comment.php  (2 usages found)
                            729 if ( $this->getUser()->isLoggedIn() ) {
                            902 $userObj->isLoggedIn() &&
                        CommentsPage.php  (2 usages found)
                            499 if ( $this->getUser()->isLoggedIn() ) {
                            578 if ( !$this->getUser()->isLoggedIn() ) {
                CommentStreams  (8 usages found)
                    resources  (8 usages found)
                        CommentStreams.js  (8 usages found)
                            30 isLoggedIn: false,
                            74 this.isLoggedIn = mw.config.get( 'wgUserName' ) !== null;
                            352 !this.isLoggedIn ) {
                            572 if ( this.isLoggedIn ) {
                            600 if ( this.isLoggedIn ) {
                            1036 if ( this.isLoggedIn ) {
                            1411 if ( this.isLoggedIn && ( mw.config.get( 'wgUserName' ) === username ||
                            1419 if ( this.isLoggedIn && ( mw.config.get( 'wgUserName' ) === username ||
                ConfirmAccount  (2 usages found)
                    includes  (2 usages found)
                        frontend  (2 usages found)
                            specialpages  (2 usages found)
                                actions  (2 usages found)
                                    RequestAccount_body.php  (2 usages found)
                                        427 $message = $reqUser->isLoggedIn()
                                        431 if ( !$reqUser->isLoggedIn() ) {
                ContributionScores  (1 usage found)
                    ContributionScores.php  (1 usage found)
                        64 if ( $user instanceof User && $user->isLoggedIn() ) {
                CookieWarning  (1 usage found)
                    includes  (1 usage found)
                        Hooks.php  (1 usage found)
                            41 if ( $user->isLoggedIn() ) {
                CreateAPage  (2 usages found)
                    includes  (2 usages found)
                        CreatePageCreateplateForm.php  (1 usage found)
                            172 if ( $user->isLoggedIn() ) {
                        CreatePageImageUploadForm.php  (1 usage found)
                            107 if ( !$user->isLoggedIn() ) {
                DarkMode  (1 usage found)
                    includes  (1 usage found)
                        Hooks.php  (1 usage found)
                            56 return $skin->getUser()->isLoggedIn() && $skin->getSkinName() !== 'minerva';
                DisplayTitle  (1 usage found)
                    includes  (1 usage found)
                        DisplayTitleHooks.php  (1 usage found)
                            50 if ( $skin->getUser()->isLoggedIn() &&
                Drafts  (2 usages found)
                    includes  (2 usages found)
                        DraftHooks.php  (2 usages found)
                            87 if ( $user->isAllowed( 'edit' ) && $user->isLoggedIn() ) {
                            188 if ( $user->isAllowed( 'edit' ) && $user->isLoggedIn() ) {
                EditSimilar  (2 usages found)
                    includes  (2 usages found)
                        EditSimilar.php  (1 usage found)
                            324 if ( $out->getUser()->isLoggedIn() ) {
                        EditSimilarHooks.php  (1 usage found)
                            89 if ( $user->isLoggedIn() && !empty( $wgEditSimilarAlwaysShowThanks ) ) {
                EditSubpages  (1 usage found)
                    ExtEditSubpages.php  (1 usage found)
                        53 'loggedin' => $user->isLoggedIn(),
                FanBoxes  (9 usages found)
                    includes  (9 usages found)
                        api  (2 usages found)
                            ApiFanBoxes.php  (2 usages found)
                                82 if ( $user->isLoggedIn() ) {
                                102 if ( $user->isLoggedIn() ) {
                        specials  (4 usages found)
                            SpecialFanBoxAjaxUpload.php  (1 usage found)
                                60 $this->mWatchthis         = $request->getBool( 'wpWatchthis' ) && $this->getUser()->isLoggedIn();
                            SpecialTopFanBoxes.php  (2 usages found)
                                160 if ( $user->isLoggedIn() ) {
                                316 if ( $user->isLoggedIn() ) {
                            SpecialViewFanBoxes.php  (1 usage found)
                                174 if ( $currentUser->isLoggedIn() ) {
                        FanBox.hooks.php  (1 usage found)
                            190 if ( $user->isLoggedIn() ) {
                        FanBoxPage.class.php  (1 usage found)
                            59 if ( $user->isLoggedIn() ) {
                        UserBoxes.hooks.php  (1 usage found)
                            166 if ( $user->isLoggedIn() ) {
                Favorites  (2 usages found)
                    api  (1 usage found)
                        ApiFavorite.php  (1 usage found)
                            16 if ( !$user->isLoggedIn() ) {
                    FavoritesHooks.php  (1 usage found)
                        76 if ( $wgFavoritesPersonalURL && $skin->getUser()->isLoggedIn() ) {
                GoogleAdSense  (1 usage found)
                    GoogleAdSense.class.php  (1 usage found)
                        24 if ( $skin->getUser()->isLoggedIn() && $wgGoogleAdSenseAnonOnly ) {
                HSTS  (1 usage found)
                    HSTSExtension.php  (1 usage found)
                        87 || ( $output->getUser()->isLoggedIn() && !$wgHSTSForUsers && !$output->getUser()->getOption( 'hsts' ) )
                ImportFreeImages  (1 usage found)
                    includes  (1 usage found)
                        specials  (1 usage found)
                            SpecialImportFreeImages.php  (1 usage found)
                                48 if ( !$user->isLoggedIn() ) {
                JsonData  (1 usage found)
                    JsonData_body.php  (1 usage found)
                        92 if ( $user->isLoggedIn() && $user->getOption( 'jsondata-schemaedit' ) ) {
                LinkFilter  (1 usage found)
                    includes  (1 usage found)
                        specials  (1 usage found)
                            SpecialLinkSubmit.php  (1 usage found)
                                23 return (bool)$this->getUser()->isLoggedIn();
                MiniInvite  (3 usages found)
                    includes  (3 usages found)
                        specials  (1 usage found)
                            SpecialInviteEmail.php  (1 usage found)
                                100 if ( $user->isLoggedIn() ) {
                        MiniInvite.hooks.php  (1 usage found)
                            168 if ( $page_edits_views == 1 && $user->isLoggedIn() ) {
                        UserEmailTrack.class.php  (1 usage found)
                            36 if ( $this->user->isLoggedIn() ) {
                MultiLanguageManager  (1 usage found)
                    src  (1 usage found)
                        Hooks  (1 usage found)
                            UserGetLanguageObject.php  (1 usage found)
                                36 if( $this->oUser->isLoggedIn() ) {
                NetworkAuth  (1 usage found)
                    NetworkAuth.class.php  (1 usage found)
                        59 if ( $user->isLoggedIn() ) {
                NewsBox  (2 usages found)
                    NewsBox.class.php  (2 usages found)
                        51 if ( $user->isLoggedIn() ) {
                        117 if ( $user->isLoggedIn() ) {
                NewUserActions  (1 usage found)
                    src  (1 usage found)
                        Actions  (1 usage found)
                            CreateNewUserPage.php  (1 usage found)
                                83 if ( !$editor->isLoggedIn() ) {
                OfflineImportLexicon  (1 usage found)
                    OfflineImportLexicon_body.php  (1 usage found)
                        71 if ( !($user->isLoggedIn() ) ) {
                OnlineStatus  (2 usages found)
                    OnlineStatus.body.php  (2 usages found)
                        292 if ( $wgUser->isLoggedIn() && $wgUseAjax ) {
                        328 if ( !$wgUser->isLoggedIn() || !$wgUseAjax || $title->isSpecial( 'Preferences' ) ) {
                OnlineStatusBar  (1 usage found)
                    includes  (1 usage found)
                        OnlineStatusBar.status.php  (1 usage found)
                            112 if ( $user->isLoggedIn() ) {
                OOJsUIAjaxLogin  (1 usage found)
                    includes  (1 usage found)
                        OOJsUIAjaxLogin.hooks.php  (1 usage found)
                            11 if ( !$out->getUser()->isLoggedIn() ) {
                OpenID  (2 usages found)
                    includes  (2 usages found)
                        specials  (2 usages found)
                            SpecialOpenIDLogin.php  (1 usage found)
                                1153 return !$this->getUser()->isLoggedIn();
                            SpecialOpenIDServer.php  (1 usage found)
                                101 if ( $this->getUser()->isLoggedIn() ) {
                PageForms  (2 usages found)
                    includes  (2 usages found)
                        PF_FormUtils.php  (1 usage found)
                            290 if ( $user->isLoggedIn() ) {
                        PF_Utils.php  (1 usage found)
                            201 if ( $wgUser->isLoggedIn() ) {
                PictureGame  (13 usages found)
                    includes  (13 usages found)
                        specials  (13 usages found)
                            SpecialPictureGameAjaxUpload.php  (1 usage found)
                                67 $this->mWatchthis         = $request->getBool( 'wpWatchthis' ) && $this->getUser()->isLoggedIn();
                            SpecialPictureGameHome.php  (12 usages found)
                                95 if ( $user->isLoggedIn() && $user->isAllowed( 'picturegameadmin' ) ) {
                                102 if ( $user->isLoggedIn() && $user->isAllowed( 'picturegameadmin' ) ) {
                                109 if ( $user->isLoggedIn() && $user->isAllowed( 'picturegameadmin' ) ) {
                                116 if ( $user->isLoggedIn() && $user->isAllowed( 'picturegameadmin' ) ) {
                                123 if ( $user->isLoggedIn() && $user->isAllowed( 'picturegameadmin' ) ) {
                                130 if ( $user->isLoggedIn() && $user->isAllowed( 'picturegameadmin' ) ) {
                                137 if ( $user->isLoggedIn() && $user->isAllowed( 'picturegameadmin' ) ) {
                                175 ( !$user->isLoggedIn() || !$user->isAllowed( 'picturegameadmin' ) )
                                249 ( !$user->isLoggedIn() || !$user->isAllowed( 'picturegameadmin' ) )
                                1466 if ( $user->isLoggedIn() ) {
                                1476 if ( $user->isLoggedIn() ) {
                                1781 if ( !$user->isLoggedIn() ) {
                PollNY  (4 usages found)
                    includes  (4 usages found)
                        specials  (2 usages found)
                            SpecialAdminPoll.php  (1 usage found)
                                132 if ( !$user->isAllowed( 'polladmin' ) && $user->isLoggedIn() ) {
                            SpecialPollAjaxUpload.php  (1 usage found)
                                59 $this->mWatchthis = $request->getBool( 'wpWatchthis' ) && $this->getUser()->isLoggedIn();
                        PollPage.class.php  (2 usages found)
                            103 if ( $user->isLoggedIn() ) {
                            149 if ( $user->isLoggedIn() ) {
                PrivateDomains  (1 usage found)
                    includes  (1 usage found)
                        PrivateDomainsHooks.php  (1 usage found)
                            21 $user->isLoggedIn() && !in_array( 'privatedomains', $groups ) &&
                PronunciationRecording  (1 usage found)
                    SpecialPronunciationRecording.php  (1 usage found)
                        106 !$user->isLoggedIn() &&
                QuickSurveys  (1 usage found)
                    resources  (1 usage found)
                        ext.quicksurveys.lib  (1 usage found)
                            views  (1 usage found)
                                QuickSurvey.js  (1 usage found)
                                    189 isLoggedIn: !mw.user.isAnon(),
                QuizGame  (8 usages found)
                    includes  (8 usages found)
                        specials  (8 usages found)
                            SpecialQuestionGameUpload.php  (1 usage found)
                                60 $this->mWatchthis         = $request->getBool( 'wpWatchthis' ) && $this->getUser()->isLoggedIn();
                            SpecialQuizGameHome.php  (6 usages found)
                                88 if ( $user->isLoggedIn() && $user->isAllowed( 'quizadmin' ) ) {
                                95 if ( $user->isLoggedIn() && $user->isAllowed( 'quizadmin' ) ) {
                                102 if ( !$user->isLoggedIn() ) {
                                112 if ( $user->isLoggedIn() && $user->isAllowed( 'quizadmin' ) ) {
                                952 ( $user_answer && $user->isLoggedIn() && $user->isAllowed( 'quizadmin' ) ) ||
                                975 if ( $user->isLoggedIn() ) {
                            SpecialQuizLeaderboard.php  (1 usage found)
                                67 if ( $user->isLoggedIn() ) {
                SecureSessions  (1 usage found)
                    SecureSessions.hooks.php  (1 usage found)
                        407 if ( $this->getUser()->isLoggedIn() ) {
                SkinPerNamespace  (1 usage found)
                    SkinPerNamespaceHooks.php  (1 usage found)
                        36 if ( !$wgSkinPerNamespaceOverrideLoggedIn && $context->getUser()->isLoggedIn() ) {
                SocialLogin  (4 usages found)
                    SocialLogin.body.php  (4 usages found)
                        177 if ( $user->isLoggedIn() ) {
                        215 if ( $wgSocialLoginAddForms && !$user->isLoggedIn() ) {
                        307 if ( $user->isLoggedIn() ) {
                        438 if ( !$user->isLoggedIn() ) {
                SocialProfile  (27 usages found)
                    SystemGifts  (2 usages found)
                        includes  (2 usages found)
                            specials  (2 usages found)
                                SpecialViewSystemGifts.php  (2 usages found)
                                    21 return (bool)$this->getUser()->isLoggedIn();
                                    53 if ( !$currentUser->isLoggedIn() && $user_name == '' ) {
                    UserBoard  (4 usages found)
                        includes  (4 usages found)
                            specials  (3 usages found)
                                SpecialUserBoard.php  (3 usages found)
                                    36 return (bool)$this->getUser()->isLoggedIn();
                                    309 if ( $currentUser->isLoggedIn() && !$currentUser->isBlocked() ) {
                                    361 if ( $currentUser->isLoggedIn() && $user_name != $sender->getName() ) {
                            UserBoard.php  (1 usage found)
                                287 if ( $this->currentUser->isLoggedIn() ) {
                    UserGifts  (2 usages found)
                        includes  (2 usages found)
                            specials  (2 usages found)
                                SpecialGiveGift.php  (1 usage found)
                                    42 return (bool)$this->getUser()->isLoggedIn();
                                SpecialViewGifts.php  (1 usage found)
                                    31 return (bool)$this->getUser()->isLoggedIn();
                    UserProfile  (7 usages found)
                        includes  (7 usages found)
                            api  (1 usage found)
                                ApiUserProfilePrivacy.php  (1 usage found)
                                    30 if ( !$targetUser->isLoggedIn() ) {
                            specials  (2 usages found)
                                SpecialRemoveAvatar.php  (2 usages found)
                                    38 return (bool)$this->getUser()->isLoggedIn();
                                    78 if ( !$user->isLoggedIn() ) {
                            UserProfilePage.php  (4 usages found)
                                1090 } elseif ( $this->viewingUser->isLoggedIn() ) {
                                1773 if ( $this->viewingUser->isLoggedIn() && !$this->viewingUser->isBlocked() ) {
                                1803 } elseif ( $this->viewingUser->isLoggedIn() && $this->viewingUser->isBlocked() ) {
                                1985 if ( $user->isLoggedIn() ) {
                    UserRelationship  (11 usages found)
                        includes  (11 usages found)
                            specials  (11 usages found)
                                SpecialAddRelationship.php  (4 usages found)
                                    86 if ( ( $currentUser->getActorId() == $this->user_to->getActorId() ) && $currentUser->isLoggedIn() ) {
                                    94 if ( $currentUser->isLoggedIn() ) {
                                    109 if ( $currentUser->isLoggedIn() ) {
                                    123 if ( $currentUser->isLoggedIn() ) {
                                SpecialRemoveRelationship.php  (4 usages found)
                                    90 if ( $user->isLoggedIn() ) {
                                    104 if ( $user->isLoggedIn() ) {
                                    118 if ( $user->isLoggedIn() ) {
                                    131 if ( $user->isLoggedIn() ) {
                                SpecialViewRelationshipRequests.php  (1 usage found)
                                    48 return (bool)$this->getUser()->isLoggedIn();
                                SpecialViewRelationships.php  (2 usages found)
                                    39 return (bool)$this->getUser()->isLoggedIn();
                                    113 if ( $user->isLoggedIn() ) {
                    UserWelcome  (1 usage found)
                        includes  (1 usage found)
                            UserWelcome.php  (1 usage found)
                                66 if ( $this->user->isLoggedIn() ) {
                SportsTeams  (15 usages found)
                    includes  (15 usages found)
                        specials  (13 usages found)
                            SpecialAddFan.php  (2 usages found)
                                49 if ( $user->isLoggedIn() ) {
                                105 if ( $user->isLoggedIn() ) {
                            SpecialFanHome.php  (5 usages found)
                                40 if ( $user->isLoggedIn() ) {
                                66 if ( $user->isLoggedIn() ) {
                                128 } elseif ( $user->isLoggedIn() ) {
                                162 if ( $user->isLoggedIn() ) {
                                209 if ( $user->isLoggedIn() ) {
                            SpecialRemoveFan.php  (2 usages found)
                                48 if ( $user->isLoggedIn() ) {
                                101 if ( $user->isLoggedIn() ) {
                            SpecialSimilarFans.php  (1 usage found)
                                44 if ( $user->isLoggedIn() ) {
                            SpecialUpdateFavoriteTeams.php  (1 usage found)
                                133 if ( !$user->isLoggedIn() ) {
                            SpecialViewFans.php  (2 usages found)
                                51 if ( $user->isLoggedIn() ) {
                                68 if ( $user->isLoggedIn() ) {
                        SportsTeams.class.php  (1 usage found)
                            210 if ( $this->user->isLoggedIn() ) {
                        SportsTeamsUserProfile.class.php  (1 usage found)
                            191 $user_profile->viewingUser->isLoggedIn() &&
                SSLClientAuthentication  (2 usages found)
                    SSLClientAuthentication.php  (2 usages found)
                        103 $user->isLoggedIn() &&
                        145 $user->isLoggedIn() &&
                StickToThatLanguage  (1 usage found)
                    StickToThatLanguage.hooks.php  (1 usage found)
                        97 $topLanguages = $user->isLoggedIn()
                Survey  (1 usage found)
                    includes  (1 usage found)
                        Survey.class.php  (1 usage found)
                            325 $userTypes[] = $user->isLoggedIn() ? Survey::$USER_LOGGEDIN : Survey::$USER_ANON;
                TwitterLogin  (2 usages found)
                    SpecialTwitterLogin.php  (1 usage found)
                        58 if ( !$this->getUser()->isLoggedIn() ) {
                    TwitterLogin.body.php  (1 usage found)
                        23 if ( !$out->getUser()->isLoggedIn() ) {
                TwnMainPage  (2 usages found)
                    includes  (2 usages found)
                        specials  (2 usages found)
                            SpecialTwnMainPage.php  (2 usages found)
                                144 if ( $user->isLoggedIn() ) {
                                560 if ( $this->getUser()->isLoggedIn() ) {
                UploadWizard  (1 usage found)
                    tests  (1 usage found)
                        api  (1 usage found)
                            upload-wizard_tests.py  (1 usage found)
                                230     if not wiki.isLoggedIn():
                URNames  (1 usage found)
                    URNames.php  (1 usage found)
                        125 if( !$user->isLoggedIn() ) {
                UserStatus  (4 usages found)
                    includes  (4 usages found)
                        specials  (2 usages found)
                            SpecialFanUpdates.php  (1 usage found)
                                160 if ( $user->isLoggedIn() && !$user->isBlocked() && !wfReadOnly() ) {
                            SpecialUserStatus.php  (1 usage found)
                                228 if ( $currentUser->isLoggedIn() && $currentUser->getActorId() != $message['actor'] ) {
                        UserStatus.class.php  (2 usages found)
                            59 if ( $this->user->isLoggedIn() ) {
                            364 if ( $this->user->isLoggedIn() && $this->user->getActorId() != $message['actor'] ) {
                VoteNY  (1 usage found)
                    includes  (1 usage found)
                        VoteStars.php  (1 usage found)
                            40 if ( $already_voted && $this->User->isLoggedIn() ) {
                WebChat  (1 usage found)
                    WebChat_body.php  (1 usage found)
                        26 if ( $this->getUser()->isLoggedIn() ) {
                WebDAV  (3 usages found)
                    includes  (3 usages found)
                        Auth  (2 usages found)
                            WebDAVTokenAuthBackend.php  (2 usages found)
                                69 if ( $this->oRequestContext->getUser()->isLoggedIn() ) {
                                139 && $this->oRequestContext->getUser()->isLoggedIn() ) {
                        WebDAVTokenizer.php  (1 usage found)
                            114 if ( !$this->oUser instanceof User || $this->oUser->isLoggedIn() === false ) {
                WikiForum  (4 usages found)
                    includes  (4 usages found)
                        WFReply.php  (1 usage found)
                            335 if ( !$wgWikiForumAllowAnonymous && !$user->isLoggedIn() ) {
                        WikiForumGui.php  (3 usages found)
                            64 if ( strlen( $additionalLinks ) > 0 && ( $wgWikiForumAllowAnonymous || $user->isLoggedIn() ) ) {
                            212 if ( $user->isLoggedIn() ) {
                            246 if ( $wgWikiForumAllowAnonymous || $user->isLoggedIn() ) {
                WikiTextLoggedInOut  (2 usages found)
                    WikiTextLoggedInOut.php  (2 usages found)
                        25 if ( $parser->getUser()->isLoggedIn() ) {
                        33 if ( !$parser->getUser()->isLoggedIn() ) {
    Usage in comments  (2 usages found)
        mediawiki  (2 usages found)
            extensions  (2 usages found)
                TwitterLogin  (1 usage found)
                    SpecialTwitterLogin.php  (1 usage found)
                        122 		if( $wgUser->isLoggedIn() ) {
                UserStatus  (1 usage found)
                    includes  (1 usage found)
                        specials  (1 usage found)
                            SpecialFanUpdates.php  (1 usage found)
                                55 			if ( $user->isLoggedIn() ) {