mediawiki-extensions-PdfHan.../extension.json
addshore 96709fa847 Bump requirement to MW 1.25+
Due to If4044c38756f96d123cea105312a1863d8b17053

Change-Id: I28f703942e7f6aef15f65680b9f6c6c21f1c1741
2017-01-06 14:41:28 +00:00

50 lines
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": "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"
},
"manifest_version": 1
}