Last edited 4 months ago
by Robert Vogel

AutoDoc:EnhancedUpload: Difference between revisions

m (1 revision imported)
hw>Unknown user
No edit summary
Line 48: Line 48:
{{AutoDocConfig
{{AutoDocConfig
|config = {{AutoDocOption
|config = {{AutoDocOption
|name = EnhancedUploadAllowMismatchedMimeTypes
|value = <nowiki>false</nowiki>
}}
{{AutoDocOption
|name = EnhancedUploadDragDropImagesAlignment
|name = EnhancedUploadDragDropImagesAlignment
|value = <nowiki>'right'</nowiki>
|value = <nowiki>'right'</nowiki>
Line 71: Line 75:
{{AutoDocHooks
{{AutoDocHooks
|Hooks = {{AutoDocCallback
|Hooks = {{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSInsertMagicAjaxGetData BSInsertMagicAjaxGetData]
|callback = MediaWiki\Extension\EnhancedUpload\Hook\BSInsertMagicAjaxGetData\AddAttachmentTag::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|callback = addModules
|callback = addModules
Line 81: Line 81:
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BlueSpiceDiscoveryTemplateDataProviderAfterInit BlueSpiceDiscoveryTemplateDataProviderAfterInit]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BlueSpiceDiscoveryTemplateDataProviderAfterInit BlueSpiceDiscoveryTemplateDataProviderAfterInit]
|callback = discovery-skin
|callback = discovery-skin
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MimeMagicImproveFromExtension MimeMagicImproveFromExtension]
|callback = addMimeType
}}
}}
{{AutoDocCallback
{{AutoDocCallback

Revision as of 14:09, 1 December 2023

DescriptionMsg

Provides a special page with the option to upload one or multiple files to the wiki

License

GPL-3.0-only

Requirements

  • MediaWiki: 1.39.0
  • OOJSPlus: *

VisualEditor: *

IntegratesInto

  • ContentDroplets
  • EnhancedUpload
  • VisualEditor

SpecialPages

  • EnhancedUpload

Config

Configuration

Name Value
EnhancedUploadAllowMismatchedMimeTypes false
EnhancedUploadDragDropImagesAlignment 'right'
EnhancedUploadDragDropImagesHeight 'auto'
EnhancedUploadDragDropImagesType 'thumb'
EnhancedUploadDragDropImagesWidth '300'
EnhancedUploadOverrideStandardUpload false

Hooks

Hooks