On Sat, 2010-02-06 at 12:01 -0600, s...@pobox.com wrote:
> A user of the Python Wiki was having trouble renaming a page about Vim and
> called in the cavalry (webmaster).  I found many "pages" related to Vim with
> all sorts of misspellings and special characters.  Most of them were just
> directories with a single, zero-length edit-log file.  I deleted a bunch
> manually but a quick find showed that most of the "pages" were actually such
> directories - no content.

Have a look at "moin ... maint cleanpage" script command.

It has a rather safe classifier and outputs a shell script that moves
pagedirs from the data directory to "trash/" and "deleted/" directories.

Create those dirs, review the script and fire it up.

The trash detection makes very sure that there is really just trash.

The deleted pages maybe should be kept for a while (maybe use
delete-<date>.tar.gz), just in case someone misses something and just
wanted to revert it from deleted status.

Stop wiki engine before and restart it afterwards.

> I suspect these are the remnants of a page deletion.  Is it safe to simply
> delete them?

Yes.



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to