(ヽ´ω`) < 助けてほしいマン

わからないことを助けてほしいマンが書くブログ

(ヽ´ω`) < Moinmoinでのページの削除について

(ヽ´ω`) < き、消えない…

Moinmoinでのページ削除について、公式ドキュメントで短いながらも注意点が載っている。

HelpOnPageDeletion - MoinMoin

これによると、ページを削除しても削除されないよ、とある。

(ヽ´ω`) < どういうこと?

ページ上のアクションメニューには「ページ削除」があるが、これを実行してもページが削除されたという新規のリビジョンを追加するだけ。

つまり、更新履歴から削除前のページを復元することができる。

What this means is that you can get back at deleted pages by reverting them to an older/existing revision (first display some older revision using the link from the info action, then use "revert to this revision" from the menu).

(ヽ´ω`) < それじゃどうやって完全に消すの?

Webページ上から完全削除する方法は今のところ用意されていない模様。

シェルからdata/pages/<PageName>のディレクトリがあるから、それを削除すればOKとのこと。

The only way to unrevertably and completely delete a page (including backups, history, attachments, etc.) is via the shell on the host system. The page files are found in the "data/pages/" directory, and you can simply delete the whole directory - no way back in that case.