Topic on Project:Support desk

deleteOldRevisions.php for subpages or namespaces

1
12.152.106.131 (talkcontribs)

I understand that I can delete all of my old revisions using php maintenance/deleteOldRevisions.php --delete or I could delete individual old page revisions using php maintenance/deleteOldRevisions.php --delete 1 2 15 38, but is it possible to delete old page revisions for an individual page to include all of its subpages? If not, is there an automated way to get all the ids for the subpages under a specific page?

Also, is there a way to delete all old page revisions for a specific namespace?

Reply to "deleteOldRevisions.php for subpages or namespaces"