mediawiki-extensions-TextEx.../extension.json

54 lines
1.1 KiB
JSON
Raw Normal View History

{
"name": "TextExtracts",
"author": [
"Max Semenik"
],
"url": "https://www.mediawiki.org/wiki/Extension:TextExtracts",
"descriptionmsg": "textextracts-desc",
"license-name": "GPL-2.0+",
"type": "other",
"ConfigRegistry": {
"textextracts": "GlobalVarConfig::newInstance"
},
"APIPropModules": {
"extracts": {
"class": "TextExtracts\\ApiQueryExtracts",
"factory": "TextExtracts\\ApiQueryExtracts::factory"
}
},
"MessagesDirs": {
"TextExtracts": [
"i18n"
]
},
"AutoloadClasses": {
"TextExtracts\\ApiQueryExtracts": "includes/ApiQueryExtracts.php",
"TextExtracts\\ExtractFormatter": "includes/ExtractFormatter.php",
"TextExtracts\\Hooks": "includes/Hooks.php"
},
"Hooks": {
"OpenSearchXml": [
"TextExtracts\\Hooks::onApiOpenSearchSuggest"
],
"ApiOpenSearchSuggest": [
"TextExtracts\\Hooks::onApiOpenSearchSuggest"
]
},
"config": {
"ExtractsRemoveClasses": [
"table",
"div",
"ul.gallery",
".mw-editsection",
"sup.reference",
"ol.references",
".error",
".nomobile",
".noprint",
".noexcerpt"
],
"ExtractsExtendOpenSearchXml": false
},
"manifest_version": 1
}