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


Sam Sexton <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |blocker
           Priority|Normal                      |High




--- Comment #5 from Sam Sexton <[email protected]>  2009-02-10 10:55:30 
UTC ---
Tim,

I have tried the MW Users Forum and Project:Support recently and had no
response whatsoever and am getting rather desperate to solve this problem - and
trying to maintain my sanity! ;-) I've now got clear and succinct evidence of
$user as amended in the hook not getting back to the calling code (
User::loadFromSession() ). This may indeed be my fault, but I've read various
documentation several times (at one point I thought perhaps the wgHooks
definition may have been wrong, but I've verified that it's not (included
below) and I've also shadowed as closely as possible the way that
CASAuthenticate works - so I'm not convinced that this isn't a bug.

global $wgHooks;

$wgHooks['UserLoadFromSession'][] = 'fnUserAuthTGST';

I would be grateful if someone could assure me that it isn't a bug, but I've
now also raised this in the Project:Support desk as
http://www.mediawiki.org/wiki/Project:Support_desk/Sections/Extension#Problem_passing_.24user_back_from_UserLoadFromSession_hook
. It's arguable whether it should be reported as an extension (although that's
how I've implemented it), but I suspect that the people reading that section
are more likely to have experience in this area.

Regards, Sam


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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