Last modified: 2013-12-13 21:45:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59889, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57889 - Add hook handler for GlobalCssJs in CentralAuth
Add hook handler for GlobalCssJs in CentralAuth
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CentralAuth (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks: 57891
  Show dependency treegraph
 
Reported: 2013-12-02 21:58 UTC by Kunal Mehta (Legoktm)
Modified: 2013-12-13 21:45 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-12-02 21:58:34 UTC
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.
Comment 1 Gerrit Notification Bot 2013-12-03 02:44:21 UTC
Change 98751 had a related patch set uploaded by Legoktm:
Add hook handler for GlobalCssJs

https://gerrit.wikimedia.org/r/98751
Comment 2 Gerrit Notification Bot 2013-12-13 21:34:53 UTC
Change 98751 merged by jenkins-bot:
Add hook handler for GlobalCssJs

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links