Page MenuHomePhabricator

Tapping on a page's first edit on the watchlist produces a 404 error message
Closed, ResolvedPublicBUG REPORT

Description

Steps to reproduce

  1. Create a new page and put it on your watchlist. Do not edit it again afterwards.
  2. In the Android app, navigate to your watchlist and tap on the entry for your new page.

Expected results

A sensible representation of the initial edit to the page is displayed, for example:

  • an all-green diff (i.e., a diff with only additions, the way Git shows diffs for new files), or
  • a message indicating how there is no diff to show for the page's initial edit (e.g., "User John Doe created the page").

Actual results

A diff view briefly flashes on the screen, but gets immediately replaced by the following error message:

image.png (2×1 px, 270 KB)

Environments observed

App version: 2.7.50399-r-2022-04-04
Android OS versions: 9
Device model: Huawei Honor 7x (BND-721)
Device language: German

Event Timeline

Hey @MattCleinman , I recall you saying you'd share possible ways we could address this that is low effort for you all, so we are not going to touch this til we have that insight

@scblr I'm not sure I understand how this would help this situation - doesn't that link compare two versions, and this situation is talking about when there is only one version of the page?

A couple solutions, if we're trying to fix this without getting too elegant:

  1. A very simple solution would be to just pop a dialog box and say "first revision" or something similar.
  2. Another option would be to just go to the actual article.

Both would be fairly easy to implement (I believe), if we're looking for a solution that is "better than a 404 error yet very simple to do".

@MattCleinman

I'm not sure I understand how this would help this situation - doesn't that link compare two versions, and this situation is talking about when there is only one version of the page?

I was thinking about something like this for the first revision:

first-revision.png (1×720 px, 178 KB)

Compared to nothing, everything is an addition. It’d reuse the existing interface.

Let’s discuss in planning, ok?

For simplicity, we're going to go with a top half of the screen, but instead of green text we say something like "The first edit of [article name]".

@scblr @JTannerWMF I've found a way™ to show a "diff" of the initial revision. However, the rest of the screen needs to have the same structure as before, like this:

Screenshot_20220601_145904.png (2×1 px, 197 KB)

How's that?

@Dbrant Maybe you're already doing that, but just in case: I think the "Undo" button should also be greyed out/hidden, since you can't exactly revert a page creation. Other than that, I think this looks very good.