From time to time, I make lots of changes into the mediawiki. How can I delete the unwanted history of a page?
Start the command line, and go to the maintenance directory of the mediawiki installation. Finally, enter the following command:
# php deleteOldRevisions.php --delete
Note: You have to have php5 installed, in order to execute this command. Depending on your system configuration, on Dreamhost, it is /usr/local/dh/cgi-system/php5.cgi instead.
2 comments:
HA Thanks, exactly what I needed! I was already on the edge of starting to code when I found this post.
Thanks! exactly what I needed. I was already on the edge of starting to code.
Post a Comment