Reputation: 4716
I have a mediawiki site that is no longer edited. I'd like to save the content as static HTML and disable the wiki - in a word, unwikify the site.
This would include removing all the edit/discussion links, so a simple mirror using wget isn't what I'm looking for.
Is there an easy way to do this?
Upvotes: 6
Views: 3546
Reputation: 116100
You can alter the template to remove all those edit/discussion links. After that, you can wget mirror the site if you like, or just keep it as is. Wiki can cache those pages, so it's not a tremendous amount of effort for your webserver to keep feeding those pages through mediawiki.
But anyhow I would keep the wiki as well, so you can always go back, change the template and re-export it.
I actually have a site with such an altered template. That way, I use the a wiki on a different (protected) domain, that uses the same database, for editing, while another just displays the pages. You must remember to remove all editing rights as well, though, because otherwise people could still edit the pages by typing in a specific url.
Upvotes: 2