3

I understand that Community is a bot that does some cleaning and some organising jobs here and there. I've read this revision. I've always been told that you should always use permalink (share link) to refer to other post as URL could change.

Should the Community bot replace link with title and permalink instead of just title?

Or do I miss something?


I may have explained incorrectly. I though everyone should use link in the permalink form:

https://meta.stackoverflow.com/q/367995/1195001

Community edit not using best practice
and not links in the URL:

https://meta.stackoverflow.com/questions/367995/community-edit-not-using-best-practice

Community edit not using best practice
I don't care that much about https in this case, only the type of link that should be used on Stack Overflow.

6
  • Links to questions are automagically expanded. Community did the right thing there. No need for the edit
    – rene
    Commented May 16, 2018 at 10:23
  • @rene OK my bad. it seems odd to me that such an obvious bug was there.
    – Kiwy
    Commented May 16, 2018 at 10:24
  • 2
    This edit is part of a one time batch job converting all http links to https. I don't think it involved anything other than adding the letter s.
    – user2285236
    Commented May 16, 2018 at 10:32
  • 3
    Not a duplicate of the HTTPS/HTTPS links question.
    – Kiwy
    Commented May 16, 2018 at 11:47
  • 2
    I've always been told that you should always use permalink (share link) to refer to other post as url could change. I've never heard that statement. Could you explain where you learned of this "best practice" Commented May 16, 2018 at 12:34
  • @psubsee2003 while using stackexchange site a bit of here and there that something I've read several time I now know it's incorrect
    – Kiwy
    Commented May 16, 2018 at 12:41

1 Answer 1

5

The side-by-side markdown view of the edit makes what was changed clearer - it was only http => https, nothing else (as per the move to HTTPS).

Raw URLs of Stack Exchange questions (on the same site) are automatically converted to the title.

https://meta.stackoverflow.com/questions/367995/community-edit-not-using-best-practice
https://meta.stackoverflow.com/q/367995/1711796

Displays as:

Community edit not using best practice
Community edit not using best practice

The reason the display changed from a URL to a title is because the URL to title conversion only happens during editing - if the post managed to be saved with an unconverted raw URL, it will remain so until it's edited. I'm not sure why the initial post didn't convert the raw URL to a title though (this feature has existed since before the answer was posted).

See also: Replace trilogy raw links with the current question title?


Also, while post URLs change with the title, that doesn't invalidate any URLs since Stack Exchange ignores the title / last part of the URL.

https://meta.stackoverflow.com/questions/367995/it-doesnt-matter-what-i-write-here

Still links to this post, even though the title doesn't match.

You must log in to answer this question.

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