Automatically delete all links to a deleted page

As far as I see, when a page is deleted, the existing [[links]] to that deleted page still exist in other pages.
Can someone please confirm that this is the case?
Thanks

This is normal behavior, and it makes perfect sense for it to be so. However, it can also make sense in specific cases as I imagine is the case.

Considering that when you delete a page your in effect telling the system you don’t care about that keyword it should give you the option to remove links else the page will keep returning.

I’n my use case I usually merge the page to something else that’s more fitting to get rid of a keyword, but if you really do need to get rid of a word you could use something like sed or vscode to do a find replace for [[pagename]] and replace with pagename.

Example on how I use sed to remove example page links and replace with just the text, I run this in pages and journals directory.

sed -i 's/\[\[example page\]\]/example page/g' *
2 Likes

Considering that when you delete a page your in effect telling the system you don’t care about that keyword it should give you the option to remove links else the page will keep returning.

In my opinion, when I tell the system to delete a page, I’m just telling the system to delete that page, and that’s exactly what I want. No more no less.

However, I do think that it can be useful to have the option to unlink the links that point to a given page when you are about to delete it. Although that would already be a feature request.

Regarding regex, maybe it would be good to have a list of the most common cases, maybe in the form of a form, in the configuration form, for example, talking about feature requests