X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2210c65083465bf8e515418cf2528e18f7326bc0..c142dba356b757facd6684a99623c58430b7221e:/doc/bugs/discussion_removal.mdwn?ds=sidebyside diff --git a/doc/bugs/discussion_removal.mdwn b/doc/bugs/discussion_removal.mdwn index ef84a9b74..6da35f37b 100644 --- a/doc/bugs/discussion_removal.mdwn +++ b/doc/bugs/discussion_removal.mdwn @@ -3,3 +3,14 @@ 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]]