Thread
Forum » Help / Managing the site » How to delete many pages at once?
Started by: Bas Braams Bas Braams
Date: 11 Jan 2021 20:43
Number of posts: 3
rss icon RSS: New posts
Summary:
Is there some convenient way for me to delete about 4000 pages from my site? The pages are all in the same category and they are all the pages in that category.
How to delete many pages at once?
Bas Braams Bas Braams 11 Jan 2021 20:43

Using the API I created about 4000 pages using the pages.save_one method described in the docs, https://www.wikidot.com/doc:api. They are all in the same category and they are all the pages in that category. Now I want to delete those pages. Is there a convenient way, either through the API again or through the web interface directly on the site?

by Bas Braams Bas Braams , 11 Jan 2021 20:43
Re: How to delete many pages at once?
(account deleted) 12 Jan 2021 00:11

If the mass deletion tool still works, that's a great option.

http://community.wikidot.com/blog:wikidot-extension-mass-delete-tool-and-more

by (account deleted), 12 Jan 2021 00:11
Re: How to delete many pages at once?
Bas Braams Bas Braams 12 Jan 2021 05:25

Thank you Ed Johnson for this valuable pointer. For the moment I have covered my needs through a mass rename, which was possible through the API. But when I have the need in the future for the deletion tool then I will report back.
… Come to think of it, is there a way to delete just a single file through the API? I did not find a way, but maybe (I think now) there is some rename operation that has the effect of a delete… like renaming a file to belong to a category "deleted"; something like that.

Last edited on 12 Jan 2021 05:40 by Bas Braams
by Bas Braams Bas Braams , 12 Jan 2021 05:25
/forum/t-13974730/how-to-delete-many-pages-at-once#post-