Revision as of 07:30, 21 May 2024 by Margit Link-Rodrigue (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

all maintenance scripts

Extension

BlueSpice Extension: BlueSpiceUEModuleBookPDF

Usage

This script allows to export the wiki pages from all content namespaces to PDF.


To run the script, execute:

php {MW_ROOT}/extensions/BlueSpiceUEModuleBookPDF/maintenance/dumpPDF.php --file=<localpath> --limit=200 --mail=admin@mymail.com

Options

  • --file: Defines the output path and the base filename.
    This name will be appended with the namespace number and — if --limit is set — with the split group. Example: --file=/tmp/test.pdf will result in /tmp/test_0.pdf or /tmp/test_0_ABC.pdf.
  • --limit: Sets a limit for wikipages in a namespace included in one pdf. If the limit is exceeded, the namspace 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.
  • --verbose: Runs the script in verbose mode.
  • --mail: E-mail address for a notification email.




You can see the list of possible options with descriptions by using the following command:

php {MW_ROOT}/extensions/BlueSpiceUEModuleBookPDF/maintenance/dumpPDF.php --help



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