summaryrefslogtreecommitdiff
path: root/extensions/PdfHandler/extension.json
blob: 0736ee8e7091ac3034779bd509d23db17c64d326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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"
	}
}