6

These two links are almost identical, yet the displays are noticeably different. Why is that?

https://chat.stackoverflow.com/faq

https://chat.stackoverflow.com/faq#

3
  • Ah, what is missing is the #<target> part of your URLs. The page does change behaviour and, above all, style, when you add a target. Reproduced by clicking on the link, then reloading the page. Direct linking should do it too, for example, to the highlighted formatting FAQ entry (so #formatting at the end of the URL).
    – Martijn Pieters Mod
    Commented Jan 26, 2018 at 17:38
  • yes, I wonder why is the black version maintained? There is no side box, no hyperlink for each section, no expansion on all other sections
    – Ooker
    Commented Jan 26, 2018 at 17:43
  • 2
    That's because the page is broken; I'm changing this to a bug report.
    – Martijn Pieters Mod
    Commented Jan 26, 2018 at 17:50

1 Answer 1

7

You are seeing the direct URL linking to section rendering versus the normal visiting the FAQ look.

When you are linked to the formatting FAQ entry from another page, the #formatting hashtag is added, so the URL looks like

https://chat.stackoverflow.com/faq#formatting

which links to the specific formatting section. This renders differently; the section on formatting is put at the top of the page, and the rest of the page lists other information you might want to know about (e.g. the rest of the FAQ).

Without a hash however, you are just taken to the FAQ page, so now there are sections on the right to jump between the various parts.

That said, the page does appear broken when you are in the 'specific section linked' state; the collapse and below links should bring you back to the 'full FAQ' state, but the JavaScript code on the page is b0rken; when I open the JS console I see:

TypeError: e.curCSS is not a function

(on both Firefox and Chrome). This means that the code was written for an older jQuery version; the $.curCSS function was never part of the official API and has since been removed.

9
  • I can't remember how "b0rken" should be spelled :(
    – Ooker
    Commented Jan 26, 2018 at 17:55
  • 3
    @Ooker: It is spelled b0rken, because it is broken.
    – Martijn Pieters Mod
    Commented Jan 26, 2018 at 17:55
  • If I understand correctly the issue is still there (see also). Will the devs still see this question with an accepted answer? Or do they only filter for the bug tag? Commented Mar 13, 2019 at 8:50
  • 1
    @AndrasDeak pretty sure that accepted answers do not remove bug reports from the radar.
    – Martijn Pieters Mod
    Commented Mar 13, 2019 at 8:56
  • b0rken isn't a word. It's b0rked or simply borked (in polite company).
    – daveloyall
    Commented Jul 25, 2019 at 23:59
  • @daveloyall: the internet does not agree. There is even a Wiktionary entry.
    – Martijn Pieters Mod
    Commented Jul 27, 2019 at 13:19
  • @MartijnPieters, the internet does not disagree. (In fact, I see 25k hits vs 19k hits.) Even Wictionary agrees. (One page was created in 2006 and the other in 2016.) Anyway, I was approximately there when the word was minted. ;)
    – daveloyall
    Commented Jul 29, 2019 at 16:48
  • @daveloyall: you do know that I use the term in jest, right? I'm really not all that interested in spelling corrections on that term, to be honest. Both terms are entirely made up, joke variations of "broken".
    – Martijn Pieters Mod
    Commented Jul 29, 2019 at 17:56
  • @MartijnPieters yes of course. :) me too!
    – daveloyall
    Commented Jul 29, 2019 at 20:18

You must log in to answer this question.

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