bellroy / lesswrong

Less Wrong platform
http://lesswrong.org/
Other
45 stars 23 forks source link

Some links to Discussion posts are rendered as if they are links to Main #531

Open frediy opened 9 years ago

frediy commented 9 years ago

From robot...@gmail.com on July 09, 2014 21:02:53

On LW, posts have global IDs unique across subreddits and can be accessed by links seemingly to other subreddits. In some places of the interface, links to Discussion posts are rendered in the form appropriate for Main ( issue #433 ).

For example, this post with ID kh2 is in Discussion: ( http://lesswrong.com/r/discussion/lw/kh2/change_contexts_to_improve_arguments/ ). A wrong link generated for it in some places is ( http://lesswrong.com/lw/kh2/change_contexts_to_improve_arguments/ ). When accessing the post through that incorrect link, it appears as if the post is in Main: there is no redirect (the URL remains incorrect), the sidebar is from Main and lists posts in Main in its "Recent Posts" section, etc.

This is a somewhat separate issue from the fact that incorrect links are produced at all ( issue #433 ), in that people manually include these incorrect links in comments and comments when linking to posts, and these will remain in the archive, so even if the interface stops producing incorrect links, their behavior should still be fixed to redirect to the right subreddit.

Original issue: http://code.google.com/p/lesswrong/issues/detail?id=434