Manual:$wgUploadMissingFileUrl

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
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

Other settings: Alphabetical | By Function

Usage[edit | edit source]

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 $wgUploadMissingFileUrl is not defined (from 1.19 onwards). For 1.17 and 1.18 you have to set $wgUploadMissingFileUrl.

See also[edit | edit source]