Last edited 2 years ago
by Anonymous user

AutoDoc:AutoDoc:BlueSpiceWikiExplorer and AutoDoc:BlueSpiceArticlePreviewCapture: Difference between pages

(Difference between pages)
hw>Unknown user
No edit summary
 
m (1 revision imported)
 
Line 1: Line 1:
==DescriptionMsg==
==DescriptionMsg==
{{AutoDocDescriptionMsg
{{AutoDocDescriptionMsg
|name = BlueSpiceWikiExplorer
|name = BlueSpiceArticlePreviewCapture
|desc = {{int:bs-wikiexplorer-extension-description
|desc = {{int:bs-articlepreviewcapture-desc
}}
}}
}}
}}
Line 20: Line 20:
}}
}}
}}
}}
==SpecialPages==
==Config==
{{AutoDocSpecialPages
{{AutoDocConfig
|SpecialPages = {{AutoDocCallback
|config = {{AutoDocOption
|name = WikiExplorer
|name = ArticlePreviewCapturePhantomJSBackend
|callback = SpecialWikiExplorer
|value = <nowiki>'native-shell-exec'</nowiki>
}}
}}
{{AutoDocOption
|name = ArticlePreviewCapturePhantomJSBaseUrl
|value = <nowiki>NULL</nowiki>
}}
}}
==ApiModules==
{{AutoDocOption
{{AutoDocApiModules
|name = ArticlePreviewCapturePhantomJSEscapeShellCommand
|APIModules = {{AutoDocCallback
|value = <nowiki>true</nowiki>
|name = bs-wikiexplorer-store
}}
|callback = BSApiWikiExplorerStore
{{AutoDocOption
|name = ArticlePreviewCapturePhantomJSExecutable
|value = <nowiki>'/usr/local/bin/phantomjs'</nowiki>
}}
{{AutoDocOption
|name = ArticlePreviewCapturePhantomJSOptions
|value = <nowiki>array (
  0 => '--ignore-ssl-errors',
  1 => 'true',
)</nowiki>
}}
{{AutoDocOption
|name = ArticlePreviewCapturePhantomJSServiceURL
|value = <nowiki>NULL</nowiki>
}}
}}
}}
}}
Line 37: Line 53:
{{AutoDocHooks
{{AutoDocHooks
|Hooks = {{AutoDocCallback
|Hooks = {{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUserSidebarGlobalActionsWidgetGlobalActions BSUserSidebarGlobalActionsWidgetGlobalActions]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/SetupAfterCache SetupAfterCache]
|callback = WikiExplorer::onBSUserSidebarGlobalActionsWidgetGlobalActions
|callback = \BlueSpice\ArticlePreviewCapture\Hook\SetupAfterCache\AddForeignFileRepo::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|callback = \BlueSpice\WikiExplorer\Hook\BeforePageDisplay\AddModuleStyles::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ChameleonSkinTemplateOutputPageBeforeExec ChameleonSkinTemplateOutputPageBeforeExec]
|callback = \BlueSpice\WikiExplorer\Hook\ChameleonSkinTemplateOutputPageBeforeExec\AddWikiExplorer::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MWStakeCommonUIRegisterSkinSlotComponents MWStakeCommonUIRegisterSkinSlotComponents]
|callback = common-user-interface
}}
}}
}}
}}



Revision as of 12:53, 14 December 2021

DescriptionMsg

Creates preview images of wikipages for dynamic file dispatcher

License

GPL-3.0-only

Requirements

  • MediaWiki: 1.35.0
  • BlueSpiceFoundation: 4.0

Config

Configuration

Name Value
ArticlePreviewCapturePhantomJSBackend 'native-shell-exec'
ArticlePreviewCapturePhantomJSBaseUrl NULL
ArticlePreviewCapturePhantomJSEscapeShellCommand true
ArticlePreviewCapturePhantomJSExecutable '/usr/local/bin/phantomjs'
ArticlePreviewCapturePhantomJSOptions array ( 0 => '--ignore-ssl-errors', 1 => 'true', )
ArticlePreviewCapturePhantomJSServiceURL NULL

Hooks

Hooks

No categories assignedEdit

Discussions