mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-15 03:35:20 +00:00
7683625d9e
Bug: T189982 Change-Id: I719dd65bfe502094fa7b12d5d67d45f92d9daf5b
59 lines
1.1 KiB
JSON
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",
|
|
"i18n/api"
|
|
]
|
|
},
|
|
"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
|
|
} |