Page MenuHomePhabricator

Flagged Revisions doesn't mark as reviewed the latest version after Visual Editor edit
Open, MediumPublic8 Estimated Story Points

Description

Flagged Revisions doesn't mark as reviewed an edit (to unreviewed page) made using Visual Editor if the page hasn't been updated after the edit.

How to reproduce:

  1. go to some article that hasn't been reviewed yet
  2. make an edit to the article using Visual Editor
  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


Version: unspecified
Severity: normal

Details

Reference
bz73171

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:59 AM
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...