https://bugzilla.wikimedia.org/show_bug.cgi?id=57889

       Web browser: ---
            Bug ID: 57889
           Summary: Add hook handler for CentralAuth
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: GlobalCssJs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

I9329573da7d4f2af60515ef32b3b64bb769e3755 calls a hook for extensions to state
whether the user exists on both the global and current wiki.

function onLoadGlobalCssJs( User $user, $global, $current ) {
$caUser = CentralAuthUser::getInstance( $user );
return $caUser->attachedOn( $global ) && $caUser->attachedOn( $current );
}

...or something like that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to