New wikilinks created with alias, get renamed on filename changed

Steps to reproduce

In sandbox vault, if I were to create a new undefined wiki link say [[new note|new note]] in any note, I would see the note as light coloured link. On clicking the link, I would be presented a new file named new note.

If I were to now rename this file from new note to not so new note, the wiki link changes to [[not so new note|not so new note]]

Did you follow the troubleshooting guide? Yes

Expected result

I expect the renamed wiki link to be stored as [[not so new note|new note]], as the alias need not change if the linked filename has changed. The alias was put for a reason, and it should not be changing on the how actions are performed on the linked filename.

Actual result

the renamed file got updated into wiki link as [[not so new note|not so new note]]

Environment

SYSTEM INFO:
Obsidian version: v1.4.12
Installer version: v1.4.5
Operating system: Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:52 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8103 22.6.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

1 Like

This behavior is by design since some users use an alias to remove the folder name when showing a note link. Is there any reason you’re hoping to keep the alias unchanged?

Open a FR for this and add your motivations there. Moved to help for now.

I am not aware how the folder name is removed using alias.

When writing my freeform thoughts, or making notes, I always create placeholder for future links, when I deem that I would need to create a detailed note based on a subtext.

An example text I wrote few days ago for myself, when I started jotting down my thoughts. I have started using Obsidian for notes recently and wanted to write down my history of thinking/task Mgmt. While writing this text I discovered some of things I had forgotten I used to do, and record them but not expand these links on their separate notes now, but will later.

I used to follow [[GTD]] methodology many years ago, of which [[Inbox Zero]] was one approach ( do you remember your clever [[Outlook Setup]] like Lotus Notes?). There wasn't any [[PKM]] you followed hence the creeping of some research related tasks in your [[Task Management]]. Recently you discovered [[Zettelkasten]] which is an excellent method to organise and make your thinking connected and meaningful.

Here all the wikilinks are undefined, viz, the files/links do not exist. I am not looking to fill up those links, yet, maybe when I have gathered all my related thoughts.

While I make notes over next few days, I will be referencing some of these links again, in uncreated form, and when I find time or the need to expand on any of these or the momentum of thoughts requiring that the uncreated notes come to life, I will just click one, rename it as per my nomenclature.

If I have lots of uncreated note references littered around in my written down thoughts, I have to go back and edit those links, to recreate the alias. As an example, the [[GTD]] link will be renamed using the nomenclature: ‘YYYYMMDD.HHmm Title’, with title being more descriptive (I want to look at list of notes and the title telling me what could lie in my note and help me choose to click this one than other related notes)

So now, the text I wrote would be seen as :
=> I used to follow GTD methodology (visual with GTD coloured as its wiki link)
=> I used to follow 20230914.1411 Getting Things Done methodology (not a good way to read my own thoughts at a future date, not to mention additional overhead of changing the link back to alias everywhere GTD was referenced)

the wikilinks will remain as they are in the text above, however underlying files will change as following:
[[GTD]] YYYYMMDD.HHmm Getting Things Done
[[Outlook Setup]] YYYYMMDD.HHmm Outlook configuration only for windows when working at as PM.

The title I have come up with now, but could be different. In fact for some of css snippets I have stored, are following different nomenclature => snippet.css.SnippetName/Purpose.

I have two ways to anchor my alias:
[[Method 1]]
[[Method 2|Method 2]]
[[existing note|Alias 1]]

Method 1 => rightly gets renamed if I were to rename the link on creation, as there is no way to ascertain if I wanted to anchor my link with an alias.

Method 2 => allows me to rename the underlying linked file, without worrying about alias getting changed.

Alias 1 => If there a file which already exists, and is linked with an alias, will the alias change if the filename is renamed? No. Then why should the alias change for an uncreated file/link? The expected behaviour of introducing alias in a link is to mask the link, and this behaviour, in my view, is independent of the status of the link (in between already existing link/uncreated link)

Or maybe, there is a method available which frees me from inserting unwanted filenames inadvertently in the notes where I intended to use the alias?