-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathextension.json
More file actions
92 lines (92 loc) · 2.59 KB
/
extension.json
File metadata and controls
92 lines (92 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "ArrayFunctions",
"type": "parserhook",
"version": "2.0.0",
"author": [
"Marijn van Wezel"
],
"url": "https://www.mediawiki.org/wiki/Extension:ArrayFunctions",
"descriptionmsg": "af-desc",
"namemsg": "af-extensionname",
"license-name": "GPL-2.0-or-later",
"requires": {
"MediaWiki": ">= 1.40.0"
},
"config": {
"ArrayFunctionsForeachIterationLimit": {
"value": -1,
"description": "The maximum total number of iterations that can be performed by #af_foreach.",
"descriptionmsg": "af-config-foreach-iteration-limit",
"public": true
},
"ArrayFunctionsMaxRangeSize": {
"value": -1,
"description": "The maximum number of elements that an array constructed using #af_range may contain.",
"descriptionmsg": "af-config-max-range-size",
"public": true
},
"ArrayFunctionsMaxPipelineLength": {
"value": -1,
"description": "The maximum length of a pipeline.",
"descriptionmsg": "af-config-max-pipeline-length",
"public": true
},
"ArrayFunctionsEnableErrorTracking": {
"value": true,
"description": "Whether to track and propagate errors to parent ArrayFunction parser function invocations. For internal use only.",
"descriptionmsg": "af-config-enable-error-tracking",
"public": false
}
},
"MessagesDirs": {
"ArrayFunctions": [
"i18n"
]
},
"TrackingCategories": [
"af-error-category",
"af-tracking-category"
],
"AutoloadNamespaces": {
"ArrayFunctions\\": "src/"
},
"TestAutoloadNamespaces": {
"ArrayFunctions\\Tests\\": "tests/phpunit/"
},
"ExtensionMessagesFiles": {
"ArrayFunctionsMagic": "i18n/ArrayFunctions.i18n.php"
},
"HookHandlers": {
"Trivial": {
"class": "\\ArrayFunctions\\TrivialHookHandler"
},
"ParserInit": {
"class": "\\ArrayFunctions\\ParserInitHookHandler",
"services": [
"ArrayFunctions.ArrayFunctionFactory",
"ArrayFunctions.ArrayFunctionRegistry",
"MainConfig"
]
},
"ParserLimitReport": {
"class": "\\ArrayFunctions\\ParserLimitReportHookHandler",
"services": [
"MainConfig"
]
}
},
"Hooks": {
"ParserFirstCallInit": "ParserInit",
"ParserGetVariableValueSwitch": "Trivial",
"GetMagicVariableIDs": "Trivial",
"ParserLimitReportPrepare": "ParserLimitReport",
"ParserLimitReportFormat": "ParserLimitReport",
"ScribuntoExternalLibraries": "\\ArrayFunctions\\LegacyHookHandler::onScribuntoExternalLibraries",
"CargoSetFormatClasses": "\\ArrayFunctions\\LegacyHookHandler::onCargoSetFormatClasses"
},
"ServiceWiringFiles": [
"src/ArrayFunctions.ServiceWiring.php"
],
"callback": "\\ArrayFunctions\\LegacyHookHandler::onExtensionRegistration",
"manifest_version": 2
}