Manual:$wgUploadMissingFileUrl/en

From Linux Web Expert

<translate> Files and file uploads</translate>: $wgUploadMissingFileUrl
Point wikilinks to missing files ("red file links") to a custom URL.
<translate> Introduced in version:</translate>1.17.0 (r69997)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(URL) or false
<translate> Default value:</translate>false

Usage

Use this setting to point wikilinks to missing files ("red file links") to a custom URL, as with $wgUploadNavigationUrl . The URL will get (?|&)wpDestFile=<filename> appended to it as appropriate.

If false, the value of $wgUploadNavigationUrl is used. If that too is false, Special:Upload is used.

<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.19</tvar> is unsupported version</translate>">
<translate> ≤</translate> 1.19
MediaWiki version:

$wgUploadNavigationUrl was used before this setting was introduced (1.16 and below), and will be used if $wgUploadMissingFileUrl is not defined (from 1.19 onwards). For 1.17 and 1.18 you have to set $wgUploadMissingFileUrl.

See also