Feature summary (what you would like to be able to do and where):
When undoing caption edits on Commons, currently there is no automated edit summary such as when you undo any other edit, see https://commons.wikimedia.org/w/index.php?diff=908273574&oldid=908273551&title=File:Dancer_in_Sari.jpg for example.
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
When undoing caption edits.
Benefits (why should this be implemented?): Same reason why the automated edit summaries are shown when undoing any other edit.
I guess this task is a continuation of T236320 which allowed for caption edits to be undone in the first place so adding the tags in that task here.