Customizing SMF > Portals, Bridges, and Integrations

SMF and MediaWiki Bridge

<< < (3/66) > >>

rsw686:

--- Quote from: klra on February 09, 2008, 02:05:14 PM ---Will there be a Wiki tab in the forums or will I have to create one?

--- End quote ---

Nope you have to add the tab yourself. The integration only deals logins. I modified a wiki theme to make it match my site.

When you set the auto authentication ($wgSMFLogin = true;) the login / logout links of the wiki will redirect you to the forum login page and use the forum logout function. Navigation to the wiki when logged into the forum will auto log you into the wiki.

rsw686:

--- Quote from: klra on February 09, 2008, 02:07:26 PM ---
--- 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 -

--- End quote ---

After you upload the mediawiki files and navigate to it with your browser it will walk you through the installation. You need to decide if you are going to create a new mysql database for the wiki or use the exisiting mysql smf database. It doesn't really matter, its more about how you want it organized. Both work the same. I just used the SMF database.

If you use the SMF database you would fill in the database name and login username and password. Towards the bottom it asks if you want a table prefix. Fill in mw_. This way it will name the tables mw_users, etc vs just users. The SMF tables are smf_members, etc. This keeps it organized.

klra:

--- Quote ---Nope you have to add the tab yourself. The integration only deals logins. I modified a wiki theme to make it match my site.
--- End quote ---

No sweat there, pretty easy to do.


--- Quote ---When you set the auto authentication ($wgSMFLogin = true;) the login / logout links of the wiki will redirect you to the forum login page and use the forum logout function. Navigation to the wiki when logged into the forum will auto log you into the wiki.
--- End quote ---

Good to hear.

klra:

--- Quote ---After you upload the mediawiki files and navigate to it with your browser it will walk you through the installation. You need to decide if you are going to create a new mysql database for the wiki or use the exisiting mysql smf database. It doesn't really matter, its more about how you want it organized. Both work the same. I just used the SMF database.
--- End quote ---

I'll probably go with a seperate, dedicated database for the Wiki, completely seperate from the SMF database.


--- Quote ---If you use the SMF database you would fill in the database name and login username and password. Towards the bottom it asks if you want a table prefix. Fill in mw_. This way it will name the tables mw_users, etc vs just users. The SMF tables are smf_members, etc. This keeps it organized.
--- End quote ---

So what does this mean to me as I will be installing a new database?

klra:
sorry, another question-


--- Quote --- I modified a wiki theme to make it match my site.
--- End quote ---

How did you do that?

There was very little guidance on how to do this at the Wiki site (Configuration).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version