Page MenuHomePhabricator

'Add image' claims '1 image' was added, only dummy change saved
Closed, DuplicatePublicBUG REPORT

Description

https://cs.wikipedia.org/w/index.php?title=Neutronov%C3%A1_bomba&diff=prev&oldid=22918378
The edit summary says "Added 1 image.", but no image was actually added.

Not sure what happened:

  • User chose to add an image, but it was not added - bug.
  • User chose not to add an image - bug (the edit summary is wrong).

Similar to T333673: 'Add links' saves 0 links, makes a dummy edit.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

User chose not to add an image - bug (the edit summary is wrong).

Very likely that. The wrong edit summary is a known bug (since it's not supposed to save the page when the user doesn't add an image, we didn't bother to set the edit summary appropriately - we should probably fix that).

T340235: Section-level images: Check for dirty diffs is about the same issue for section-level images.