Jump to content

Manual:$wgUploadMissingFileUrl

From mediawiki.org
Files and file uploads: $wgUploadMissingFileUrl
Point wikilinks to missing files ("red file links") to a custom URL.
Introduced in version:1.17.0 (r69997)
Removed in version:Still in use
Allowed values:(URL) or false
Default value:false

Usage

[edit]

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.

MediaWiki version:
1.19

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

See also

[edit]