This is needed for storing contributions in the database.More details to be added, Thenew hidden fields will contain JSON data, in the same way as campaign categories are on the Create/Update pages.
When either form is submitted on the Participatlikely still using form elements but then using .serialise() jquery functions to convert it to postable JSON
This means we don't need to reload the page, we need to populate the following hidden fields (for the submitted form only) before sending the datahich is better for UX and allows us to keep the current client side image loaded without fancy extra code to redirect back to the last image they worked on.
**Data to send:**
'country' - from country subcategory in url parameter (if present)
'image-name' - use getImageFilename() to
'contributions' - populate using generateContributionData() into relevant hidden form field (from {T224479})
e.g. [{type: "depicts", action: "add", content: "Q123"}, {type: "depicts", action: "remove", content: "Q349"}]
Ideally, actual submission should only happen after edit has been confirmed by response from Wikimedia API