guettli I want to clean up our dokuwiki. During the last ten years I created and edited a lot of pages. I want to clean up all pages which were not touched since three years. I guess a lot of them can get deleted. But I am not the only user. I only want to work on the pages where I did create the most content. How would you do this? Are there any tools which could help me to do this?
virk My suggestion would be: Once you find a page you want to delete, delete it. Do not try to automate the process.
guettli Hi Virk. thank you for your reply. I did what you said since ten years. If I saw old stuff I cleaned up. Either I deleted my old stuff or I wrote to the author. But now it is different: I am leaving. I will work for a new company in six weeks. I would like to delete now, since it is much easier for me to decide what is old and what not.
virk I have our wiki running here on our own server. If I had your "problem" I would try to directly look at the server's data directory and find all the files which were not changed within the last 3 years. These perhaps could then be deleted, but links in the wiki will then point to non-existing pages. Secondarily you will need to re-index your wiki. How many pages (roughly) are we talking about?
guettli Thank you for your hint. I could find the matching files via the operating system. Then delete the pages via wiki-gui and then I can see if the pages still gets references somewhere. The number of page .. I don't know. Maybe 60.
stararmy If each page you made has a link to your user page on the wiki (if you use user pages) then maybe you could go through the list of backlinks to your user page.
ach I'd also find this feature very useful, although for different reasons. I'm sure you could do something sophisticated with the changelog. At the very least you could search for your username in those files.
guettli I wrote a little python script which reads the ".changes" files in the meta-directory. I made it available here: https://github.com/tbz-pariv/find_old_pages_in_dokuwiki Feedback is welcome.