[go: up one dir, main page]

Page MenuHomePhabricator

When the user visits an Object page without a URL set explicitly in their URL, re-write their history to the canonical one
Open, LowPublic

Description

When a user browses to wikifunctions.org/wiki/Z1 they're implicitly seeing wikifunctions.org/view/en/Z1 (and all the links/rel="canonical"s etc. are set as such), but their browser state stays on the implicit URL rather than the explicit one.

Acceptance criteria:

  • Replace URLs, not push URLs; going back one should take the user to their search engine/etc. source of the link
  • Visiting wikifunctions.org/wiki/Z1 replaces the URL with wikifunctions.org/view/en/Z1
  • Visiting wikifunctions.org/wiki/Z1?uselang=es replaces the URL with wikifunctions.org/view/es/Z1
  • Visiting wikifunctions.org/wiki/Z1?action=edit replaces the URL with wikifunctions.org/wiki/Z1?action=edit&uselang=en
  • Visiting wikifunctions.org/wiki/Z1?action=history replaces the URL with wikifunctions.org/wiki/Z1?action=history&uselang=en