Manual:$wgUploadPath/ja

詳細
アップロード ディレクトリへの相対パスです. アップロードされたファイルの閲覧用の URL を構築する際に使用されます.

多くの場合、"/w/images" のような、パスの構成要素のみを指定します. If uploaded files are served from a different domain, this can be a fully-qualified URL with hostname, such as "http://upload.wikimedia.org/wikipedia/en".

If the variable contains a local path (without "http://") then it must start with a slash, otherwise it will result in a bad URL. (For example if you set it to "foldername" it will result in files being loaded from " http://www.example.comfoldername " - note the missing slash after ".com")

To enable permission checks on image files, $wgUploadPath can be pointed to the img_auth.php script - see  for instructions.