Extension:EnhancedUpload/zh

This page is a translated version of the page Extension:EnhancedUpload and the translation is 9% complete.
MediaWiki扩展手册
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
下載
  • $wgEnhancedUploadAllowMismatchedMimeTypes
  • $wgEnhancedUploadOverrideStandardUpload
  • $wgEnhancedUploadDragDropImagesAlignment
  • $wgEnhancedUploadDragDropImagesWidth
  • $wgEnhancedUploadDragDropImagesType
  • $wgEnhancedUploadDragDropImagesHeight
季度下載量 8 (Ranked 122nd)
前往translatewiki.net翻譯EnhancedUpload扩展

This extension offers a number of file uploading improvements:

New special page EnhancedUpload

Special:EnhancedUpload introduces a streamlined, user-friendly media upload experience with support for drag-and-drop functionality and multiple file uploads. The interface features a modern, clean layout, providing users with improved visual feedback and a more intuitive workflow.

Improved drag-and-drop uploading in VisualEditor
"New file" menu in edit toolbar

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

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' );
    
  • Yes 完成 – 在您的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

外部链接