Personalized posts via username KEYWORD substitution

Is it possible to create a link to a user’s Preferences page (for example) that appears to each logged in user as a link to their own preferences? Some way to have something like

https://meta.discourse.org/users/%24USERNAME/preferences

and have the current user’s USERNAME automatically rewritten so it is the correct link for them to reach their preferences? I’m thinking it would be pretty handy for some howto docs.

1 me gusta

https://meta.discourse.org/my/activity

https://meta.discourse.org/my/preferences

9 Me gusta

Awesome, thanks very much!

And:

https://meta.discourse.org/my/messages

5 Me gusta