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
# Schema for modules.toml
#
# This describes what properties modules can have, as mentioned in docs/Modules.md
# Modules are a subset of blocks, specified with the block [[module XYZ]],
# where "XYZ" is the module's name.
#
# See also blocks.schema.toml
[]
# Whether this module is deprecated or not.
# Deprecated modules should be clearly marked as such, and
# should not be actively recommended to users.
#
# If this is set, then the deprecation-message in the corresponding
# language file should be populated.
#
# type: bool, optional
= false
# What aliases (if any) this module accepts.
# Case-insensitive.
#
# type: string[], optional
= ["PageTree", "PageForest"]
# What kind of body this module expects, if any.
#
# type: string, enum
# values: "none", "raw", "elements", "other"
= "elements"
# Whether this module accepts safe HTML attributes as arguments.
# These are then ported to the final HTML element in rendering,
# with possible changes for safety or correctness.
#
# type: bool, optional
= true
# Each argument that this module accepts gets its own sub-key.
# Case-insensitive.
#
# For instance, "join.arguments.button"
[]
# Schema for arguments is the same as for blocks. See blocks.schema.toml