Wikilinks not updated on file rename when part of a Dataview query

Steps to reproduce

  1. Create a Dataview query where a wikilink to an existing file is part of the query.

  1. Rename the linked file.

When doing so, I expect the wikilink to be updated.

Did you follow the troubleshooting guide? [Y/N]


Expected result

Having the file name in the query updated. Like so:

Actual result

See second screenshot above.

That’s because Links inside a code block or an equation are not recognized as links by Obsidian’s parser in the first place, I think. This behavior is helpful almost everywhere, but there are some exceptions like this one.

1 Like