Manual:$wgUseInstantCommons/fr

Utilisation
Ajouter ce qui suit à votre :

Détails
Mettre cette variable à TRUE active InstantCommons, ce qui permet d'utiliser automatiquement dans le wiki local les images stockées sur Wikimedia Commons.

This setting is a shorthand for the following setting to :

Note
Enabling this parameter does not avoid any usage of disk space on the server running the local wiki. Until MediaWiki 1.26, this setting did indeed generate thumbs on the local disk for caching purposes. In case the dimensions of the original file on Wikimedia Commons are exceeded when embedding the file on a page in the local wiki, the file will in its original size be put onto the local disk.

Since MediaWiki 1.27, $wgUseInstantCommons now hotlinks Commons images by default instead of downloading originals and thumbnailing them locally. This allows wikis to save on CPU and bandwidth while reducing time to first byte for pages, even without a thumbnail handler. See $wgForeignFileRepos documentation for tweaks.

Voir aussi

 * Manual:Configuring file uploads (mainly for local uploads)
 * (to configure multiple file repositories)