mediawiki-extensions-TextEx.../extension.json
James D. Forrester 919fc17a13 build: Update MediaWiki requirement to 1.43
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Id189f2bcee4f05501bf2f361579f036ec64614b3
2024-08-22 18:33:38 -04:00

78 lines
1.3 KiB
JSON

{
"name": "TextExtracts",
"author": [
"Max Semenik"
],
"requires": {
"MediaWiki": ">= 1.43"
},
"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",
"TitleFormatter"
]
}
},
"MessagesDirs": {
"TextExtracts": [
"i18n",
"i18n/api"
]
},
"AutoloadNamespaces": {
"TextExtracts\\": "includes/"
},
"Hooks": {
"ApiOpenSearchSuggest": "main",
"SearchResultProvideDescription": "main"
},
"HookHandlers": {
"main": {
"class": "TextExtracts\\Hooks",
"services": [
"ConfigFactory"
]
}
},
"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
},
"ExtractsExtendRestSearch": {
"value": false
}
},
"manifest_version": 2
}