Thread:Project:Support desk/Undo or delete everything since a certain date/reply (2)

The best way to do such "revert" is to restore a backup from those days ;)

If that's not possible, and the amount of spam is extreme, it may be more easy to just query the database directly to get a list of pages with edits before a given date, then you can export those pages with Special:Export, install the wiki from scratch (new database) and import those pages.

You can get them with this SQL query (note I haven't tested it).

You'll have to translate namespace numbers with the correct namespace name.