Customizing SMF > Portals, Bridges, and Integrations
SMF and MediaWiki Bridge
rsw686:
Usernames with - work correctly using the wiki login separate or with the auto authentication. If you have a _ in your username it only works with the auto authentication. The wiki software converts _ to a space. I could convert it back to a _, but then there could be a conflict with a username with a space. I'll look into it.
klra:
Thanks- I wasn't sure if this would be an issue with the members that have one of those characters in their username or not.
I don't think it would be an issue though, as I think I will be only allowing editing access to Admins, Mods and specific high post count members - and if they have have one of those charachters in their username, I could encourage them to change their name if they want access.
rsw686:
--- Quote from: klra on February 09, 2008, 01:39:06 PM ---Thanks- I wasn't sure if this would be an issue with the members that have one of those characters in their username or not.
I don't think it would be an issue though, as I think I will be only allowing editing access to Admins, Mods and specific high post count members - and if they have have one of those charachters in their username, I could encourage them to change their name if they want access.
--- End quote ---
Yeah for now I'm just going to say user names with _ in them won't work using the wiki login. They do work fine if you use the auto authentication.
To get started install the mediawiki software. If you are going to use the same database make sure to set the prefix during the installation. This makes it easy to determine what tables go with what. I used the mw_ like recommend.
Afterwards just copy the SMF_Auth.php file to your wiki/extensions directory. Add the lines from the top of SMF_Auth.php to the end of the wiki/LocalSettings.php file. Start with just configuring the $wgSMFPath path. Once you get this right you should be able to login with your forum name via the wiki login.
Then you can enable the other settings to configure the auto authentication part.
klra:
Will there be a Wiki tab in the forums or will I have to create one?
And if I do have this Tab/link, will going to the Wiki from the forums do the auto login ?
I think that would be best. Then setup the Wiki to have no front end login on the wiki page itself. This would then allow editing access through the forums only by those logged in, authorized members.
Also, expect some more questions about implimentation/installation of this bridge, as I (annd maybe some other folks here) may have questions about it. I know I do already-
klra:
--- Quote ---If you are going to use the same database make sure to set the prefix during the installation. This makes it easy to determine what tables go with what. I used the mw_ like recommend.
--- End quote ---
That went right over my head.
Sorry, but it looks like I'll need a bit more guidance -
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version