Handboek:$wgUseSharedUploads

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

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎русский • ‎فارسی • ‎日本語
Shared uploads: $wgUseSharedUploads
Whether to look in a shared repository when a file is not found locally
Ingeleid in versie:1.3.8
Verwijderd in versie:nog steeds in gebruik
Toegelaten waardes:(booleaans)
Standaard waarde:false
Andere instellingen: Alfabetisch | Per functie

Details

If you operate multiple wikis, you can define a shared upload path using $wgSharedUploadPath . 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 .

Miniaturen van gedeelde afbeeldingen

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 that 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/importimage.php).

Zie ook