In questions, links get converted into question titles (see Replace trilogy raw links with the current question title?)
Can the same functionality be added to comments?
In questions, links get converted into question titles (see Replace trilogy raw links with the current question title?)
Can the same functionality be added to comments?
This would be especially useful on mobile devices, where:
Cutting and pasting the title of a question and then its URL is a huge pain, because it involves switching back and forth between the comment page and the page with the question to be linked, without the aid of windows or tabs.
Have you ever tried editing Markdown on a mobile device? Moving the cursor and selecting bracket characters is not fun. And better get it right the first time, because clicking the edit button afterwards is even harder.
Userscripts aren't available on mobile.
As for Jeff's objections why it can't be done:
"Comments are processed on the fly." Look up the title once and add the Markdown that we would otherwise have to type manually. (If that ends up making the comment too long, there are lots of ways to handle it, the simplest of which is to only do the conversion when it will fit.)
"If you want this, put your links in a post, where it is already supported." That's not a very good reason. You're basically arguing that we shouldn't even have comments.
As a fast workaround, you can easily convert the question to a link by those steps:
Example URL:
https://meta.stackexchange.com/questions/148999/cross-site-question-parsing-for-question-urls-in-comments
cross-site-question-parsing-for-question-urls-in-comments
that is not needed in the post. )
[
Ctrl+v](
this will look like this:
cross-site-question-parsing-for-question-urls-in-comments
whis is quite satisfying in a comment, and close to
Cross-site question parsing for question URLs in comments
I don't think full titles are all that useful in most cases.
We already have [site.SE]
as a short-hand for a link to http://site.stackexchange.com
(and the SOFU exceptions, of course). Therefore, I think a useful middle ground would be [site.SE/(q|a)/ID]
which would become [site.SE/ID](http://site.stackexchange.com/(q|a)/ID)
.
As an alternative (or in addition), translate [text](site.SE/(q|a)/ID)
to [text](http://site.stackexchange.com/(q|a)/ID)
.
No, because comments are processed on the fly. This means a page with 12 links would incur 12 additional database queries -- every time the page is loaded.
Comments are meant to be lightweight. If you want this, put your links in a post, where it is already supported.
!
in front of the link as a sign that you want it converted. This would be really helpful