Simple Machines Community Forum

Customizing SMF => Bridges and Integrations => Topic started by: karl1990 on April 02, 2010, 03:03:42 AM

Title: MediaWiki
Post by: karl1990 on April 02, 2010, 03:03:42 AM
The SMF and MediaWiki integration I built only requires one file placed in the wiki extensions directory. To get started you only need to configure the relative path to your SMF forum and the forum's version. The version will either be 1.1 or 2.0 (which only applies to charter members as 2.0 has not been released). In the default configuration the wiki login is separate from the forum. It will assign and remove sysop privileges to SMF administrators and allow you to lock down editing to an SMF group. You can even supply additional groups to be granted wiki sysop privileges.

For the auto authentication I have decided not to use the smf_api.php file for the above reasons. When you click login / logout the wiki redirects you to the SMF page and then back to the wiki. A couple of gotchas are that you must be using SMF database sessions (default setting). You also need to configure SMF to make sure local storage of cookies are disabled. You might not need to do this if your wiki is inside your forum folder.
Title: Re: MediaWiki
Post by: Norv on April 03, 2010, 01:01:46 AM
Quote from: karl1990 on April 02, 2010, 03:03:42 AM
The version will either be 1.1 or 2.0 (which only applies to charter members as 2.0 has not been released).
A correction: SMF 2.0 RC3 is currently available for download, publicly, as every 2.0 version has been (though usually, a few weeks after charter preview - except for security releases).

As for the bridge, it's good to hear. However, the instructions are not really useful for the community unless you can tell perhaps where the bridge can be found, in case you made it available. :)
Title: Re: MediaWiki
Post by: MultiformeIngegno on April 03, 2010, 05:13:29 AM
I'm really interested on this!!!! I can't see a download link.... if you need beta testers, send me a PM! :)
Title: Re: MediaWiki
Post by: Achilles. on April 28, 2010, 11:55:00 PM
Is this like the User Integration from Forums to Wiki? :) Great, I'd love to see this out!
Title: Re: MediaWiki
Post by: danskmacabre on September 16, 2010, 07:34:16 AM
Is anything happening with this?
I'd love to integrate mediawiki with SMF.
Title: Re: MediaWiki
Post by: Joshua Dickerson on September 16, 2010, 04:42:01 PM
The issue I have with SMF / Mediawiki integration(s) is that the users in SMF are allowed to have a number of characters which MW doesn't. I think the only option to fix that would be to use numbers for their MW usernames and then replace them with their actual usernames on display. It would probably require some trickery with wiki formatting as well.