{"master":{"name":"DownloadBook","version":"0.1.1","author":"Edward Chernenko","url":"https:\/\/www.mediawiki.org\/wiki\/Extension:DownloadBook","license-name":"GPL-2.0+","type":"specialpage","requires":{"MediaWiki":">= 1.43.0"},"SpecialPages":{"DownloadBook":"MediaWiki\\DownloadBook\\SpecialDownloadBook"},"ExtensionMessagesFiles":{"DownloadBookAlias":"DownloadBook.alias.php"},"Hooks":{"LoadExtensionSchemaUpdates":"MediaWiki\\DownloadBook\\DownloadBookUpdater::onLoadExtensionSchemaUpdates","UserGetReservedNames":"MediaWiki\\DownloadBook\\Hooks::onUserGetReservedNames"},"config":{"DownloadBookConvertCommand":{"value":{"rl":"weasyprint --encoding utf8 {INPUT} {OUTPUT}","epub":"pandoc --from=html --to=epub {INPUT} -o {OUTPUT} --metadata title={METADATA:title} --metadata creator={METADATA:creator}","odf":"pandoc --from=html --to=odt {INPUT} -o {OUTPUT}"},"description":"Shell commands that convert HTML into other formats, e.g. PDF or ePub. Keys are formats from Extension:Collection (e.g. \"rl\" for PDF)."},"DownloadBookFileExtension":{"value":{"rl":"pdf","epub":"epub","odf":"odt"},"description":"Maps of formats from Extension:Collection (e.g. \"rl\") to filename extensions (e.g. \"pdf\")"},"DownloadBookMetadataFromRegex":{"value":{"creator":"\/Author\\s*=\\s*([^\n]+)\/"},"description":"Allows to guess metadata by pattern-matching against the text of the article. Matched value should be surrounded in braces: ( and )."},"DownloadBookDefaultMetadata":{"value":{"creator":"Default creator"},"description":"Values to put into metadata if respective keys weren't found in any other way. E.g. [ 'creator' => 'Name of site' ]."}},"repository":"https:\/\/github.com\/edwardspec\/mediawiki-extension-DownloadBook.git"}}