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

Change-Id: I29fd0a17e6f5bf8da5f4a436fbfaa08585218963
2024-01-12 18:33:00 -05:00

70 lines
1.2 KiB
JSON

{
"name": "TextExtracts",
"author": [
"Max Semenik"
],
"requires": {
"MediaWiki": ">= 1.42"
},
"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
}