Page MenuHomePhabricator

Support article redirects
Closed, ResolvedPublicBUG REPORT

Description

When articles are moved, a redirect is often left from the old to the new location. It is possible to have a link in an article that points to an article's former location.

The app needs to follow those redirects seamlessly.

Following APIs redirect responses should happen automatically (unless CORS prevents it) but the new page title received from the API also needs to be propagated in the application (maybe also replaced in the history)

Event Timeline

SBisson changed the subtype of this task from "Task" to "Bug Report".Jan 13 2020, 2:06 PM
SBisson renamed this task from Detect redirect 304 page to Support article redirects.Jan 13 2020, 7:15 PM
SBisson updated the task description. (Show Details)

I think I have found something related to this:

  1. Switched to Polish language globally
  2. On the search screen started searching for "Tupo"
  3. then selected entry called "Tupolew Tu-154"
  4. and pushed the center button "WYBIERZ" (select)
  5. Tu-154 article loads (I am redirected correctly)
  6. Pressed left button ("Menu")
  7. Picked "Language" from the "Article Menu"
  8. A message appears "Loading..."
  9. The app is stuck and needs to be killed

I understand the app is at the early development stage - what is the best way to report issues? Shall I take some notes and publish them somewhere for review or post issues to Github or ... ?

@saper Thanks for reporting this issue. I think what you are seeing is a direct consequence of this issue: the correct (redirected) title is not propagated to other API calls.

Posting here in phab is the best way to report issues. Finding the right task and commenting on it is great but creating a new task is also OK and we'll triage it.

The previous case found when article preview, here's one example on the search page

  1. search for fassale
  2. scroll down to the last item Fässler, Marcel
  3. read the article
  4. it should redirect to the canonical title Marcel_Fässler, but currently it doesn't

The previous case found when article preview, here's one example on the search page

  1. search for fassale
  2. scroll down to the last item Fässler, Marcel
  3. read the article
  4. it should redirect to the canonical title Marcel_Fässler, but currently it doesn't

It does redirect correctly for me on the device. It's probably due to the XHR change.