Extension:EnhancedUpload/zh

This page is a translated version of the page Extension:EnhancedUpload and the translation is 14% complete.
This extension is maintained by a member of the MediaWiki利害關係者群組 .
MediaWiki扩展手册
EnhancedUpload
发行状态: 稳定版
描述 Provides a special page with the option to upload one or multiple files to the wiki
作者 Hallo Welt! GmbH
最新版本 1.2-alpha
兼容性政策 对于每个有长期支持的MediaWiki发行版本,扩展内都有对应的分支。
MediaWiki 1.35+
Composer mediawiki/enhanced-upload
许可协议 僅限GNU通用公眾授權條款3.0
下載
  • $wgEnhancedUploadAllowMismatchedMimeTypes
  • $wgEnhancedUploadOverrideStandardUpload
  • $wgEnhancedUploadDragDropImagesAlignment
  • $wgEnhancedUploadDragDropImagesWidth
  • $wgEnhancedUploadDragDropImagesType
  • $wgEnhancedUploadDragDropImagesHeight
季度下載量 10 (Ranked 134th)
前往translatewiki.net翻譯EnhancedUpload扩展

This extension adds a new special page for multi-upload and improves drag-and-drop upload in VisualEditor.

It also introduces the ‎<attachments /> tag that allows to easily maintain file lists on pages.

Installation

Install Extension:OOJSPlus and Extension:VisualEditor first, since they are required.

  • 下载文件,并将其放置在您extensions/文件夹中的EnhancedUpload目录内。
    开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/EnhancedUpload
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'EnhancedUpload' );
    
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

Configuration

You can set some variables in the "LocalSettings.php" file:

$wgEnhancedUploadDragDropImagesAlignment = 'none'; (default = 'right')
image alignment
$wgEnhancedUploadDragDropImagesWidth = '600px';
$wgEnhancedUploadDragDropImagesHeigth = '600px';
image size
$wgEnhancedUploadDragDropImagesType = 'frameless'; (default = 'thumb', other options 'frameless', 'frame', 'basic')
image type

外部链接