An open API service indexing awesome lists of open source software.

https://github.com/pv/moin-despam

Tool for easily removing and hiding spam pages from a MoinMoin wiki
https://github.com/pv/moin-despam

Last synced: 2 months ago
JSON representation

Tool for easily removing and hiding spam pages from a MoinMoin wiki

Awesome Lists containing this project

README

        

moin-despam
===========

``moin-despam.py`` is a script for mass-marking pages as spam in MoinMoin. It

1. Downloads RecentChanges.
2. Asks you which of the pages to mark as spam (via ``$EDITOR``, default vi).
3. Logs in with your user account.
4. Replaces the text of each page by ``#acl All:\nspam``,
which makes the page disappear from *RecentChanges*, except for superusers.

NOTE: you need to have a superuser account for this to work!

You need a configuration file (default is ``~/.moin-despam.ini``), like this::

url = http://some-website.com/moinwiki
user = YourUserName
password = your-password

Requirements
------------

You need to have the following additional Python libraries installed:

- `mechanize `__
- `configobj `__