News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

MediaWiki

Started by karl1990, April 02, 2010, 03:03:42 AM

Previous topic - Next topic

karl1990

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.

Norv

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. :)
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

MultiformeIngegno

I'm really interested on this!!!! I can't see a download link.... if you need beta testers, send me a PM! :)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Achilles.

Is this like the User Integration from Forums to Wiki? :) Great, I'd love to see this out!

- All donations will proceed to my Youth Foundation.

http://poseidondesigners.tk/ -- Affordable Website Designs // Banners & More!

danskmacabre

Is anything happening with this?
I'd love to integrate mediawiki with SMF.
Website: cantref.org.uk chaos8.com | SmF version: 2 | Portal software: PortaMx 1.3 | Default theme: Coal Black

Joshua Dickerson

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.
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

Advertisement: