Auto-login /
Auto-account-creation by hostname for intranet MediaWikis. The patch
code itself has not yet been uploaded but is rather short.
Brion and Marcus: let me know, if you are interested - pls .study for
this the text on the bugzilla; then I would revisited my code and upload
the patch as a diff.
Tom
Brion Vibber schrieb:
Marcus Kazmierczak wrote:
We are currently using a single sign on system
which sets the HTTP_AUTH variable via an Apache
plugin. I have a requirement to tie this into
the MediaWiki tool. Plus I need to have auto
login, since the users all must be authenticated
before accessing the wiki tool.
After trying unsuccessfully to use the AuthPlugin.php
piece, I came up with a hack which appears to work.
I'd rather you suggest necessary changes to AuthPlugin so we can support
this cleanly. Adding a callback hook for authentication checks when no
session is open would likely be appropriate. This would probably be
called from User::loadFromSession() in place of calling the default User
constructor.
Can you confirm these problems, or have you worked around them somehow?
-- brion vibber (brion @
pobox.com)
------------------------------------------------------------------------
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l