mediawiki-extensions-PdfHan.../extension.json
Reedy 77390a722b Use full path to binaries
Change-Id: Ide41d292b2ac4c6b448020db0109c0ed74bbc32e
2017-08-29 01:03:16 +01:00

50 lines
1.1 KiB
JSON

{
"name": "PDF Handler",
"author": [
"Martin Seidel",
"Mike Połtyn"
],
"url": "https://www.mediawiki.org/wiki/Extension:PdfHandler",
"descriptionmsg": "pdf-desc",
"license-name": "GPL-2.0+",
"type": "media",
"requires": {
"MediaWiki": ">= 1.25.0"
},
"config": {
"PdfOutputExtension": "jpg",
"PdfHandlerDpi": 150,
"PdfCreateThumbnailsInJobQueue": false,
"PdfPostProcessor": "/usr/bin/convert",
"PdfHandlerJpegQuality": 95,
"PdftoText": "/usr/bin/pdftotext",
"PdfProcessor": "/usr/bin/gs",
"PdfInfo": "/usr/bin/pdfinfo"
},
"MessagesDirs": {
"PdfHandler": [
"i18n"
]
},
"Hooks": {
"UploadVerifyFile": [
"CreatePdfThumbnailsJob::insertJobs"
],
"ResourceLoaderRegisterModules": [
"PdfHandler::registerWarningModule"
]
},
"JobClasses": {
"createPdfThumbnailsJob": "CreatePdfThumbnailsJob"
},
"MediaHandlers": {
"application/pdf": "PdfHandler"
},
"AutoloadClasses": {
"PdfImage": "PdfHandler.image.php",
"PdfHandler": "PdfHandler_body.php",
"CreatePdfThumbnailsJob": "CreatePdfThumbnailsJob.class.php"
},
"manifest_version": 1
}