Before I get into this, I want to mention that I was going to try duplicating this on try.discourse, but it appears to be offline. Since I didn’t want to pollute things experimenting here, I’m just presenting what I found at WTDWTF.
Ok, basic description. Generally when quoting a post by using a link, you get pretty reliable results. However, when I have been trying to quote posts from here over at WTDWTF, I’ve been getting 1 of 2 results:
The topic ID and post number are parsed from the link, and then the relevant post from WTDWTF is wuoted instead of the post from here. [Example]
The link is left bare. Base on experimentation, it appears that this is because the corresponding topic at WTDWTF is restricted access, or the corresponding post does not exist. [Example]
Let’s see what happens here when I try to link to the corresponding bug report at WTDWTF:
It seems that if the parser sees anything that resembles a discourse link, it just assumes that it is for the local instance. It just grabs the topic ID and post number and ignores the rest. For example, this won’t resolve at all: https://chicken/t/pox/26672/2. But if you put it in a post for onebox quoting: