Last modified on 17 August 2014, at 09:05

Manual:$wgTmpDirectory

Paths: $wgTmpDirectory
The path of the temporary directory.
Introduced in version: pre 1.1.0
Removed in version: still in use
Allowed values: absolute path
Default value: system temp dir determined by wfTempDir()[1]
"{$wgUploadDirectory}/tmp" prior to 1.20
(Note: The default value of this variable depends on other variables, such as the values set in Setup.php, after LocalSettings.php is executed)

Other settings: Alphabetical | By Function


DetailsEdit

MediaWiki version: 1.20

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

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

  • Old and new tempfiles for external executable based external diff engines configured by $wgExternalDiffEngine
  • TempFSFile, used for chunked uploading, some transformations, and various parts of the file backend code.
  • UID Generator node and lock files.
  • Upload from URL
  • The directory which a CACHE_DBA cache places it's DBA database file. Can be overridden using $wgObjectCaches[CACHE_DBA]['dir']. (removed in 1.23)
  • Importing uploads from XML dumps
  • ...


MediaWiki version: 1.19

The path to the temporary directory. When using CACHE_DBA as your $wgMainCacheType, this allows you to select which directory is used.

ReferencesEdit

  1. git #99fdc6e8
Language: English  • español • français • 日本語 • polski • português do Brasil