Manual:$wgRepositoryBaseUrl

From mediawiki.org
This page is a translated version of the page Manual:$wgRepositoryBaseUrl and the translation is 91% complete.
共有アップロード: $wgRepositoryBaseUrl
リポジトリ ウィキの基底 URL。
導入されたバージョン:1.5.0
除去されたバージョン:使用中
許容される値:(文字列)
既定値:"https://commons.wikimedia.org/wiki/File:"

詳細

リポジトリ ウィキの基底 URL です。 アップロードしたファイルが共有ディレクトリに格納されるだけであり、別のウィキからアクセスできるようにすることを意図していない場合は、この変数を空欄のままにしておいてください。 空欄以外の場合、ローカル ウィキの画像解説ページは、このウィキの画像解説ページへリンクされます。

既定の例のように、名前空間を指定してください。

$wgForeignFileRepos descBaseUrl プロパティと同等です。

関連項目

  • Manual:$wgForeignFileRepos - a more flexible way of configuring shared upload repositories (and the only way, if you want to set up more than one shared upload source)