On Feb 16, 2012, at 11:02 AM, Sergiu Dumitriu wrote:
On 02/16/2012 04:17 AM, Vincent Massol wrote:
Hi Gerard,
On Feb 16, 2012, at 10:08 AM, Turmel Gérard wrote:
Hello
We have 425 deleted attachments in our wiki. We can delete them one by one with the IHM but it's a bit boring. Is there any script to erase the deleted attachments ?
It's a good idea, we need one on extensions.xwiki.org and I think it would also be nice to have it in the Admin. Could you create a jira issue for this?
For now you could write a script and take inspiration from: http://extensions.xwiki.org/xwiki/bin/view/Extension/Empty+Trash+Bin
It's done in https://github.com/xwiki-contrib/application-admintools/blob/master/src/main...
Which means that you should be able to install the Admin application in your wiki: http://extensions.xwiki.org/xwiki/bin/view/Extension/Admin+Tools+Application I don't see this feature listed on http://extensions.xwiki.org/xwiki/bin/view/Extension/Admin+Tools+Application though… Thanks -Vincent