[Mediawiki-l] Running the deleteOldRevisions.php script

Rotem Liss rotemliss_net at fastmail.fm
Thu Oct 12 16:57:48 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Morris wrote:
> Hi guys,
> 
> This is my first post, so please be gentle if I'm in the wrong place. 
> 
> I just want to delete the article history log for my new wiki - all the changes I've made so far have been tests, random comments, etc. Can I get rid of the history before going live? 
> 
> I've tried running the deleteOldRevisions.php script (that sounds right) and it seemed to work...
> 
> :~> php /usr/home/sites/aboutnlp.com/maintenance/deleteOldRevisions.php
> Delete Old Revisions
> 
> Searching for active revisions...done.
> Searching for inactive revisions...done.
> 345 old revisions found.
> 
> ... but the history is still showing for all articles.
> 
> I've put the correct username/password in AdminSettings.php.
> 
> Have I missed something? Or is there another way?
> 
> All help welcome.
> 
> Chris
> 

I think you have to append the parameter "--delete" to the command to perform
the deletion.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLnQMqahN/0dU8mcRAg34AJ9aV9wmIBIXb8WJ56RA16npfeJHCwCgliYx
vQlJWw+9Z/P3KrhLcUnB8zA=
=71N+
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list