Yongho Kim wrote:
How does commons.wikipedia work? Can this be imitated
in other
people's own installation of MediaWiki? Is there a technical document
under meta explaining this, I can't find any.
All configurable settings are in DefaultSettings.php; please always
refer to this file first.
# If you operate multiple wikis, you can define a shared upload
# path here. Uploads to this wiki will NOT be put there - they
# will be put into $wgUploadDirectory.
#
# 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.
#
$wgUseSharedUploads = false;
# Full path on the web server where shared uploads can be found
$wgSharedUploadPath = "http://commons.wikimedia.org/shared/images";
# Path on the file system where shared uploads can be found
$wgSharedUploadDirectory = "/var/www/wiki3/images";
# Set this to false especially if you have a set of files that need to be
# accessible by all wikis, and you do not want to use the hash (path/a/aa/)
# directory layout.
$wgHashedSharedUploadDirectory = true;
# Path on the file system where shared uploads can be found
$wgSharedUploadDBname = "commons";
# set true if the repository uses latin1 filenames
$wgSharedLatin1=false;
-- brion vibber (brion @
pobox.com)