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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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