Menu

Pruning orphaned pages

2000-09-15
2012-10-11
  • Mark L. Chang

    Mark L. Chang - 2000-09-15

    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.

     
    • Steve Wainstead

      Steve Wainstead - 2000-09-16

      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

       
    • Arno Hollosi

      Arno Hollosi - 2000-10-22

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.