-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Platonides wrote:
Also, when is AutoAuthenticate called? I don't see it being clear on hooks.txt nor the code (and it's late for starting following the calling procedures).
When unstubbing the $wgUser object.
Is it called on any page view or only when you're going to edit/login page?
Any hit that requires a user object; which is to say, pretty much anything. :)
I think the latter would be preferred for SUL. And auto-creation could require a "Do you want to create your local account?" step if your action is not explicit to enter.
The current code as written won't create a local account that doesn't yet exist -- you'd have to log in at least once per site.
- -- brion vibber (brion @ wikimedia.org)