Manual:$wgTmpDirectory

Details
The local filesystem path to a temporary directory. This is not required to be accessible from the web.

Used by   to control where temporary files MediaWiki needs are to be written, including:

used for chunked uploading, some transformations, and various parts of the file backend code
 * Old and new tempfiles for external executable based external diff engines configured by 


 * UID Generator node and lock files.


 * Upload from URL

Can be overridden using  .
 * The directory which a man>Special:MyLanguage/Manual:$wgMainCacheType|CACHE_DBA cache places it's DBA database file.


 * Importing uploads from XML dumps

The path to the temporary directory.

When using CACHE_DBA as your  , this allows you to select which directory is used.