How to permanently delete a page from a MediaWiki wiki?
Asked Answered
A

1

13

I administer a MediaWiki wiki that has been hit by a ton of spam. I've managed to get rid of the spam pages that have been added to the wiki by using an extension, but the pages' data is still present in the wiki's MySQL database. This is bloating the database to over 3GB.

Is there a way to permanently delete the spam pages from the wiki, so that they are completely removed from the database?

Always answered 8/4, 2013 at 3:47 Comment(0)
H
13

Run the maintenance script named deleteArchivedRevisions.php.

Note that running MediaWiki maintenance scripts normally requires shell access to the server you're running MediaWiki on. If you don't have that (which might be the case on some cheap shared hosting setups), you can try using the MaintenanceShell extension instead.

Hispania answered 8/4, 2013 at 15:37 Comment(1)
I second this answer. I've used this one before.Raptorial

© 2022 - 2024 — McMap. All rights reserved.