Translations:Manual:$wgFileStore/25/en

To enable undeletion, the 'deleted directory' must be defined and $SaveDeletedFiles must be true.