Page MenuHomePhabricator

docs: The VitePress sidebar links don't work in most browsers
Closed, ResolvedPublic

Description

As of now the demo site features links like
https://doc.wikimedia.org/codex/main/introduction/getting-started
This is resulting in page not found when clicked via sidebar or directly browsed too with our current server settings.

See for example Safari's behaviour

Event Timeline

Huh, in my experience the sidebar links work, but the markdown links we create when writing docs don't. If you're clicking on actual sidebar links and they aren't working, could you provide a bit more information about how to reproduce that?

Either way we should fix this ASAP 😬

@AnneT Does it work for you on Safari? It seems Chrome is behaving differently than all other browsers here.

Can reproduce on latest Safari. Same issue like y'day sidebar link href points for example to /codex/main/components/text-input and Safari doesn't transform to /codex/main/components/text-input.html.

More details on what I'm experiencing:

  • Trying to directly visit a link missing .html e.g. pasting https://doc.wikimedia.org/codex/main/introduction/getting-started into the address bar, results in a 404 in Chrome, Firefox, and Safari
  • Visiting https://doc.wikimedia.org/codex/main then navigating the site by clicking links in the sidebar works for me in Chrome, Firefox, and Safari (mobile and desktop)
  • Links in the text, e.g. the link to the Getting Started page on https://doc.wikimedia.org/codex/main/, are flat out wrong so they won't work anywhere

I'm not seeing different behavior between browsers, though.

Server settings related, such URL results also in fun: https://doc.wikimedia.org/codex/main/icons/
Storing this here for a moment.

egardner claimed this task.
egardner subscribed.

Closing this as everything seems to be working properly now, including in Safari.