Page MenuHomePhabricator

Add hook handler for GlobalCssJs in CentralAuth
Closed, ResolvedPublic


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.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:40 AM
bzimport set Reference to bz57889.
bzimport added a subscriber: Unknown Object (MLST).

Change 98751 had a related patch set uploaded by Legoktm:
Add hook handler for GlobalCssJs

Change 98751 merged by jenkins-bot:
Add hook handler for GlobalCssJs