Extension:EnhancedUpload/zh
EnhancedUpload 发行状态: 稳定版 |
|
---|---|
描述 | Provides a special page with the option to upload one or multiple files to the wiki |
作者 | Hallo Welt! GmbH |
最新版本 | 3.0.0-alpha |
兼容性政策 | 对于每个有长期支持的MediaWiki发行版本,扩展内都有对应的分支。 |
MediaWiki | 1.35+ |
许可协议 | 僅限GNU通用公眾授權條款3.0 |
下載 | |
|
|
季度下載量 | 6 (Ranked 125th) |
前往translatewiki.net翻譯EnhancedUpload扩展 | |
This extension adds a new special page for multi-uploading and improves drag-and-drop uploading in VisualEditor. It adds a "new file" menu to the edit toolbar.
It also introduces the <attachments />
tag that allows to maintain file lists on pages easily.
-
Configuration settings for the Enhanced upload
Installation
- Install Extension:OOJSPlus and Extension:VisualEditor extensions first, since they are required.
- 下载文件,并将解压后的
EnhancedUpload
文件夹移动到extensions/
目录中。
开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/EnhancedUpload - 将下列代码放置在您的LocalSettings.php 的底部:
wfLoadExtension( 'EnhancedUpload' );
- 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。
Configuration
You can set some variables in the "LocalSettings.php" file:
$wgEnhancedUploadDragDropImagesAlignment = 'none';
(default = 'right')- image alignment
$wgEnhancedUploadDragDropImagesWidth = '600px';
- image width
$wgEnhancedUploadDragDropImagesHeigth = '600px';
- image height
$wgEnhancedUploadDragDropImagesType = 'frameless';
(default = 'thumb', other options 'frameless', 'frame', 'basic')- image type
$wgEnhancedUploadAllowMismatchedMimeType = 'true';
(default = 'false')- allow mismatched mime types
外部链接
- Extension reference: EnhancedUpload
- Extension user help:
此扩展在以下wiki农场/托管网站和/或软件包中提供: 這不是一份權威名單。 即使某些wiki农场/托管网站和/或软件包未在这里列出,它们也可能提供此扩展。 请检查你的wiki农场/托管网站或软件包以确认提供情况。 |