Topic on Project:Support desk

How to copy and start a new wiki

2
Chan15tw (talkcontribs)

I want to create another wiki on my own server, setting is almost the same, just need to connect to another database and a new website name, therefore I want to copy the PHP files to another folder, export the table to another database, but the artiblce content will be new, is there a way to reset the table or which table should I truncate.

Ciencia Al Poder (talkcontribs)

You want to create a new wiki on your server, maintaining the existing one, so both are accessible, or just delete the current one and start from scratch?

If both should coexist, what kind of data you want to share between them (because you say to "copy" content but not article pages)?

If you have 2 subdomains, it's easy to define both to have the same document root, pointing to the same installation, and in LocalSettings set specific wiki-specific settings based on the host, but in any case you can also duplicate the installation files, having one for each wiki (which is probably easier to do if you have few wikis). You can share things like the user table, or images. See Manual:Wiki family

Reply to "How to copy and start a new wiki"