(Difference between pages)
hw>Unknown user No edit summary |
m (1 revision imported) |
||
Line 1: | Line 1: | ||
==DescriptionMsg== | ==DescriptionMsg== | ||
{{AutoDocDescriptionMsg | {{AutoDocDescriptionMsg | ||
|name = | |name = BlueSpiceArticlePreviewCapture | ||
|desc = {{int:bs- | |desc = {{int:bs-articlepreviewcapture-desc | ||
}} | }} | ||
}} | }} | ||
Line 20: | Line 20: | ||
}} | }} | ||
}} | }} | ||
== | ==Config== | ||
{{ | {{AutoDocConfig | ||
| | |config = {{AutoDocOption | ||
|name = | |name = ArticlePreviewCapturePhantomJSBackend | ||
| | |value = <nowiki>'native-shell-exec'</nowiki> | ||
}} | }} | ||
{{AutoDocOption | |||
|name = ArticlePreviewCapturePhantomJSBaseUrl | |||
|value = <nowiki>NULL</nowiki> | |||
}} | }} | ||
== | {{AutoDocOption | ||
{{ | |name = ArticlePreviewCapturePhantomJSEscapeShellCommand | ||
| | |value = <nowiki>true</nowiki> | ||
|name = | }} | ||
| | {{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/ | |name = [https://www.mediawiki.org/wiki/Manual:Hooks/SetupAfterCache SetupAfterCache] | ||
|callback = \BlueSpice\ArticlePreviewCapture\Hook\SetupAfterCache\AddForeignFileRepo::callback | |||
|callback = \BlueSpice\ | |||
}} | }} | ||
}} | }} | ||
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 |