Zuletzt bearbeitet vor 4 Monaten
von Robert Vogel

AutoDoc:BlueSpiceVisualEditorConnector: Unterschied zwischen den Versionen

K (1 Version importiert)
K (1 Version importiert)
 
(13 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{ExtensionMainDescOpen}}
==DescriptionMsg==
{{ExtensionMainDescBody
{{AutoDocDescriptionMsg
|desc = Verbindet BlueSpice mit dem VisualEditor
|name = BlueSpiceVisualEditorConnector
}}
|desc = {{int:bs-visualeditorconnector-desc
{{ExtensionMainDescClose}}
}}
}}
==License==
{{AutoDocLicense
|name = GPL-3.0-only
}}
==Requirements==
{{AutoDocRequirements
|mediawiki = {{AutoDocVersion
|name = MediaWiki
|version = 1.39.0
}}
|extensions = {{AutoDocVersion
|name = BlueSpiceFoundation
|version = 4.3
}}
{{AutoDocVersion
|name = BlueSpiceVisualEditorConnector
|version =
*
}}
{{AutoDocVersion
|name = OOJSPlus
|version = 2.0.0
}}
{{AutoDocVersion
|name = VisualEditor
|version =
*
}}
}}
==IntegratesInto==
{{AutoDocIntegratesInto
|into = {{AutoDocListItem
|item = BlueSpiceSaferEdit
}}
{{AutoDocListItem
|item = BlueSpiceVisualEditorConnector
}}
{{AutoDocListItem
|item = VisualEditor
}}
}}
==Config==
{{AutoDocConfig
|config = {{AutoDocOption
|name = VisualEditorConnectorCellBorderColors
|value = <nowiki>array (
  0 =>
  array (
    'code' => '#97bfe7',
  ),
  1 =>
  array (
    'code' => '#5185b9',
  ),
  2 =>
  array (
    'code' => '#0060df',
  ),
  3 =>
  array (
    'code' => '#3e5389',
  ),
  4 =>
  array (
    'code' => '#e49c00',
  ),
  5 =>
  array (
    'code' => '#259596',
  ),
  6 =>
  array (
    'code' => '#3fb34c',
  ),
  7 =>
  array (
    'code' => '#cd41cb',
  ),
  8 =>
  array (
    'code' => '#b73a3a',
  ),
  9 =>
  array (
    'code' => '#d2d2d2',
  ),
  10 =>
  array (
    'code' => '#acacac',
  ),
  11 =>
  array (
    'code' => '#787878',
  ),
  12 =>
  array (
    'code' => '#434343',
  ),
  13 =>
  array (
    'code' => '#000000',
  ),
)</nowiki>
}}
{{AutoDocOption
|name = VisualEditorConnectorColorPickerColors
|value = <nowiki>array (
  0 =>
  array (
    'class' => 'col-white',
    'name' => 'White',
  ),
  1 =>
  array (
    'class' => 'col-blue-light',
    'name' => 'Light Blue',
  ),
  2 =>
  array (
    'class' => 'col-blue',
    'name' => 'Blue',
  ),
  3 =>
  array (
    'class' => 'col-blue-dark',
    'name' => 'Dark Blue',
  ),
  4 =>
  array (
    'class' => 'col-blue-navy',
    'name' => 'Navy Blue',
  ),
  5 =>
  array (
    'class' => 'col-orange',
    'name' => 'Orange',
  ),
  6 =>
  array (
    'class' => 'col-turquoise',
    'name' => 'Turquoise',
  ),
  7 =>
  array (
    'class' => 'col-green',
    'name' => 'Green',
  ),
  8 =>
  array (
    'class' => 'col-purple',
    'name' => 'Purple',
  ),
  9 =>
  array (
    'class' => 'col-red',
    'name' => 'Red',
  ),
  10 =>
  array (
    'class' => 'col-grey-light',
    'name' => 'Light Grey',
  ),
  11 =>
  array (
    'class' => 'col-grey-medium',
    'name' => 'Medium Grey',
  ),
  12 =>
  array (
    'class' => 'col-grey',
    'name' => 'Grey',
  ),
  13 =>
  array (
    'class' => 'col-grey-dark',
    'name' => 'Dark Grey',
  ),
  14 =>
  array (
    'class' => 'col-black',
    'name' => 'Black',
  ),
)</nowiki>
}}
{{AutoDocOption
|name = VisualEditorConnectorColorPickerColorsBackground
|value = <nowiki>array (
  0 =>
  array (
    'class' => 'col-white-bg',
    'name' => 'White',
  ),
  1 =>
  array (
    'class' => 'col-blue-light-bg',
    'name' => 'Light Blue',
  ),
  2 =>
  array (
    'class' => 'col-blue-bg',
    'name' => 'Blue',
  ),
  3 =>
  array (
    'class' => 'col-blue-dark-bg',
    'name' => 'Dark Blue',
  ),
  4 =>
  array (
    'class' => 'col-blue-navy-bg',
    'name' => 'Navy Blue',
  ),
  5 =>
  array (
    'class' => 'col-orange-bg',
    'name' => 'Orange',
  ),
  6 =>
  array (
    'class' => 'col-turquoise-bg',
    'name' => 'Turquoise',
  ),
  7 =>
  array (
    'class' => 'col-green-bg',
    'name' => 'Green',
  ),
  8 =>
  array (
    'class' => 'col-purple-bg',
    'name' => 'Purple',
  ),
  9 =>
  array (
    'class' => 'col-red-bg',
    'name' => 'Red',
  ),
  10 =>
  array (
    'class' => 'col-grey-light-bg',
    'name' => 'Light Grey',
  ),
  11 =>
  array (
    'class' => 'col-grey-medium-bg',
    'name' => 'Medium Grey',
  ),
  12 =>
  array (
    'class' => 'col-grey-bg',
    'name' => 'Grey',
  ),
  13 =>
  array (
    'class' => 'col-grey-dark-bg',
    'name' => 'Dark Grey',
  ),
  14 =>
  array (
    'class' => 'col-black-bg',
    'name' => 'Black',
  ),
)</nowiki>
}}
{{AutoDocOption
|name = VisualEditorConnectorEnableVisualEditor
|value = <nowiki>true</nowiki>
}}
{{AutoDocOption
|name = VisualEditorConnectorHelpUrl
|value = <nowiki>'https://en.wiki.bluespice.com/wiki/Manual:Extension/VisualEditor'</nowiki>
}}
{{AutoDocOption
|name = VisualEditorConnectorPasteFilename
|value = <nowiki>'{{pagename}}_{{timestamp}}'</nowiki>
}}
{{AutoDocOption
|name = VisualEditorConnectorTableStyleRegistry
|value = <nowiki>array (
  'No table style' => 'nostyle',
  'Standard' => 'wikitable',
  'Content' => 'contenttable',
  'Content (black)' => 'contenttable-black',
  'Content (blue)' => 'contenttable-blue',
  'Content (darkblue)' => 'contenttable-darkblue',
  'Cusco Sky' => 'cuscosky',
  'Casablanca' => 'casablanca',
  'Greyscale' => 'greyscale',
  'Greyscale (narrow)' => 'greyscale-narrow',
)</nowiki>
}}
{{AutoDocOption
|name = VisualEditorConnectorUploadDialogType
|value = <nowiki>'original'</nowiki>
}}
}}
==Hooks==
{{AutoDocHooks
|Hooks = {{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSApiNamespaceStoreMakeData BSApiNamespaceStoreMakeData]
|callback = \BlueSpice\VisualEditorConnector\Hook\BSApiNamespaceStoreMakeData\AddData::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSPageTemplatesModifyTargetUrl BSPageTemplatesModifyTargetUrl]
|callback = \BlueSpice\VisualEditorConnector\Hook\BSPageTemplatesModifyTargetUrl\UseVisualEditor::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSSocialModuleDepths BSSocialModuleDepths]
|callback = \BlueSpice\VisualEditorConnector\Hook\BSSocialModuleDepths\AddVECModules::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFBeforeAddingStyleBlocks BSUEModulePDFBeforeAddingStyleBlocks]
|callback = \BlueSpice\VisualEditorConnector\Hook\BSUEModulePDFBeforeAddingStyleBlock\AddColors::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|callback = \BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddStaticStyles::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::editNamespace NamespaceManager::editNamespace]
|callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerEditNamespace\SetVisualEditorValues::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::getMetaFields NamespaceManager::getMetaFields]
|callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerGetMetaFields\RegisterMetaFields::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManagerBeforePersistSettings NamespaceManagerBeforePersistSettings]
|callback = writeNamespaceConfiguration
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/UnitTestsList UnitTestsList]
|callback = \BlueSpice\VisualEditorConnector\Hook\UnitTestsList\DisableFlaggedRevsTests::callback
}}
}}


{{ExtensionConfigOpen}}
{{ExtensionConfigBody
|name = $bsgVisualEditorConnectorEnableVisualEditor
|defaultValue = <nowiki>true</nowiki>
|overrideBy = $bsgOverrideVisualEditorConnectorEnableVisualEditor
}}
{{ExtensionConfigBody
|name = $bsgVisualEditorConnectorUploadDialogType
|defaultValue = <nowiki>"original"</nowiki>
|overrideBy = $bsgOverrideVisualEditorConnectorUploadDialogType
}}
{{ExtensionConfigBody
|name = $bsgVisualEditorConnectorSimpleSaveProcess
|defaultValue = <nowiki>true</nowiki>
|overrideBy = $bsgOverrideVisualEditorConnectorSimpleSaveProcess
}}
{{ExtensionConfigBody
|name = $bsgVisualEditorConnectorTableStyleRegistry
|defaultValue = <nowiki>{"No table style":"nostyle","Standard":"wikitable","Content":"contenttable","Content (black)":"contenttable-black","Content (blue)":"contenttable-blue","Content (darkblue)":"contenttable-darkblue","Cusco Sky":"cuscosky","Casablanca":"casablanca","Greyscale":"greyscale","Greyscale (narrow)":"greyscale-narrow"}</nowiki>
|overrideBy = $bsgOverrideVisualEditorConnectorTableStyleRegistry
}}
{{ExtensionConfigBody
|name = $bsgVisualEditorConnectorColorPickerColors
|defaultValue = <nowiki>[{"class":"col-white","name":"White"},{"class":"col-blue-light","name":"Light Blue"},{"class":"col-blue","name":"Blue"},{"class":"col-blue-dark","name":"Dark Blue"},{"class":"col-blue-navy","name":"Navy Blue"},{"class":"col-orange","name":"Orange"},{"class":"col-turquoise","name":"Turquoise"},{"class":"col-green","name":"Green"},{"class":"col-purple","name":"Purple"},{"class":"col-red","name":"Red"},{"class":"col-grey-light","name":"Light Grey"},{"class":"col-grey-medium","name":"Medium Grey"},{"class":"col-grey","name":"Grey"},{"class":"col-grey-dark","name":"Dark Grey"},{"class":"col-black","name":"Black"}]</nowiki>
|overrideBy = $bsgOverrideVisualEditorConnectorColorPickerColors
}}
{{ExtensionConfigBody
|name = $bsgVisualEditorConnectorColorPickerColorsBackground
|defaultValue = <nowiki>[{"class":"col-white-bg","name":"White"},{"class":"col-blue-light-bg","name":"Light Blue"},{"class":"col-blue-bg","name":"Blue"},{"class":"col-blue-dark-bg","name":"Dark Blue"},{"class":"col-blue-navy-bg","name":"Navy Blue"},{"class":"col-orange-bg","name":"Orange"},{"class":"col-turquoise-bg","name":"Turquoise"},{"class":"col-green-bg","name":"Green"},{"class":"col-purple-bg","name":"Purple"},{"class":"col-red-bg","name":"Red"},{"class":"col-grey-light-bg","name":"Light Grey"},{"class":"col-grey-medium-bg","name":"Medium Grey"},{"class":"col-grey-bg","name":"Grey"},{"class":"col-grey-dark-bg","name":"Dark Grey"},{"class":"col-black-bg","name":"Black"}]</nowiki>
|overrideBy = $bsgOverrideVisualEditorConnectorColorPickerColorsBackground
}}
{{ExtensionConfigBody
|name = $bsgVisualEditorConnectorCellBorderColors
|defaultValue = <nowiki>[{"code":"#97bfe7"},{"code":"#5185b9"},{"code":"#0060df"},{"code":"#3e5389"},{"code":"#e49c00"},{"code":"#259596"},{"code":"#3fb34c"},{"code":"#cd41cb"},{"code":"#b73a3a"},{"code":"#d2d2d2"},{"code":"#acacac"},{"code":"#787878"},{"code":"#434343"},{"code":"#000000"}]</nowiki>
|overrideBy = $bsgOverrideVisualEditorConnectorCellBorderColors
}}
{{ExtensionConfigBody
|name = $bsgVisualEditorConnectorPasteFilename
|defaultValue = <nowiki>"{{timestamp}}"</nowiki>
|overrideBy = $bsgOverrideVisualEditorConnectorPasteFilename
}}
{{ExtensionConfigBody
|name = $bsgVisualEditorConnectorHelpUrl
|defaultValue = <nowiki>"https://en.wiki.bluespice.com/wiki/Manual:Extension/VisualEditor"</nowiki>
|overrideBy = $bsgOverrideVisualEditorConnectorHelpUrl
}}
{{ExtensionConfigClose}}

Aktuelle Version vom 10. Juli 2024, 14:52 Uhr

DescriptionMsg[Bearbeiten | Quelltext bearbeiten]

Verbindet BlueSpice mit dem VisualEditor

License[Bearbeiten | Quelltext bearbeiten]

GPL v3

Requirements[Bearbeiten | Quelltext bearbeiten]

  • MediaWiki: 1.39.0
  • BlueSpiceFoundation: 4.3

BlueSpiceVisualEditorConnector: * OOJSPlus: 2.0.0 VisualEditor: *

IntegratesInto[Bearbeiten | Quelltext bearbeiten]

  • BlueSpiceSaferEdit
  • BlueSpiceVisualEditorConnector
  • VisualEditor

Config[Bearbeiten | Quelltext bearbeiten]

Konfiguration[Bearbeiten | Quelltext bearbeiten]

Name Wert
VisualEditorConnectorCellBorderColors array ( 0 => array ( 'code' => '#97bfe7', ), 1 => array ( 'code' => '#5185b9', ), 2 => array ( 'code' => '#0060df', ), 3 => array ( 'code' => '#3e5389', ), 4 => array ( 'code' => '#e49c00', ), 5 => array ( 'code' => '#259596', ), 6 => array ( 'code' => '#3fb34c', ), 7 => array ( 'code' => '#cd41cb', ), 8 => array ( 'code' => '#b73a3a', ), 9 => array ( 'code' => '#d2d2d2', ), 10 => array ( 'code' => '#acacac', ), 11 => array ( 'code' => '#787878', ), 12 => array ( 'code' => '#434343', ), 13 => array ( 'code' => '#000000', ), )
VisualEditorConnectorColorPickerColors array ( 0 => array ( 'class' => 'col-white', 'name' => 'White', ), 1 => array ( 'class' => 'col-blue-light', 'name' => 'Light Blue', ), 2 => array ( 'class' => 'col-blue', 'name' => 'Blue', ), 3 => array ( 'class' => 'col-blue-dark', 'name' => 'Dark Blue', ), 4 => array ( 'class' => 'col-blue-navy', 'name' => 'Navy Blue', ), 5 => array ( 'class' => 'col-orange', 'name' => 'Orange', ), 6 => array ( 'class' => 'col-turquoise', 'name' => 'Turquoise', ), 7 => array ( 'class' => 'col-green', 'name' => 'Green', ), 8 => array ( 'class' => 'col-purple', 'name' => 'Purple', ), 9 => array ( 'class' => 'col-red', 'name' => 'Red', ), 10 => array ( 'class' => 'col-grey-light', 'name' => 'Light Grey', ), 11 => array ( 'class' => 'col-grey-medium', 'name' => 'Medium Grey', ), 12 => array ( 'class' => 'col-grey', 'name' => 'Grey', ), 13 => array ( 'class' => 'col-grey-dark', 'name' => 'Dark Grey', ), 14 => array ( 'class' => 'col-black', 'name' => 'Black', ), )
VisualEditorConnectorColorPickerColorsBackground array ( 0 => array ( 'class' => 'col-white-bg', 'name' => 'White', ), 1 => array ( 'class' => 'col-blue-light-bg', 'name' => 'Light Blue', ), 2 => array ( 'class' => 'col-blue-bg', 'name' => 'Blue', ), 3 => array ( 'class' => 'col-blue-dark-bg', 'name' => 'Dark Blue', ), 4 => array ( 'class' => 'col-blue-navy-bg', 'name' => 'Navy Blue', ), 5 => array ( 'class' => 'col-orange-bg', 'name' => 'Orange', ), 6 => array ( 'class' => 'col-turquoise-bg', 'name' => 'Turquoise', ), 7 => array ( 'class' => 'col-green-bg', 'name' => 'Green', ), 8 => array ( 'class' => 'col-purple-bg', 'name' => 'Purple', ), 9 => array ( 'class' => 'col-red-bg', 'name' => 'Red', ), 10 => array ( 'class' => 'col-grey-light-bg', 'name' => 'Light Grey', ), 11 => array ( 'class' => 'col-grey-medium-bg', 'name' => 'Medium Grey', ), 12 => array ( 'class' => 'col-grey-bg', 'name' => 'Grey', ), 13 => array ( 'class' => 'col-grey-dark-bg', 'name' => 'Dark Grey', ), 14 => array ( 'class' => 'col-black-bg', 'name' => 'Black', ), )
VisualEditorConnectorEnableVisualEditor true
VisualEditorConnectorHelpUrl 'https://en.wiki.bluespice.com/wiki/Manual:Extension/VisualEditor'
VisualEditorConnectorPasteFilename '{{pagename}}_{{timestamp}}'
VisualEditorConnectorTableStyleRegistry array ( 'No table style' => 'nostyle', 'Standard' => 'wikitable', 'Content' => 'contenttable', 'Content (black)' => 'contenttable-black', 'Content (blue)' => 'contenttable-blue', 'Content (darkblue)' => 'contenttable-darkblue', 'Cusco Sky' => 'cuscosky', 'Casablanca' => 'casablanca', 'Greyscale' => 'greyscale', 'Greyscale (narrow)' => 'greyscale-narrow', )
VisualEditorConnectorUploadDialogType 'original'

Hooks[Bearbeiten | Quelltext bearbeiten]

Hooks[Bearbeiten | Quelltext bearbeiten]