mediawiki-extensions-TextEx.../extension.json
jdlrobson e9e261908d Play things safe when stripping HTML
Script and input tags if outputted by other extensions can
theoretically allow an XSS issue.

Just in case let's do this here.

Bug: T107206
Change-Id: I889f7827fb9084b7cf853a1843fdc48821237d65
2017-06-29 10:46:57 -07:00

58 lines
1.2 KiB
JSON

{
"name": "TextExtracts",
"author": [
"Max Semenik"
],
"url": "https://www.mediawiki.org/wiki/Extension:TextExtracts",
"descriptionmsg": "textextracts-desc",
"license-name": "GPL-2.0+",
"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
}