bellroy / lesswrong

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

Relative pathing for links within articles #528

Open frediy opened 9 years ago

frediy commented 9 years ago

From robingan...@gmail.com on June 12, 2014 04:36:01

What steps will reproduce the problem? 1.Visit www.lesswrong.com/top 2.Click on a link that links to within the article (for the current top, there are four links that say More

  1. Observe that you don't go anywhere

What is the expected output? What do you see instead? I would expect to go to the appropriate section of the article What version of which web browser are you using? On what operating system? Doesn't matter Please provide any additional information below. I believe this bug is due to using relative pathing for an article, and not updating the pathing when the article appears in other parts of the site.

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

frediy commented 9 years ago

From wjmo...@gmail.com on June 11, 2014 17:07:57

Hi Robin,

Thanks for the bug report. I'm trying to reproduce the issue but I'm having following what you mean by, "Click on a link that links to within the article". Can you give me a little more detail.

Wes

frediy commented 9 years ago

From robingan...@gmail.com on June 11, 2014 20:08:21

If you go to http://lesswrong.com/top and http://lesswrong.com/lw/cbs/thoughts_on_the_singularity_institute_si/ you will see the same article at the top of the page.

If you click on the first link with text More, you get two results depending on which page you're on. If it's on http://lesswrong.com/top nothing happens. If it's on http://lesswrong.com/lw/cbs/thoughts_on_the_singularity_institute_si/ you go to the correct part of the page ( http://lesswrong.com/lw/cbs/thoughts_on_the_singularity_institute_si/ ( http://lesswrong.com/lw/cbs/thoughts_on_the_singularity_institute_si/#Arguments )

I believe this behavior is found on all pages on /top because the urls aren't being copied.