Topic on Project:Support desk

Remove sensitive pages permanently

8
Ehtech2000 (talkcontribs)

I have a wiki I've been building on localhost (in Windows 10). The wiki has both private (personal financial info) and public (regular wiki articles on all kinds of topics) pages, categories, etc.

Now I want to split the wiki into a private one that I will keep on my computer (to help manage household finances and bookkeeping duties) AND then publish the public pages to the web as a separate wiki.

I've considered several options, but none of them seem very good.

First, I thought about duplicating my local wiki folder, then migrating the second half to local, and deleting pages through the normal MediaWiki deletions process. But, I read that the pages aren't actually deleted, which won't work for me because I don't want my private credit card and other financial details online for some smart hacker to take a crack at, even if it is supposedly "secure".

I looked up options on how to permanently delete pages, but all I found was conversations where people were inquiring how, but with no solution.

Finally, I thought maybe there is a way to install MediaWiki fresh and import the pages from local that I want to be public on the web. The challenge there is what if I miss something? When I try to import my pages, will that handle all dependencies automatically as well? It took me forever to import all the wiki templates and subtemplates to configure a musical artist infobox to look like on WikiPedia. I don't want to have to suffer through that kind of start and stop again if I don't have to.

So, what is the OPTIMAL way to split a wiki in two, remove parts from the copy, and post the copy with all the removed parts PERMANENTLY REMOVED?

Any help is appreciated.

2001:16B8:10D9:9A00:ADE0:7A87:F23F:D332 (talkcontribs)

MediaWiki has a few maintenance scripts, which can do that.

Some scripts can work on a batch of pages, e.g. deleteBatch.php, but this one only does a normal deletion. Data will still be inside the database afterwards.

E.g. nukePage.php will permanently delete a page and all revision texts associated to it. You can e.g. create a list of the pages to be removed and then use Notepad++ to easily turn this list into a nukePage.php call for each one of them.

Ehtech2000 (talkcontribs)

Thank you. I will test and report back.

MGHSHour (talkcontribs)
AhmadF.Cheema (talkcontribs)

^The Wikimedia Foundation (of which this site is a part of) has no formal links with Encyclopeda Dramatica. You will have to ask them to delete the mentioned article.

MGHSHour (talkcontribs)

that page really harasses me and bashes me, and I did not do anything, I keep my personal info a secret

Reply to "Remove sensitive pages permanently"