mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PdfHandler
synced 2024-11-24 00:07:10 +00:00
88b9041c41
Bug: T183858 Change-Id: I0f8893a160a284b7e200617390aa97774cf32efc
50 lines
1.1 KiB
JSON
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-or-later",
|
|
"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
|
|
}
|