Difference between revisions of "AutoDoc:BlueSpiceVisualEditorConnector"

m (1 revision imported)
hw>Unknown user

DescriptionMsg[edit source]

Connects BlueSpice with VisualEditor

License[edit source]

GPL-3.0-only

Requirements[edit source]

  • MediaWiki: ~11.31
  • BlueSpiceFoundation: ~33.2

OOJSPlus: * VisualEditor: =0.1.0 OOJSPlus: *

IntegratesInto[edit source]

  • BlueSpiceFoundationBlueSpiceSaferEdit
  • BlueSpiceSimpleFarmer
  • BlueSpiceVisualEditorConnector
  • BlueSpiceSimpleFarmer
  • VisualEditor
  • BlueSpiceSaferEdit

Config[edit source]

Configuration[edit source]

Name Value
VisualEditorConnectorEnableVisualEditor true
VisualEditorConnectorUploadDialogType 'original'
VisualEditorConnectorSimpleSaveProcess true
VisualEditorConnectorTableStyleRegistry array ( 'StandardVisualEditorConnectorCellBorderColors array ( 0 => array ( 'code' => '#97bfe7', ), 1 => array ( 'code' => 'wikitable#5185b9', 'Content), 2 => array ( 'code' => 'contenttable#0060df', 'Content (black)' => 'contenttable-black', 'Content (blue)' => 'contenttable-blue', 'Content (darkblue)' => 'contenttable-darkblue', 'Cusco Sky' => 'cuscosky', 'Casablanca' => 'casablanca', 'Greyscale' => 'greyscale', 'Greyscale (narrow)' => 'greyscale-narrow', ) ), 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', ), )
VisualEditorConnectorCellBorderColors array ( 0 => array ( 'code' => '#97bfe7', ), 1 => array ( 'codeVisualEditorConnectorEnableVisualEditor true
VisualEditorConnectorHelpUrl 'https://en.wiki.bluespice.com/wiki/Manual:Extension/VisualEditor'
VisualEditorConnectorPasteFilename '{{timestamp}}'
VisualEditorConnectorSimpleSaveProcess true
VisualEditorConnectorTableStyleRegistry array ( 'Standard' => '#5185b9wikitable', ), 2 => array ( 'code'Content' => '#0060dfcontenttable', ), 3 => array ( 'code' 'Content (black)' => '#3e5389contenttable-black', ), 4 => array ( 'code' 'Content (blue)' => '#e49c00contenttable-blue', ), 5 => array ( 'code' => '#259596', ), 6 => array ( 'code' => '#3fb34c', ), 7 => array ( 'code' => '#cd41cb', ), 8 => array ( 'code'Content (darkblue)' => 'contenttable-darkblue', 'Cusco Sky' => '#b73a3acuscosky', ), 9 => array ( 'code'Casablanca' => '#d2d2d2casablanca', ), 10 => array ( 'code'Greyscale' => '#acacacgreyscale', ), 11 => array ( 'code' => '#787878', ), 12 => array ( 'code' => '#434343', ), 13 => array ( 'code' => '#000000', ), )
VisualEditorConnectorPasteFilename '{{timestamp}}'
VisualEditorConnectorHelpUrl 'https://en.wiki.bluespice.com/wiki/Manual:Extension/VisualEditor'
'Greyscale (narrow)' => 'greyscale-narrow', )
VisualEditorConnectorUploadDialogType 'original'

ApiModules[edit source]

API Modules[edit source]

  • bs-vec-transformtowikitextrestbase-mock
  • bs-vec-transformtohtml
  • bs-vec-restbase-mocktransformtowikitext

Hooks[edit source]

Hooks[edit source]

==DescriptionMsg==
        
        {{AutoDocDescriptionMsg
        
        |name = BlueSpiceVisualEditorConnector
        
        |desc = {{int:bs-visualeditorconnector-desc
        
        }}
        
        }}
        
        ==License==
            
            {{AutoDocLicense
            
            |name = GPL-3.0-only
            
            }}
            
            ==Requirements==
        
        {{AutoDocRequirements
        
        |mediawiki = {{AutoDocVersion
        
        |name = MediaWiki
        
        |version = ~11.31
        
        }}
        
        |extensions = {{AutoDocVersion
        
        |name = BlueSpiceFoundation
        
        |version = ~33.2
        
        }}
        
        {{AutoDocVersion
        
        |name = VisualEditorOOJSPlus
        
        |version =
        
        
        =0.1.0
            
            }}
            
            {{AutoDocVersion
            
            |name = OOJSPlus
            
            |version =
            
            **
            
            }}
            
            {{AutoDocVersion
            
            |name = VisualEditor
            
            |version = =0.1.0
        
        }}
        
        }}
        
        ==IntegratesInto==
        
        {{AutoDocIntegratesInto
        
        |into = {{AutoDocListItem
        
        |item = BlueSpiceFoundationBlueSpiceSaferEdit
        
        }}
        
        {{AutoDocListItem
        
        |item = BlueSpiceVisualEditorConnectorBlueSpiceSimpleFarmer
        
        }}
        
        {{AutoDocListItem
        
        |item = BlueSpiceSimpleFarmerBlueSpiceVisualEditorConnector
        
        }}
        
        {{AutoDocListItem
        
        |item = VisualEditor
        
        }}
        
        
        {{AutoDocListItem
            
            |item = BlueSpiceSaferEdit
            
            }}
            
            }}
            
            
        }}
            
            
        ==Config==
        
        {{AutoDocConfig
        
        |config = {{AutoDocOption
        
        |name = VisualEditorConnectorEnableVisualEditorVisualEditorConnectorCellBorderColors
        
        |value = <nowiki>true</nowiki>
            
            }}
            
            {{AutoDocOption
            
            |name = VisualEditorConnectorUploadDialogType
            
            |value = <nowiki>'original'</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',
            
            )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 = VisualEditorConnectorCellBorderColorsVisualEditorConnectorEnableVisualEditor
        
        |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 = VisualEditorConnectorPasteFilename
            
            |value = <nowiki>'{{timestamp}}'</nowiki>
            
            }}
            
            {{AutoDocOption
            
            |name = VisualEditorConnectorHelpUrl
            
            |value = <nowiki>'https://en.wiki.bluespice.com/wiki/Manual:Extension/VisualEditor'</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>
            
            }}
            
            }}
            
            
        ==ApiModules==
        
        {{AutoDocApiModules
        
        |APIModules = {{AutoDocCallback
        
        |name = bs-vec-transformtowikitextrestbase-mock
        
        |callback = BlueSpice\VisualEditorConnector\Api\TransformToWikiTextRestbaseMock
        
        }}
        
        {{AutoDocCallback
        
        |name = bs-vec-transformtohtml
        
        |callback = BlueSpice\VisualEditorConnector\Api\TransformToHtml
        
        }}
        
        {{AutoDocCallback
        
        |name = bs-vec-restbase-mocktransformtowikitext
        
        |callback = BlueSpice\VisualEditorConnector\Api\RestbaseMockTransformToWikiText
        
        }}
        
        }}
        
        ==Hooks==
        
        {{AutoDocHooks
        
        |Hooks = {{AutoDocCallback
        
        |name = APIAfterExecute
            
            
        [https://www.mediawiki.org/wiki/Manual:Hooks/APIAfterExecute APIAfterExecute]
            
            
        |callback = \BlueSpice\VisualEditorConnector\Hook\APIAfterExecute\WrapPreloadText::callback
        
        }}
        
        {{AutoDocCallback
        
        |name = BSSocialModuleDepths
            
            
        [https://www.mediawiki.org/wiki/Manual:Hooks/BSApiNamespaceStoreMakeData BSApiNamespaceStoreMakeData]
            
            
        |callback = \BlueSpice\VisualEditorConnector\Hook\BSSocialModuleDepths\AddVECModulesBSApiNamespaceStoreMakeData\AddData::callback
        
        }}
        
        {{AutoDocCallback
        
        |name = BSPageTemplatesModifyTargetUrl
            
            
        [https://www.mediawiki.org/wiki/Manual:Hooks/BSPageTemplatesModifyTargetUrl BSPageTemplatesModifyTargetUrl]
            
            
        |callback = \BlueSpice\VisualEditorConnector\Hook\BSPageTemplatesModifyTargetUrl\UseVisualEditor::callback
        
        }}
        
        {{AutoDocCallback
        
        |name = BeforePageDisplay
            
            
        [https://www.mediawiki.org/wiki/Manual:Hooks/BSSocialModuleDepths BSSocialModuleDepths]
            
            
        |callback = \BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddModulesBSSocialModuleDepths\AddVECModules::callback,\BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddSaveProcessOverride::callback,\BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddStaticStyles::callback
            
            }}
            
            {{AutoDocCallback
            
            |name = NamespaceManager::getMetaFields
            
            
        
            
            }}
            
            {{AutoDocCallback
            
            |name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFBeforeAddingStyleBlocks BSUEModulePDFBeforeAddingStyleBlocks]
            
            
        |callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerGetMetaFields\RegisterMetaFieldsBSUEModulePDFBeforeAddingStyleBlock\AddColors::callback
        
        }}
        
        {{AutoDocCallback
        
        |name = BSApiNamespaceStoreMakeData
            
            
        [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
            
            
        |callback = \BlueSpice\VisualEditorConnector\Hook\BSApiNamespaceStoreMakeData\AddDataBeforePageDisplay\AddModules::callback
            
            }}
            
            {{AutoDocCallback
            
            |name = NamespaceManager::editNamespace
            
            
        , \BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddSaveProcessOverride::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 = NamespaceManager::writeNamespaceConfiguration
            
            
        [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::getMetaFields NamespaceManager::getMetaFields]
            
            
        |callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerWriteNamespaceConfiguration\WriteToConfigurationNamespaceManagerGetMetaFields\RegisterMetaFields::callback
        
        }}
        
        {{AutoDocCallback
        
        |name = BSUEModulePDFBeforeAddingStyleBlocks
            
            
        [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::writeNamespaceConfiguration NamespaceManager::writeNamespaceConfiguration]
            
            
        |callback = \BlueSpice\VisualEditorConnector\Hook\BSUEModulePDFBeforeAddingStyleBlock\AddColorsNamespaceManagerWriteNamespaceConfiguration\WriteToConfiguration::callback
        
        }}
        
        }}
Line 4: Line 4:
 
|desc = {{int:bs-visualeditorconnector-desc
 
|desc = {{int:bs-visualeditorconnector-desc
 
}}
 
}}
 +
}}
 +
==License==
 +
{{AutoDocLicense
 +
|name = GPL-3.0-only
 
}}
 
}}
 
==Requirements==
 
==Requirements==
Line 9: Line 13:
 
|mediawiki = {{AutoDocVersion
 
|mediawiki = {{AutoDocVersion
 
|name = MediaWiki
 
|name = MediaWiki
|version = ~1.31
+
|version = 1.31
 
}}
 
}}
 
|extensions = {{AutoDocVersion
 
|extensions = {{AutoDocVersion
 
|name = BlueSpiceFoundation
 
|name = BlueSpiceFoundation
|version = ~3.2
+
|version = 3.2
}}
 
{{AutoDocVersion
 
|name = VisualEditor
 
|version = =0.1.0
 
 
}}
 
}}
 
{{AutoDocVersion
 
{{AutoDocVersion
Line 23: Line 23:
 
|version =
 
|version =
 
*
 
*
 +
}}
 +
{{AutoDocVersion
 +
|name = VisualEditor
 +
|version = =0.1.0
 
}}
 
}}
 
}}
 
}}
Line 28: Line 32:
 
{{AutoDocIntegratesInto
 
{{AutoDocIntegratesInto
 
|into = {{AutoDocListItem
 
|into = {{AutoDocListItem
|item = BlueSpiceFoundation
+
|item = BlueSpiceSaferEdit
 
}}
 
}}
 
{{AutoDocListItem
 
{{AutoDocListItem
|item = BlueSpiceVisualEditorConnector
+
|item = BlueSpiceSimpleFarmer
 
}}
 
}}
 
{{AutoDocListItem
 
{{AutoDocListItem
|item = BlueSpiceSimpleFarmer
+
|item = BlueSpiceVisualEditorConnector
 
}}
 
}}
 
{{AutoDocListItem
 
{{AutoDocListItem
 
|item = VisualEditor
 
|item = VisualEditor
}}
 
{{AutoDocListItem
 
|item = BlueSpiceSaferEdit
 
 
}}
 
}}
 
}}
 
}}
Line 46: Line 47:
 
{{AutoDocConfig
 
{{AutoDocConfig
 
|config = {{AutoDocOption
 
|config = {{AutoDocOption
|name = VisualEditorConnectorEnableVisualEditor
+
|name = VisualEditorConnectorCellBorderColors
|value = <nowiki>true</nowiki>
 
}}
 
{{AutoDocOption
 
|name = VisualEditorConnectorUploadDialogType
 
|value = <nowiki>'original'</nowiki>
 
}}
 
{{AutoDocOption
 
|name = VisualEditorConnectorSimpleSaveProcess
 
|value = <nowiki>true</nowiki>
 
}}
 
{{AutoDocOption
 
|name = VisualEditorConnectorTableStyleRegistry
 
 
|value = <nowiki>array (
 
|value = <nowiki>array (
   'Standard' => 'wikitable',
+
   0 =>
   'Content' => 'contenttable',
+
  array (
   'Content (black)' => 'contenttable-black',
+
    'code' => '#97bfe7',
   'Content (blue)' => 'contenttable-blue',
+
   ),
   'Content (darkblue)' => 'contenttable-darkblue',
+
  1 =>
   'Cusco Sky' => 'cuscosky',
+
  array (
   'Casablanca' => 'casablanca',
+
    'code' => '#5185b9',
   'Greyscale' => 'greyscale',
+
   ),
   'Greyscale (narrow)' => 'greyscale-narrow',
+
  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>
 
)</nowiki>
 
}}
 
}}
Line 232: Line 268:
 
}}
 
}}
 
{{AutoDocOption
 
{{AutoDocOption
|name = VisualEditorConnectorCellBorderColors
+
|name = VisualEditorConnectorEnableVisualEditor
|value = <nowiki>array (
+
|value = <nowiki>true</nowiki>
  0 =>  
+
}}
  array (
+
{{AutoDocOption
    'code' => '#97bfe7',
+
|name = VisualEditorConnectorHelpUrl
  ),
+
|value = <nowiki>'https://en.wiki.bluespice.com/wiki/Manual:Extension/VisualEditor'</nowiki>
  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
 
{{AutoDocOption
Line 297: Line 280:
 
}}
 
}}
 
{{AutoDocOption
 
{{AutoDocOption
|name = VisualEditorConnectorHelpUrl
+
|name = VisualEditorConnectorSimpleSaveProcess
|value = <nowiki>'https://en.wiki.bluespice.com/wiki/Manual:Extension/VisualEditor'</nowiki>
+
|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>
 
}}
 
}}
 
}}
 
}}
Line 304: Line 305:
 
{{AutoDocApiModules
 
{{AutoDocApiModules
 
|APIModules = {{AutoDocCallback
 
|APIModules = {{AutoDocCallback
|name = bs-vec-transformtowikitext
+
|name = bs-vec-restbase-mock
|callback = BlueSpice\VisualEditorConnector\Api\TransformToWikiText
+
|callback = BlueSpice\VisualEditorConnector\Api\RestbaseMock
 
}}
 
}}
 
{{AutoDocCallback
 
{{AutoDocCallback
Line 312: Line 313:
 
}}
 
}}
 
{{AutoDocCallback
 
{{AutoDocCallback
|name = bs-vec-restbase-mock
+
|name = bs-vec-transformtowikitext
|callback = BlueSpice\VisualEditorConnector\Api\RestbaseMock
+
|callback = BlueSpice\VisualEditorConnector\Api\TransformToWikiText
 
}}
 
}}
 
}}
 
}}
Line 319: Line 320:
 
{{AutoDocHooks
 
{{AutoDocHooks
 
|Hooks = {{AutoDocCallback
 
|Hooks = {{AutoDocCallback
|name = APIAfterExecute
+
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/APIAfterExecute APIAfterExecute]
 
|callback = \BlueSpice\VisualEditorConnector\Hook\APIAfterExecute\WrapPreloadText::callback
 
|callback = \BlueSpice\VisualEditorConnector\Hook\APIAfterExecute\WrapPreloadText::callback
 
}}
 
}}
 
{{AutoDocCallback
 
{{AutoDocCallback
|name = BSSocialModuleDepths
+
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSApiNamespaceStoreMakeData BSApiNamespaceStoreMakeData]
|callback = \BlueSpice\VisualEditorConnector\Hook\BSSocialModuleDepths\AddVECModules::callback
+
|callback = \BlueSpice\VisualEditorConnector\Hook\BSApiNamespaceStoreMakeData\AddData::callback
 
}}
 
}}
 
{{AutoDocCallback
 
{{AutoDocCallback
|name = BSPageTemplatesModifyTargetUrl
+
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSPageTemplatesModifyTargetUrl BSPageTemplatesModifyTargetUrl]
 
|callback = \BlueSpice\VisualEditorConnector\Hook\BSPageTemplatesModifyTargetUrl\UseVisualEditor::callback
 
|callback = \BlueSpice\VisualEditorConnector\Hook\BSPageTemplatesModifyTargetUrl\UseVisualEditor::callback
 
}}
 
}}
 
{{AutoDocCallback
 
{{AutoDocCallback
|name = BeforePageDisplay
+
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSSocialModuleDepths BSSocialModuleDepths]
|callback = \BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddModules::callback,\BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddSaveProcessOverride::callback,\BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddStaticStyles::callback
+
|callback = \BlueSpice\VisualEditorConnector\Hook\BSSocialModuleDepths\AddVECModules::callback
 
}}
 
}}
 
{{AutoDocCallback
 
{{AutoDocCallback
|name = NamespaceManager::getMetaFields
+
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFBeforeAddingStyleBlocks BSUEModulePDFBeforeAddingStyleBlocks]
|callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerGetMetaFields\RegisterMetaFields::callback
+
|callback = \BlueSpice\VisualEditorConnector\Hook\BSUEModulePDFBeforeAddingStyleBlock\AddColors::callback
 
}}
 
}}
 
{{AutoDocCallback
 
{{AutoDocCallback
|name = BSApiNamespaceStoreMakeData
+
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|callback = \BlueSpice\VisualEditorConnector\Hook\BSApiNamespaceStoreMakeData\AddData::callback
+
|callback = \BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddModules::callback, \BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddSaveProcessOverride::callback, \BlueSpice\VisualEditorConnector\Hook\BeforePageDisplay\AddStaticStyles::callback
 
}}
 
}}
 
{{AutoDocCallback
 
{{AutoDocCallback
|name = NamespaceManager::editNamespace
+
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::editNamespace NamespaceManager::editNamespace]
 
|callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerEditNamespace\SetVisualEditorValues::callback
 
|callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerEditNamespace\SetVisualEditorValues::callback
 
}}
 
}}
 
{{AutoDocCallback
 
{{AutoDocCallback
|name = NamespaceManager::writeNamespaceConfiguration
+
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::getMetaFields NamespaceManager::getMetaFields]
|callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerWriteNamespaceConfiguration\WriteToConfiguration::callback
+
|callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerGetMetaFields\RegisterMetaFields::callback
 
}}
 
}}
 
{{AutoDocCallback
 
{{AutoDocCallback
|name = BSUEModulePDFBeforeAddingStyleBlocks
+
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::writeNamespaceConfiguration NamespaceManager::writeNamespaceConfiguration]
|callback = \BlueSpice\VisualEditorConnector\Hook\BSUEModulePDFBeforeAddingStyleBlock\AddColors::callback
+
|callback = \BlueSpice\VisualEditorConnector\Hook\NamespaceManagerWriteNamespaceConfiguration\WriteToConfiguration::callback
 
}}
 
}}
 
}}
 
}}

Attachments

Discussions