Look at the RecentChanges page; click on the "i" icon; click revert to the previous version of the file.
If you have access to the server, do the following:
% cd wiki/data % grep -lr "<spam word>" * > spamlist % vi spamlist
Remove the bad files found in data/pages/<PAGE>/revisions
Set current to the last good page data/<PAGE>/current
- Remove offending lines in data/edit-log
Remove offending lines in data/pages/<PAGE>/edit-log
Remove directory data/pages/<PAGE>/cache
