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
|
{
"description": "Test in-text annotation with enabled links in values on `[`, `]` (#2671, `wgContLang=en`)",
"setup": [
{
"namespace": "SMW_NS_PROPERTY",
"page": "Has text",
"contents": "[[Has type::text]]"
},
{
"page": "Example/P0454/1",
"contents": ""
},
{
"page": "Example/P0454/2",
"contents": "[[Example/P0454/1|[[Foo]]]]"
}
],
"tests": [
{
"type": "parser",
"about": "#0 `[`/`]` are kept during parsing",
"subject": "Example/P0454/2",
"assert-output": {
"to-contain": [
"<a href=.* title=\"Example/P0454/1\">[[Foo]]</a>"
]
}
}
],
"settings": {
"wgContLang": "en",
"wgLang": "en",
"smwgParserFeatures": [
"SMW_PARSER_STRICT",
"SMW_PARSER_INL_ERROR",
"SMW_PARSER_HID_CATS",
"SMW_PARSER_LINV"
],
"smwgPageSpecialProperties": [
"_MDAT"
],
"smwgNamespacesWithSemanticLinks": {
"NS_MAIN": true,
"SMW_NS_PROPERTY": true
}
},
"meta": {
"version": "2",
"is-incomplete": false,
"debug": false
}
}
|