diff options
Diffstat (limited to 'extensions/PdfHandler/extension.json')
-rw-r--r-- | extensions/PdfHandler/extension.json | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/extensions/PdfHandler/extension.json b/extensions/PdfHandler/extension.json new file mode 100644 index 00000000..0736ee8e --- /dev/null +++ b/extensions/PdfHandler/extension.json @@ -0,0 +1,45 @@ +{ + "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", + "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" + } +} |