Last edited 5 months ago
by Robert Vogel

AutoDoc:EnhancedUpload: Difference between revisions

m (1 revision imported)
m (1 revision imported)
 
(3 intermediate revisions by 3 users not shown)
Line 17: Line 17:
|extensions = {{AutoDocVersion
|extensions = {{AutoDocVersion
|name = OOJSPlus
|name = OOJSPlus
|version =
|version = 2.0.0
*
}}
}}
{{AutoDocVersion
{{AutoDocVersion
Line 48: Line 47:
{{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 74:
{{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 80:
|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

Latest revision as of 14:50, 10 July 2024

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: 2.0.0

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