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
- Host: GitHub
- URL: https://github.com/pv/moin-despam
- Owner: pv
- Created: 2010-07-02T09:08:01.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2010-07-02T09:14:14.000Z (almost 15 years ago)
- Last Synced: 2025-01-20T08:49:29.762Z (4 months ago)
- Language: Python
- Homepage:
- Size: 88.9 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
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-passwordRequirements
------------You need to have the following additional Python libraries installed:
- `mechanize `__
- `configobj `__