Manual:$wgEnableUploads/zh

详情
本命令在 LocalSettings.php 文件中找到，当值设置为 时，用户允许上传图片以及其他被启用的文件. 用户会在工具栏左下角看见一个链接至 上传 页面“上传文件”的链接（通常情况下）. 这个链接会为拥有'上传'的用户（默认是登录了的用户）.
 * field there in Special:Upload page is a case sensitive field and should be used to give descriptive filename instead of using the default one populated from source file name.
 * If a file already exists in the system with name, uploading this file without changing   will create a archive file and store the older version in   folder.

IMPORTANT: Uploads need to be set up properly in order to be secure! There are several related configuration settings. It is recommended to read the more complete instructions at

参见

 * - if one wants to change default upload folder, which is.
 * - 默认为100 MB，如有需要请更改它.
 * - a list of all configuration variables related to file uploads
 * - similar list as a category (ordered alphabetically)
 * - message at Special:Upload if uploads disabled
 * file_uploads php.ini directive. This must be enabled for uploads to work
 * - message at Special:Upload if uploads disabled
 * file_uploads php.ini directive. This must be enabled for uploads to work