Page MenuHomePhabricator

Add hook handler for GlobalCssJs in CentralAuth
Closed, ResolvedPublic

Description

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

Details

Reference
bz57889

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 2:40 AM
bzimport set Reference to bz57889.
bzimport added a subscriber: Unknown Object (MLST).
Legoktm created this task.Dec 2 2013, 9:58 PM

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

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

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

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