mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-12-03 12:16:37 +00:00
7cf9db11ca
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly. Change-Id: Ica46fa97ca72a58192ff90447f2a72d3d90b4b4a
70 lines
1.2 KiB
JSON
70 lines
1.2 KiB
JSON
{
|
|
"name": "TextExtracts",
|
|
"author": [
|
|
"Max Semenik"
|
|
],
|
|
"requires": {
|
|
"MediaWiki": ">= 1.41"
|
|
},
|
|
"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",
|
|
"WikiPageFactory"
|
|
]
|
|
}
|
|
},
|
|
"MessagesDirs": {
|
|
"TextExtracts": [
|
|
"i18n",
|
|
"i18n/api"
|
|
]
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"TextExtracts\\": "includes/"
|
|
},
|
|
"Hooks": {
|
|
"ApiOpenSearchSuggest": "main"
|
|
},
|
|
"HookHandlers": {
|
|
"main": {
|
|
"class": "TextExtracts\\Hooks"
|
|
}
|
|
},
|
|
"config": {
|
|
"ExtractsRemoveClasses": {
|
|
"value": [
|
|
"table",
|
|
"div",
|
|
"figure",
|
|
"script",
|
|
"input",
|
|
"style",
|
|
"ul.gallery",
|
|
".mw-editsection",
|
|
"sup.reference",
|
|
"ol.references",
|
|
".error",
|
|
".nomobile",
|
|
".noprint",
|
|
".noexcerpt",
|
|
".sortkey"
|
|
]
|
|
},
|
|
"ExtractsExtendOpenSearchXml": {
|
|
"value": false
|
|
}
|
|
},
|
|
"manifest_version": 2
|
|
}
|