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?

4

1 に答える 1

14

deleteArchivedRevisions.phpという名前のメンテナンス スクリプトを実行します。

通常、MediaWiki メンテナンス スクリプトを実行するには、MediaWiki を実行しているサーバーへのシェル アクセスが必要であることに注意してください。それがない場合 (一部の安価な共有ホスティング セットアップの場合)、代わりにMaintenanceShell 拡張機能を使用してみてください。

于 2013-04-08T15:37:07.383 に答える