If a page has DT Links as well as WikiLinks and the action ‘Convert to WikiLinks to Item Links’ is carried out, all WikiLinks are converted (which is what is desired) but so too are all the Item Links that are also on the page.
You may ask, how are Item Links converted to Item Links, too?
The text related to the Item Link (the bit in the square brackets) is reset to the original filename, regardless of whatever text is placed in the square brackets.
Example:
If we have the file burgermenu.md
And we write:
[Here is where you can get a menu] (DT link)
After that action (Convert WikiLinks to Item Links) it becomes:
[Burgermenu.md] (DT link)
Even though I just wanted only WikiLinks to be updated.
Can someone else reproduce this?
Is this how the feature is designed to work? If so, I can imagine a lot of sentences suddenly looking strange after the action is applied.
Thanks! I can’t reproduce this so far. The raw Markdown source before/after the conversion would be useful. In addition, does burgermenu.md have any aliases?
The command is Tools > Item Links > Update Names of Item Links, not WikiLinks.
In your mind, it’s part of a sentence. To an application, it’s parsed phrases that match criteria and it has been asked to update those words, which it has done.
I got you. I was misunderstanding that. So, I guess it is best to avoid using this action if you have a number of sentences that have DT Links because they will all change to their file names once applied.
I would like to suggest an enhancement for the future:
A new action that is applied to the file whose name has change and then all occurrences of the file in the database are updated to the new name. It would be even better if Devonthink did this automatically.
Correct me if I am wrong, but the way it currently works you have to search for pages that use that link then apply the action ‘Update Names of Item Links’ to each file. For some I think this might work because it gives them control on a per file basis, but others would like to see the update just happen.