Page MenuHomePhabricator

Allow to hide upload comment for the current file revision
Open, Needs TriagePublicFeature

Description

When uploading a file, the provided edit comment is saved for the file page history as well as the file history.

If the uploader accidentally adds private information to this field that needs to be hidden from the file history, it turns out that the file history cannot be hidden for the current file version. (This makes sense for the actual file data, but not for the comment.)
It is also not possible to upload exactly the same file to the same file page again, because this is denied for identical checksum.

So in order to achieve redacting of the upload summary one needs to upload a dummy file, revert to the original file, and the hide the comment.

It should be changed so that this can be done directly without uploading a dummy file in between.

Event Timeline

Aklapper renamed this task from upload comment cannot be hidden to Allow to hide upload comment for the current file revision.Aug 6 2021, 11:42 AM
Aklapper changed the subtype of this task from "Bug Report" to "Feature Request".

No bit of the revision deletion is supported for the current image, the first task for it seems T22742, see also T90300 or T257222

Another example: [[ticket:2022041010003876]]