//Corresponding task from "add a link": {T269657}//
---
After the user presses the "Publish" button from the captions step in T290781, they advance to the edit summary screen.
* **Overall**
** This is a similar experience to the same step in "add a link" (T269657).
** It does not contain any free text field for an edit summary, or checkboxes for "watch this page" or "minor edit".
** Just as it usually does, the header should contain a back arrow to close it on mobile. This leads back to the "captions" step, where the user's caption should still be in place in the caption box.
** Just as it usually does, the header should say, "Save your changes".
* **If the user accepted the image**
** The publish button should say, "Publish" just like it usually does.
** Body
*** Header: "Summary"
*** Below the header is a gray line.
*** Next, on the left side should be the bolded filename with a small image icon. On the right of that row should be a checkmark.
*** Below that should be the image preview.
*** Below that should be the caption.
*** Last is where we put the publishing disclaimer which is unique to each wiki: "By publishing changes, you agree to the..."
** The footer should have a "Review your changes" button. This should open up the visual diff review, just like it usually does.
** After tapping the publish button, the changes should be published to the wiki according to the rules in {T290785}.
** The published edit summary should use the same logic as implemented on {T284078}, and be like, "Image suggestions feature: 1 image added." It should include the edit tag described in {T293166}.
** The page should be automatically added to the user's watchlist (note that the mockups below include the feature described in {T289547}, which is not required for Iteration 1).
* **If the user rejected the image**
** The publish button should say, "Submit".
** Body
*** Header: "Summary"
*** Below the header is a gray line.
*** Next, on the left side should be the bolded filename with a small image icon. On the right of that row should be an "X".
*** Below that should be this text: "The image was rejected."
*** Last is where we put the publishing disclaimer which is unique to each wiki: "By publishing changes, you agree to the..."
** The footer should not have a "Review your changes" button.
** After tapping the submit button, nothing should be published to the wiki, and there should be no edit summary.
** The page should not be automatically added to the user's watchlist.
* No matter what the user has and has not chosen, a log entry gets created per {T293169}.
//Mockup as of 2021-10-12:// {F34686732}
Figma: https://www.figma.com/file/ULhJr1isDstRbGE5vjYDsr/Add-images-structured-task?node-id=3018%3A9418