On Wed, May 8, 2013 at 10:14 AM, George Tsirigotakis
<tsirigotakis.george(a)gmail.com> wrote:
Hey Chad,
Thank you for replying!
I'm new at this, so I'd like to ask you another couple of questions:
1. How can I write an AuthPlugin? Is there a tutorial?
http://www.mediawiki.org/wiki/AuthPlugin is probably the best place to
start. If your users are all registering through the social networks,
then the auth plugin will just need to test the username and password
against the user database there. If you're trying to go the other way
around (have your mediawiki users also logged into these social
applications), then you would need to use something like the OpenID
extension. But it sounds like AuthPlugin is what you're looking for.
If you want single sign-on, and both mediawiki and the other
applications are on the same domain, you may also try using the
UserLoadFromSession hook to read the social networks cookie and derive
the correct mediawiki user. But that will depend on how the other
application's cookies are stored-- whether you can securely read the
username from the session, so that you can start up a mediawiki
session too.
http://www.mediawiki.org/wiki/Manual:Hooks/UserLoadFromSession
2. Where can I find this API?
Regards,
George
On 8 May 2013 19:28, Chad <innocentkiller(a)gmail.com> wrote:
On Wed, May 8, 2013 at 12:21 PM, George
Tsirigotakis
<tsirigotakis.george(a)gmail.com> wrote:
1. Is it possible for the members of my
community to use the MediaWiki
page without to register again?
Yes, you can write an AuthPlugin for MediaWiki to plug in your own
custom authorization/authentication system. See [0].
2. Is it possible articles and updates from
the MediaWiki page to be
shown on the members' "wall" and/or activity feed?
This sounds like a job for the API[1].
-Chad
[0]
https://www.mediawiki.org/wiki/AuthPlugin
[1]
https://www.mediawiki.org/wiki/API:Main_page
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l