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"


PDF exclude - start

To submit feedback about this documentation, visit our community forum.

PDF exclude - end