1

I have deleted tens of thousands of spam pages in a MediaWiki instance painstakingly. Now I realize the old versions of those pages still occupy database space and present a kind of garbage in the MediaWiki. How to efficiently delete those old versions?

1 Answer 1

2

I presume, deleted articles have now a status archived, because if article is deleted by admin, it s removed into archive db-table.

This solution is for real admins:

  • Read firstly this manual.
  • Then prepare and run this maintenance script.

This solution is for bloody rookies:

  • Go into the database with your db-manager of choice,
  • mark all items in the archive table and delete them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.