Page MenuHomePhabricator

Live diff doesn't show current content if the page was created after editing started
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Enable live preview
  • Open the editing page of the same nonexistent page in two tabs
  • In one tab, enter something and save the page
  • In the other tab, click "Show changes"

What happens?:
The "Latest revision" pane is empty, as if the page doesn't exist.

What should have happened instead?:
The diff is actually between the current content of the page and the text in the textbox.

Other information:
AFAICR it used to work as expected. I believe this is a regression.

Event Timeline

Change 962109 had a related patch set uploaded (by Nardog; author: Nardog):

[mediawiki/core@master] LivePreview: See if the page exists before requesting diff

https://gerrit.wikimedia.org/r/962109

Change 962109 merged by jenkins-bot:

[mediawiki/core@master] LivePreview: See if the page exists before requesting diff

https://gerrit.wikimedia.org/r/962109

matmarex assigned this task to Nardog.
matmarex subscribed.