Extension:EnhancedUpload/zh

Category:Extensions with invalid or missing type/zhCategory:GPL licensed extensions/zh
EnhancedUpload
Category:Stable extensions/zh
描述 Provides a special page with the option to upload one or multiple files to the wiki
作者 Hallo Welt! GmbH
最新版本 5.0.0-alpha
MediaWiki 1.35+Category:Extensions with manual MediaWiki version/zh
僅限GNU通用公眾授權條款3.0
下載 Category:Extensions in Wikimedia version control/zh
  • $wgEnhancedUploadAllowMismatchedMimeTypes
  • $wgEnhancedUploadOverrideStandardUpload
  • $wgEnhancedUploadDragDropImagesAlignment
  • $wgEnhancedUploadDragDropImagesWidth
  • $wgEnhancedUploadDragDropImagesType
  • $wgEnhancedUploadDragDropImagesHeight
前往translatewiki.net翻譯EnhancedUpload
Category:All extensions/zh

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

外部链接

Category:All extensions/zh Category:BeforePageDisplay extensions/zh Category:BlueSpiceDiscoveryTemplateDataProviderAfterInit extensions/zh Category:Extensions in Wikimedia version control/zh Category:Extensions included in BlueSpice/zh Category:Extensions with invalid or missing type/zh Category:Extensions with manual MediaWiki version/zh Category:GPL licensed extensions/zh Category:MimeMagicImproveFromExtension extensions/zh Category:ParserFirstCallInit extensions/zh Category:SkinTemplateNavigation::Universal extensions/zh Category:SpecialPage initList extensions/zh Category:Stable extensions/zh