It's a feature a lot of people have asked for. There are basic problems with it. Pages that link to a deleted page will just revert to having the QuestionMark? after it, and the link could be redefined again.
Maybe it's not that big a problem But the page would have to be deleted from the page table/DBM file, and from the supporting tables too. It's just not a feature I've placed a priority on, but it is on the to-do list.
sw
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know this is a topic that other Wiki implementations have had problems with, but what is the chance of pruning orphaned pages from the database?
I know that complete pruning will lose deep-linking from outside, but it may be useful on a large-scale Wiki.
Just an errant thought.
It's a feature a lot of people have asked for. There are basic problems with it. Pages that link to a deleted page will just revert to having the QuestionMark? after it, and the link could be redefined again.
Maybe it's not that big a problem But the page would have to be deleted from the page table/DBM file, and from the supporting tables too. It's just not a feature I've placed a priority on, but it is on the to-do list.
sw
If you use the latest phpwiki version (CVS or soon to come 1.1.8) and mySQL you can find orphans like this:
select pagename from wiki left join wikilinks on pagename=topage where topage is NULL;
/Arno