Puppet Class: role::pdfhandler
- Defined in:
- puppet/modules/role/manifests/pdfhandler.pp
Overview
Class: role::pdfhandler
The PdfHandler extension shows uploaded PDF files in a multipage preview layout. With the Proofread Page extension enabled, PDFs can be displayed side-by-side with text for transcribing books and other documents, as is commonly done with DjVu files (particularly in Wikisource).
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'puppet/modules/role/manifests/pdfhandler.pp', line 8
class role::pdfhandler {
include ::role::multimedia
require_package('ghostscript')
require_package('imagemagick')
require_package('poppler-utils')
mediawiki::extension { 'PdfHandler':
needs_update => true,
require => Package['ghostscript', 'imagemagick', 'poppler-utils'],
settings => [
'$wgEnableUploads = true',
'$wgFileExtensions[] = \'pdf\'',
],
}
}
|