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",
|
|
|
|
"license-name": "GPL-2.0+",
|
|
|
|
"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,
|
|
|
|
"PdfPostProcessor": "convert",
|
|
|
|
"PdfHandlerJpegQuality": 95,
|
|
|
|
"PdftoText": "pdftotext",
|
|
|
|
"PdfProcessor": "gs",
|
|
|
|
"PdfInfo": "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"
|
2015-05-29 03:42:47 +00:00
|
|
|
},
|
|
|
|
"manifest_version": 1
|
2015-05-04 19:28:31 +00:00
|
|
|
}
|