Handbuch:$wgSharedUploadPath

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgSharedUploadPath and the translation is 43% complete.

Other languages:
Deutsch • ‎English • ‎magyar • ‎polski • ‎فارسی • ‎日本語
Geteilte Uploads: $wgSharedUploadPath
Gesamtpfad des Webservers in dem sich gemeinsam Hochgeladenes befindet.
Eingeführt in Version:1.3.8
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:URL
Standardwert:"http://commons.wikimedia.org/shared/images"
"http://commons.mywiki.org/shared/images" vor 1.4.0

Details

Gesamtpfad auf dem Webserver in dem sich gemeinsam Hochgeladenes befindet.

Falls man mehrere Wikis betreibt, kann man einen gemeinsam benutzten Pfad ($SharedUploadPath) zum Hochladen definieren. If $wgUseSharedUploads is set, the wiki will look in the shared repository if no file of the given name is found in the local repository (for [[Image:..]], [[Media:..]] links).

Thumbnails will also be looked for and generated in this directory.

Uploads to the wiki will NOT be put there - they will be put into $wgUploadDirectory .

Thumbnails of shared images

For resizing images in mediawiki they need to have a row in image table of database containing dimensions and other information of image so you can't resize images haven't been uploaded by mediawiki software and for importing them to database without using mediawiki interface, you'll need to use some maintenance scripts. (maintenance/importimages.php)

If those images have been uploaded in another mediawiki, you can set $wgSharedUploadDBname to solve the problem.

See also