mediawiki-extensions-TextEx.../extension.json
Reedy 9a2aacde39 Convert to manifest_version 2
Bug: T252470
Change-Id: I514df27723fddc635968dc1ee38db38bd1ab1fa8
2020-05-12 02:05:32 +01:00

61 lines
1.1 KiB
JSON

{
"name": "TextExtracts",
"author": [
"Max Semenik"
],
"requires": {
"MediaWiki": ">= 1.31.0"
},
"url": "https://www.mediawiki.org/wiki/Extension:TextExtracts",
"descriptionmsg": "textextracts-desc",
"license-name": "GPL-2.0-or-later",
"type": "other",
"ConfigRegistry": {
"textextracts": "GlobalVarConfig::newInstance"
},
"APIPropModules": {
"extracts": {
"class": "TextExtracts\\ApiQueryExtracts",
"factory": "TextExtracts\\ApiQueryExtracts::factory"
}
},
"MessagesDirs": {
"TextExtracts": [
"i18n",
"i18n/api"
]
},
"AutoloadNamespaces": {
"TextExtracts\\": "includes/"
},
"Hooks": {
"ApiOpenSearchSuggest": [
"TextExtracts\\Hooks::onApiOpenSearchSuggest"
]
},
"config": {
"ExtractsRemoveClasses": {
"value": [
"table",
"div",
"script",
"input",
"style",
"ul.gallery",
".mw-editsection",
"sup.reference",
"ol.references",
".error",
".nomobile",
".noprint",
".noexcerpt",
".sortkey"
]
},
"ExtractsExtendOpenSearchXml": {
"value": false
}
},
"manifest_version": 2
}