mediawiki-extensions-TextEx.../extension.json
Max Semenik e234409518 Use AutoloadNamespaces
Change-Id: I4cbf02365c6a33431e6614d971ac12f0a67823a9
2019-03-17 18:32:26 -07:00

59 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"
]
},
"AutoloadNamespaces": {
"TextExtracts\\": "includes/"
},
"Hooks": {
"OpenSearchXml": [
"TextExtracts\\Hooks::onApiOpenSearchSuggest"
],
"ApiOpenSearchSuggest": [
"TextExtracts\\Hooks::onApiOpenSearchSuggest"
]
},
"config": {
"ExtractsRemoveClasses": [
"table",
"div",
"script",
"input",
"style",
"ul.gallery",
".mw-editsection",
"sup.reference",
"ol.references",
".error",
".nomobile",
".noprint",
".noexcerpt",
".sortkey"
],
"ExtractsExtendOpenSearchXml": false
},
"manifest_version": 1
}