mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-12-18 10:53:17 +00:00
d7f93f5c17
All services can be injected by bumping minimum version of mediawiki (1.34 would be enough, but since that is no longer supported require 1.35) Change-Id: I8bb1573a02932ef5f2871606e94a41afe073fd00
65 lines
1.1 KiB
JSON
65 lines
1.1 KiB
JSON
{
|
|
"name": "TextExtracts",
|
|
"author": [
|
|
"Max Semenik"
|
|
],
|
|
"requires": {
|
|
"MediaWiki": ">= 1.35.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",
|
|
"services": [
|
|
"ConfigFactory",
|
|
"MainWANObjectCache",
|
|
"LanguageConverterFactory"
|
|
]
|
|
}
|
|
},
|
|
"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
|
|
}
|