Last edited 4 months ago
by Robert Vogel

AutoDoc:BlueSpiceVisualEditorConnector: Difference between revisions

m (1 revision imported)
hw>Unknown user
No edit summary
Line 13: Line 13:
|mediawiki = {{AutoDocVersion
|mediawiki = {{AutoDocVersion
|name = MediaWiki
|name = MediaWiki
|version = 1.35.0
|version = 1.36.0
}}
}}
|extensions = {{AutoDocVersion
|extensions = {{AutoDocVersion
|name = BlueSpiceFoundation
|name = BlueSpiceFoundation
|version = 4.0
|version = 4.1
}}
}}
{{AutoDocVersion
{{AutoDocVersion
Line 275: Line 275:
{{AutoDocOption
{{AutoDocOption
|name = VisualEditorConnectorPasteFilename
|name = VisualEditorConnectorPasteFilename
|value = <nowiki>'{{timestamp}}'</nowiki>
|value = <nowiki>'{{pagename}}_{{timestamp}}'</nowiki>
}}
{{AutoDocOption
|name = VisualEditorConnectorSimpleSaveProcess
|value = <nowiki>true</nowiki>
}}
}}
{{AutoDocOption
{{AutoDocOption
|name = VisualEditorConnectorTableStyleRegistry
|name = VisualEditorConnectorTableStyleRegistry
|value = <nowiki>array (
|value = <nowiki>array (
  'No table style' => 'nostyle',
   'Standard' => 'wikitable',
   'Standard' => 'wikitable',
   'Content' => 'contenttable',
   'Content' => 'contenttable',
Line 320: Line 317:
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|callback = \BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddModules::callback, \BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddStaticStyles::callback
|callback = \BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddStaticStyles::callback
}}
}}
{{AutoDocCallback
{{AutoDocCallback
Line 331: Line 328:
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::writeNamespaceConfiguration NamespaceManager::writeNamespaceConfiguration]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManagerBeforePersistSettings NamespaceManagerBeforePersistSettings]
|callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerWriteNamespaceConfiguration\WriteToConfiguration::callback
|callback = writeNamespaceConfiguration
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/UnitTestsList UnitTestsList]
|callback = \BlueSpice\VisualEditorConnector\Hook\UnitTestsList\DisableFlaggedRevsTests::callback
}}
}}
}}
}}



Revision as of 11:44, 22 June 2023

DescriptionMsg

Connects BlueSpice with VisualEditor

License

GPL-3.0-only

Requirements

  • MediaWiki: 1.36.0
  • BlueSpiceFoundation: 4.1

OOJSPlus: * VisualEditor: *

IntegratesInto

  • BlueSpiceSaferEdit
  • BlueSpiceVisualEditorConnector
  • VisualEditor

Config

Configuration

Name Value
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

Hooks