]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/discussion_removal.mdwn
minor formatting tweaks
[ikiwiki.git] / doc / bugs / discussion_removal.mdwn
index af3c6c1cb1526b2c93f52f1043be60040ce8f4a7..6da35f37ba80e6937ed004bfb0b2143cf40fdb5f 100644 (file)
@@ -1,3 +1,16 @@
 If a page has a discussion page, which is then removed, ikiwiki seems not
 to notice that the discussion page has gone away, and does not update the
 link to it in the action bar.
 If a page has a discussion page, which is then removed, ikiwiki seems not
 to notice that the discussion page has gone away, and does not update the
 link to it in the action bar.
+
+> Reprocued with 2.5 --[[Joey]]
+
+Looks to me like loadindex is populating %destsources with information
+that the old discussion page exists, which isn't invalidated when ikiwiki
+discovers that the page is gone. This leaves dangling links whenever *any*
+page is deleted, not just a discussion page. --Ethan
+
+Here's a patch that trawls through %destsources deleting pages when they
+are found to be deleted. It's a little inelegant, but it's simple and it 
+works. --Ethan
+
+Thankyou for the [[patch]]! [[Done]]. --[[Joey]]