mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PdfHandler
synced 2024-11-24 00:07:10 +00:00
f07840d997
Used File::getMetadataItems is part of I039785d5b6439d71dcc21dcb972177dba5c3a67d Follow-Up: I30d0b0009fcb11c14d14663bd1f2c2a3dfac55d6 Change-Id: Iddacb31efc9ec9da3ba87c7c8cdac04a36a1af39
63 lines
1.1 KiB
JSON
63 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.37.0"
|
|
},
|
|
"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"
|
|
},
|
|
"PdfHandlerShell": {
|
|
"value": "/bin/sh"
|
|
}
|
|
},
|
|
"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
|
|
}
|