Page MenuHomePhabricator

When making a VisualEditor edit then marking the page as reviewed, the VisualEditor edit does not get marked reviewed
Open, MediumPublic8 Estimated Story PointsBUG REPORT

Description

After editing an unreviewed page using VisualEditor, reviewing the page doesn’t review the just-made edit if the page isn’t reloaded between publishing the edit and pressing review.

How to reproduce:

  1. go to some article that hasn't been reviewed yet
  2. make an edit to the article using Visual Editor. save the edit
  3. review the article
  4. when you look at the article history you can see that the article you marked as reviewed has one unreviewed change (the one you just did using VE)

I tried this at https://test2.wikipedia.org/wiki/Testing_something

Details

Reference
bz73171

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:59 AM
bzimport added a project: FlaggedRevs.
bzimport set Reference to bz73171.
bzimport added a subscriber: Unknown Object (MLST).
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

We're not updating the mw-fr-input-oldid hidden input in the FlaggedRevs page review form when we update the page contents.

But if you try to change it, you get "Invalid inclusion parameter key".
That key is actually a hash of several things (including the oldid): https://github.com/wikimedia/mediawiki-extensions-FlaggedRevs/blob/master/business/RevisionReviewForm.php#L211-L213
We'd need to regenerate it somehow I guess...

If this is still issue, add more details.

Tacsipacsi renamed this task from Flagged Revisions doesn't mark as reviewed the latest version after Visual Editor edit to After a VisualEditor edit, reviewing the page reviews the last-but-one revision.Nov 16 2024, 4:35 PM
Tacsipacsi updated the task description. (Show Details)
Tacsipacsi changed the subtype of this task from "Task" to "Bug Report".
Tacsipacsi subscribed.

I tried to rephrase the description to be easier to understand (I hope I understood it correctly). However, when I tried to reproduce it on test2wiki, I couldn’t – when I opened VisualEditor, the FlaggedRevs interface disappeared, and when I published the edit, it didn’t come back, so there was no button that could have worked incorrectly. Well that’s also a way to fix this bug…

Novem_Linguae renamed this task from After a VisualEditor edit, reviewing the page reviews the last-but-one revision to When making a VisualEditor edit then marking the page as reviewed, the VisualEditor edit does not get marked reviewed.Nov 17 2024, 12:47 AM
Novem_Linguae updated the task description. (Show Details)