What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 122 Stack Exchange communities.

I'm very often in the situation of having to link to another post (mostly questions) from comments. As moderator of TeX SE, I often link to related or duplicate questions. I can't use the "close as duplicate" feature to add such links automatically because of my moderator status, as long as I don't want to close the question immediately.

Now, I find it good style to have the link in the form of [post title](http://posturl), not just http://posturl. A comment like "Related question: Foo baz bar" is simply more readable and informative than "Related question: http://xyz.stackexchange.com/q/1235/6789". Unfortunately, pasting the URL into the comment doesn't convert it to this format automatically, as is done for questions and answers. Such a feature request for comments has already been declined.

At the moment, I manually mark and copy the question title to the URL bar of my browser and add the required [ ] and ( ) (and with the new Firefox version also the http:// :-( ) and then copy the whole thing to the other question.

I'd like to suggest the following feature: In addition to the existing 'share' button below every post, there could be another one which instead provides the required format [post title](http://posturl). This way a question can be linked to quickly from a comment or as part of a chat message. Answer posts can have the same button which could either still use the question title (but answer URL) or add a "Answer to " or similar in front of the title.

This feature should be easy to implement (maybe as a greasemonkey script) while avoiding the drawbacks of an automated conversion mentioned in the accepted answer of the above linked feature-request.

share|improve this question
1  
    
Suggestion: Could be labelled "StackExchange" link (or similar), and be based only on the post (and not the user, since there is no count of user referrals to a post from within the SE network) –  Jim Mar 22 '12 at 15:34
1  
possible duplicate of Userscript to auto-replace SOFU links in comments? –  kiamlaluno Mar 22 '12 at 15:34
    
@kiamlaluno: I'm actually not asking about an userscript but about a new native feature of the website. An userscript however would be an acceptable makeshift solution if this feature-request gets declined, but there is no reason IMHO to close it as duplicate. –  Martin Scharrer Mar 22 '12 at 15:37
1  
In your question you say, "maybe also as greasemonkey script." –  kiamlaluno Mar 22 '12 at 15:58
    
Yes, please, copy & paste on mobile is driving me nuts! (Yes, that would imply that mobile would get such links too. These are missing right now; quite annoying, I'd say. Any link to start with would be an improvement.) –  Arjan Jul 27 '12 at 18:48
add comment

1 Answer

up vote 3 down vote accepted

You mention:

I'm very often in the situation that I have to link to another post (mostly questions) from a comment. As moderator of http://tex.stackexchange.com I often link to related or duplicate questions

As a fellow moderator, I understand your position completely! Mods use the site a lot, and perform many repetitive tasks on it. Most mods would happily trade a little higher complexity and clutter on the site for more features that make their job easier:

enter image description here

However, most new users don't want to see a dozen links cluttering up the bottom of each post. They wouldn't use these links often enough to make the learning curve worthwhile, and would prefer that the interface be cleaner, like this:

enter image description here

Moderators are an extreme minority on the network, it would be silly to make everyone use Visual Studio when what all the normal users wanted was Notepad. Userscripts are a great bridge between these two positions.

This problem actually has two userscript solutions:

and both are described in this question proposed as a duplicate by Kiamlaluno.

Basically, as a mod, get used to Userscripts. There are a lot of helpful scripts on Stack Apps, a few that I like (as a mod) are:

share|improve this answer
    
Clever analogy, but isn't it usually the expert and experienced code ninjas that use plain text editors, rather than bloated and full-featured IDEs? :-) –  Cody Gray Mar 23 '12 at 2:27
1  
@CodyGray - Yes, but those text editors have even more tools than Visual Studio or Eclipse: You just have to type them instead of click them. But that wouldn't make for a good analogy, now would it? –  Kevin Vermeer Mar 23 '12 at 2:51
    
Thanks, I started to use the mentioned scripts, which do the job well enough! –  Martin Scharrer Apr 13 '12 at 21:34
1  
I now improved the mentioned script Copy Question Link Markdown - Making it easier to copy links to questions! to better suit my needs. This is now exact what I wanted. Having it as userscript is fine. Thanks again for your answer. –  Martin Scharrer Apr 14 '12 at 13:02
    
But then, @Martin, how to run that in mobile Safari, Chrome, Firefox...? –  Arjan Jul 27 '12 at 18:49
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .