(Difference between pages)
hw>Unknown user No edit summary |
hw>Unknown user No edit summary |
||
Line 1: | Line 1: | ||
==DescriptionMsg== | ==DescriptionMsg== | ||
{{AutoDocDescriptionMsg | {{AutoDocDescriptionMsg | ||
|name = | |name = BlueSpiceArticlePreviewCapture | ||
|desc = {{int:bs- | |desc = {{int:bs-articlepreviewcapture-desc | ||
}} | }} | ||
}} | }} | ||
Line 18: | Line 18: | ||
|name = BlueSpiceFoundation | |name = BlueSpiceFoundation | ||
|version = 4.0 | |version = 4.0 | ||
}} | }} | ||
}} | }} | ||
Line 29: | Line 23: | ||
{{AutoDocConfig | {{AutoDocConfig | ||
|config = {{AutoDocOption | |config = {{AutoDocOption | ||
|name = | |name = ArticlePreviewCapturePhantomJSBackend | ||
|value = <nowiki> | |value = <nowiki>'native-shell-exec'</nowiki> | ||
}} | |||
{{AutoDocOption | |||
|name = ArticlePreviewCapturePhantomJSBaseUrl | |||
|value = <nowiki>NULL</nowiki> | |||
}} | |||
{{AutoDocOption | |||
|name = ArticlePreviewCapturePhantomJSEscapeShellCommand | |||
|value = <nowiki>true</nowiki> | |||
}} | |||
{{AutoDocOption | |||
|name = ArticlePreviewCapturePhantomJSExecutable | |||
|value = <nowiki>'/usr/local/bin/phantomjs'</nowiki> | |||
}} | }} | ||
{{AutoDocOption | {{AutoDocOption | ||
|name = | |name = ArticlePreviewCapturePhantomJSOptions | ||
|value = <nowiki> | |value = <nowiki>array ( | ||
0 => '--ignore-ssl-errors', | |||
1 => 'true', | |||
)</nowiki> | |||
}} | }} | ||
{{AutoDocOption | {{AutoDocOption | ||
|name = | |name = ArticlePreviewCapturePhantomJSServiceURL | ||
|value = <nowiki> | |value = <nowiki>NULL</nowiki> | ||
}} | }} | ||
}} | }} | ||
Line 44: | Line 53: | ||
{{AutoDocHooks | {{AutoDocHooks | ||
|Hooks = {{AutoDocCallback | |Hooks = {{AutoDocCallback | ||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ | |name = [https://www.mediawiki.org/wiki/Manual:Hooks/SetupAfterCache SetupAfterCache] | ||
|callback = \BlueSpice\ | |callback = \BlueSpice\ArticlePreviewCapture\Hook\SetupAfterCache\AddForeignFileRepo::callback | ||
}} | }} | ||
}} | }} | ||
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 |