mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PdfHandler
synced 2024-11-27 17:50:47 +00:00
48079ff715
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly. Change-Id: Iaef14d8797fe5498f9e5a65616d036f153660e02
60 lines
1.1 KiB
JSON
60 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.43"
|
|
},
|
|
"config": {
|
|
"PdfOutputExtension": {
|
|
"value": "jpg"
|
|
},
|
|
"PdfHandlerDpi": {
|
|
"value": 150
|
|
},
|
|
"PdfPostProcessor": {
|
|
"value": "/usr/bin/convert"
|
|
},
|
|
"PdfHandlerJpegQuality": {
|
|
"value": 95
|
|
},
|
|
"PdftoText": {
|
|
"value": "/usr/bin/pdftotext"
|
|
},
|
|
"PdfProcessor": {
|
|
"value": "/usr/bin/gs"
|
|
},
|
|
"PdfInfo": {
|
|
"value": "/usr/bin/pdfinfo"
|
|
}
|
|
},
|
|
"MessagesDirs": {
|
|
"PdfHandler": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ResourceModules": {
|
|
"pdfhandler.messages": {
|
|
"messages": [
|
|
"pdf-file-page-warning",
|
|
"pdf-file-page-warning-header",
|
|
"pdf-file-page-warning-info",
|
|
"pdf-file-page-warning-footer"
|
|
]
|
|
}
|
|
},
|
|
"MediaHandlers": {
|
|
"application/pdf": "MediaWiki\\Extension\\PdfHandler\\PdfHandler"
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Extension\\PdfHandler\\": "includes/"
|
|
},
|
|
"manifest_version": 2
|
|
}
|