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": {
|
2020-03-14 13:46:27 +00:00
|
|
|
"MediaWiki": ">= 1.34.0"
|
2017-01-06 14:40:45 +00:00
|
|
|
},
|
2015-05-04 19:28:31 +00:00
|
|
|
"config": {
|
2020-05-12 01:04:08 +00:00
|
|
|
"PdfOutputExtension": {
|
|
|
|
"value": "jpg"
|
|
|
|
},
|
|
|
|
"PdfHandlerDpi": {
|
|
|
|
"value": 150
|
|
|
|
},
|
|
|
|
"PdfCreateThumbnailsInJobQueue": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"PdfPostProcessor": {
|
|
|
|
"value": "/usr/bin/convert"
|
|
|
|
},
|
|
|
|
"PdfHandlerJpegQuality": {
|
|
|
|
"value": 95
|
|
|
|
},
|
|
|
|
"PdftoText": {
|
|
|
|
"value": "/usr/bin/pdftotext"
|
|
|
|
},
|
|
|
|
"PdfProcessor": {
|
|
|
|
"value": "/usr/bin/gs"
|
|
|
|
},
|
|
|
|
"PdfInfo": {
|
|
|
|
"value": "/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
|
|
|
},
|
2020-05-12 01:04:08 +00:00
|
|
|
"manifest_version": 2
|
2015-05-04 19:28:31 +00:00
|
|
|
}
|