Vote #75074
完了Bulk delete wiki attachments
0%
説明
I have a bunch of image attachments that inserted into the wiki page.
It is necessary to provide way to bulk delete wiki attachments.
So that it is easy to update my wiki docs.
journals
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Bulk deletion of issues attachments has been implemented by #13072 for upcoming 3.4.0, but it has not implemented for wiki pages.
--------------------------------------------------------------------------------
This patch adds features similar to #13072 to the wiki.
!changed_wiki.png!
--------------------------------------------------------------------------------
It works fine for me and the code and the behavior are consistent with #13072. Setting target version to 4.1.0.
--------------------------------------------------------------------------------
I have slightly updated the patch attachment:diff-r17405.patch. I think @fieldset.wiki-items@ is unnecessary and it looks a little bit awkward.
--------------------------------------------------------------------------------
Committed. Thank you for improving Redmine.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,13072,Delete multiple attachments with one action
relates,Closed,32653,Fix random test failure due to missing call to set_tmp_attachments_directory in WikiControllerTest