Manual:$wgFileStore/ja

Details
File storage paths; was last used only for deleted files.

The setting contains an array of arrays. The first index is the name of the type of file being stored (currently only 'deleted' is valid) and the second index is one of the following three keys:

If the file is private (as for deleted files) this should be null. As of version 1.23, this value is ignored. As of version 1.17, this is superseded by .
 * ' ' contains the directory on the server where the files will be saved. As of version 1.17, this is superseded by .
 * ' ' contains the URL used to access the file over the internet.
 * ' ' contains the number of levels of subdirectory to create under the specified directory. E.g. if you set this to 3, images will be stored in paths such as   (relative to the above directories).

Since MediaWiki 1.11.0
Deleted images are stored by default in "/deleted". can be used to customize this:

The default settings are:

Prior to MediaWiki 1.11
Prior to MediaWiki 1.11, deleted files are simply discarded by default; see  for how to enable storing them. To enable undeletion, the 'deleted directory' must be defined and  must be true.

The default settings are:

Example
An example enabling saving deleted images:

The 'deleted url' can remain null (as the deleted files are private, not visible to the Internet).