No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
{{Textbox|boxtype=warning|header=Review PDF export compatibility!|text= | {{Textbox|boxtype=warning|header=Review PDF export compatibility!|text=This script works in BlueSpice 5. [[en4:Setup:Installation_Guide/Advanced/Maintenance_scripts/dumpPDF|Switch to the BlueSpice 4 helpdesk for the dumpPDF script of BlueSpice 4]].|icon=yes}} | ||
== Extension == | == Extension == | ||
BlueSpice Extension: [[Reference:PDFCreator|PDFCreator]] | BlueSpice Extension: [[Reference:PDFCreator|PDFCreator]] |
Latest revision as of 12:16, 19 May 2025
Review PDF export compatibility!This script works in BlueSpice 5. Switch to the BlueSpice 4 helpdesk for the dumpPDF script of BlueSpice 4.
Extension
BlueSpice Extension: PDFCreator
Usage
This script allows to export the wiki pages from all content namespaces to PDF.
To run the script, execute:
php extensions/PDFCreator/maintenance/DumpNamespaces.php --user=WikiSysop --dest=cache/ --limit=100
Required parameters
--user
: Username for the export context--dest
: Absolute path of the output pdf file
Optional parameters
--limit
: Limit the number of wiki pages for each pdf. If the limit is exceeded, the namespace will be split into pdfs depending on the first character of the page name. If the parameter --limit is not set, all pages of a namespace will be exported to one pdf file.--template:
PDF template name--mail-recipient
: E-mail address for a notification email.--mail-subject
: E-mail subject for a notification email.--verbose
: Runs the script in verbose mode.
php extensions/PDFCreator/maintenance/DumpNamespaces.php --user=WikiSysop --dest=cache/ --limit=100 --template=MyTemplate --mail-recipient=me@my-server.test --mail-subject="Namespace dump for wiki test"