2015-05-04 19:28:31 +00:00
|
|
|
{
|
|
|
|
"name": "PDF Handler",
|
|
|
|
"author": [
|
|
|
|
"Martin Seidel",
|
|
|
|
"Mike Połtyn"
|
|
|
|
],
|
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:PdfHandler",
|
|
|
|
"descriptionmsg": "pdf-desc",
|
2018-01-29 06:02:51 +00:00
|
|
|
"license-name": "GPL-2.0-or-later",
|
2015-05-04 19:28:31 +00:00
|
|
|
"type": "media",
|
2017-01-06 14:40:45 +00:00
|
|
|
"requires": {
|
|
|
|
"MediaWiki": ">= 1.25.0"
|
|
|
|
},
|
2015-05-04 19:28:31 +00:00
|
|
|
"config": {
|
|
|
|
"PdfOutputExtension": "jpg",
|
|
|
|
"PdfHandlerDpi": 150,
|
|
|
|
"PdfCreateThumbnailsInJobQueue": false,
|
2017-08-29 00:03:16 +00:00
|
|
|
"PdfPostProcessor": "/usr/bin/convert",
|
2015-05-04 19:28:31 +00:00
|
|
|
"PdfHandlerJpegQuality": 95,
|
2017-08-29 00:03:16 +00:00
|
|
|
"PdftoText": "/usr/bin/pdftotext",
|
|
|
|
"PdfProcessor": "/usr/bin/gs",
|
|
|
|
"PdfInfo": "/usr/bin/pdfinfo"
|
2015-05-04 19:28:31 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"PdfHandler": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Hooks": {
|
|
|
|
"UploadVerifyFile": [
|
|
|
|
"CreatePdfThumbnailsJob::insertJobs"
|
|
|
|
],
|
|
|
|
"ResourceLoaderRegisterModules": [
|
|
|
|
"PdfHandler::registerWarningModule"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"JobClasses": {
|
|
|
|
"createPdfThumbnailsJob": "CreatePdfThumbnailsJob"
|
|
|
|
},
|
|
|
|
"MediaHandlers": {
|
|
|
|
"application/pdf": "PdfHandler"
|
|
|
|
},
|
|
|
|
"AutoloadClasses": {
|
2018-02-24 22:12:42 +00:00
|
|
|
"PdfImage": "includes/PdfImage.php",
|
|
|
|
"PdfHandler": "includes/PdfHandler.php",
|
|
|
|
"CreatePdfThumbnailsJob": "includes/CreatePdfThumbnailsJob.php"
|
2015-05-29 03:42:47 +00:00
|
|
|
},
|
|
|
|
"manifest_version": 1
|
2015-05-04 19:28:31 +00:00
|
|
|
}
|