aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/discussion_removal.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/discussion_removal.mdwn')
-rw-r--r--doc/bugs/discussion_removal.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/bugs/discussion_removal.mdwn b/doc/bugs/discussion_removal.mdwn
new file mode 100644
index 000000000..6da35f37b
--- /dev/null
+++ b/doc/bugs/discussion_removal.mdwn
@@ -0,0 +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.
+
+> 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]]