Jump to: navigation, search
This page is a translated version of the page Manual:$wgUploadNavigationUrl and the translation is 31% complete.

Other languages:
English • ‎español • ‎فارسی • ‎italiano • ‎日本語 • ‎polski
Uploads: $wgUploadNavigationUrl
Point the upload navigation link in the sidebar to a custom URL.
導入されたバージョン: 1.5.0
除去されたバージョン: 使用中
可能な値: URL または false
既定値: false
他の設定: アルファベット順 | 機能順


Point the "ファイルをアップロード" link in the sidebar "ツール" section to a custom URL. Useful if you want to direct users to a shared repository by default without disabling local uploads, e.g.:

$wgUploadNavigationUrl = '//';

It is not necessary to set $wgRemoteUploadsManual:$wgRemoteUploads to true to achieve this. If you wish to point users to a custom upload page on the wiki, use an appropriate relative URL:

$wgUploadNavigationUrl = '/wiki/Project:Upload_start_page';

注 注: If $wgUploadNavigationUrl is set to false, then a link to Special:Upload is added to the toolbar if uploads are enabled and the user has both upload and edit permissions. If $wgUploadNavigationUrl is set to a url, the link is always shown, regardless of the user's permissions.

赤いファイル リンク

As of r69997 $wgUploadMissingFileUrlManual:$wgUploadMissingFileUrl is used for red links. This allows pointing $wgUploadNavigationUrl to an external page that is not per se a Special:Upload directly. If $wgUploadMissingFileUrlManual:$wgUploadMissingFileUrl is not defined, then $UploadNavigationUrl will be used as a fallback since 1.19.