mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-15 03:35:20 +00:00
f321fc541a
Bug: T74629 Change-Id: Iff299bd7eb430f27c682206bf7abc00ac0c5eefb
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"name": "TextExtracts",
|
|
"author": [
|
|
"Max Semenik"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:TextExtracts",
|
|
"descriptionmsg": "textextracts-desc",
|
|
"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"
|
|
],
|
|
"UnitTestsList": [
|
|
"TextExtracts\\Hooks::onUnitTestsList"
|
|
]
|
|
},
|
|
"config": {
|
|
"ExtractsRemoveClasses": [
|
|
"table",
|
|
"div",
|
|
"ul.gallery",
|
|
".mw-editsection",
|
|
"sup.reference",
|
|
"ol.references",
|
|
".error",
|
|
".nomobile",
|
|
".noprint",
|
|
".noexcerpt"
|
|
],
|
|
"ExtractsExtendOpenSearchXml": false
|
|
},
|
|
"manifest_version": 1
|
|
}
|