mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-14 19:30:37 +00:00
adfde34586
SPDX released version 3 of their license list (<https://spdx.org/licenses/>), which changed the FSF licenses to explicitly end in -only or -or-later instead of relying on an easy to miss + symbol. Bug: T183858 Change-Id: I78f8a3b4e06363a6af4a79189d1ff68697b34dcd
61 lines
1.2 KiB
JSON
61 lines
1.2 KiB
JSON
{
|
|
"name": "TextExtracts",
|
|
"author": [
|
|
"Max Semenik"
|
|
],
|
|
"requires": {
|
|
"MediaWiki": ">= 1.29.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"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"TextExtracts\\ApiQueryExtracts": "includes/ApiQueryExtracts.php",
|
|
"TextExtracts\\ExtractFormatter": "includes/ExtractFormatter.php",
|
|
"TextExtracts\\Hooks": "includes/Hooks.php"
|
|
},
|
|
"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
|
|
}
|