The discussion revolves around an issue with quoting posts across different Discourse instances using links. anon25879736 explains that when trying to quote a post from one instance (WTDWTF) on another instance, the link is either replaced with a quote from the local instance or left bare. This issue is observed when the topic ID and post number are parsed from the link, and the relevant post from the local instance is quoted instead.
codinghorror suggests that the issue might be related to anonymous users not being able to see bug topics on the other instance, but anon25879736 clarifies that the parser assumes any link resembling a Discourse link is for the local instance, ignoring the rest of the URL.
codinghorror agrees that this is likely a regression, and riking identifies a potential cause and proposes a fix, which is later implemented in a pull request (#3395).
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: