K (1 Version importiert) |
hw>Unknown user Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
{{ | ==DescriptionMsg== | ||
{{ | {{AutoDocDescriptionMsg | ||
| | |name = BlueSpiceVisualEditorConnector | ||
|desc = {{int:bs-visualeditorconnector-desc | |||
{{ | }} | ||
}} | |||
==License== | |||
{{AutoDocLicense | |||
|name = GPL-3.0-only | |||
}} | |||
==Requirements== | |||
{{AutoDocRequirements | |||
|mediawiki = {{AutoDocVersion | |||
|name = MediaWiki | |||
|version = 1.35.0 | |||
}} | |||
|extensions = {{AutoDocVersion | |||
|name = BlueSpiceFoundation | |||
|version = 4.0 | |||
}} | |||
{{AutoDocVersion | |||
|name = OOJSPlus | |||
|version = | |||
* | |||
}} | |||
{{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>'{{timestamp}}'</nowiki> | |||
}} | |||
{{AutoDocOption | |||
|name = VisualEditorConnectorSimpleSaveProcess | |||
|value = <nowiki>true</nowiki> | |||
}} | |||
{{AutoDocOption | |||
|name = VisualEditorConnectorTableStyleRegistry | |||
|value = <nowiki>array ( | |||
'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\AddModules::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/NamespaceManager::writeNamespaceConfiguration NamespaceManager::writeNamespaceConfiguration] | |||
|callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerWriteNamespaceConfiguration\WriteToConfiguration::callback | |||
}} | |||
}} | |||
Version vom 7. Dezember 2021, 10:54 Uhr
DescriptionMsg[Bearbeiten | Quelltext bearbeiten]
Verbindet BlueSpice mit dem VisualEditor
License[Bearbeiten | Quelltext bearbeiten]
GPL v3
Requirements[Bearbeiten | Quelltext bearbeiten]
- MediaWiki: 1.35.0
- BlueSpiceFoundation: 4.0
OOJSPlus: * 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 | '{{timestamp}}' |
VisualEditorConnectorSimpleSaveProcess | true |
VisualEditorConnectorTableStyleRegistry | array ( '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' |