Mobile app version of vmapp.org
Login or Join
BetL925

: In MediaWiki, how to permanently delete old versions of deleted pages? I have deleted tens of thousands of spam pages in a MediaWiki instance painstakingly. Now I realize the old versions of

@BetL925

Posted in: #Mediawiki

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @BetL925

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bryan171

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme