I want to write a custom AuthPlugin that will redirect users to a single sign-on page for authentication. Here's the rub, though... I don't want the user to have to go to Special:Userlogin. I have our wiki locked down... no anonymous reads or edits. Are there any hooks to login without user intervention? Or, will I need to hack core code to do this?
Dan
Hi!
I want to write a custom AuthPlugin that will redirect users to a single sign-on page for authentication. Here's the rub, though... I don't want the user to have to go to Special:Userlogin. I have our wiki locked down... no anonymous reads or edits. Are there any hooks to login without user intervention? Or, will I need to hack core code to do this?
http://mail.wikipedia.org/pipermail/mediawiki-l/2006-January/009492.html
On 7/18/06, Domas Mituzas midom.lists@gmail.com wrote:
http://mail.wikipedia.org/pipermail/mediawiki-l/2006-January/009492.html
Aha! I think that might just do it.
Thanks Domas.
Dan
On 7/18/06, Dan Davis hokie99cpe+wiki@gmail.com wrote:
On 7/18/06, Domas Mituzas midom.lists@gmail.com wrote:
http://mail.wikipedia.org/pipermail/mediawiki-l/2006-January/009492.html
OK, I'm modifying the code in that post for my own purposes. I would like to use a MediaWiki: message for certain control functions (I would prefer config files, but you know how managers can be...). To that end, I am trying to call wfMsgForContent() within my plugin... but, it's not working.
At the moment, I have added the message page to $wgWhitelistRead to get around my security settings. What else would be required to use wfMsgForContent() from my plugin? What about accessing the database directly (using login info from AdminSettings.php) to pull the plain-text content of the page in question?
Thoughts? Direction?
Dan
mediawiki-l@lists.wikimedia.org