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
|
{
"description": "Test sorting on Pages will not exclude non-existent pages from result (#540)",
"setup": [
{
"namespace": "SMW_NS_PROPERTY",
"page": "knows page",
"contents": "[[Has type::Page]]"
},
{
"page": "Example/P1007/1",
"contents": "[[knows page::Example/P1007/Ref 3]]"
},
{
"page": "Example/P1007/2",
"contents": "[[knows page::Example/P1007/Ref 2]]"
},
{
"page": "Example/P1007/3",
"contents": "[[knows page::Example/P1007/Ref 1]]"
},
{
"page": "Example/P1007/Ref 1",
"contents": "SomeContent"
},
{
"page": "Example/P1007/Ref 3",
"contents": "SomeContent"
},
{
"page": "Example/P1007/Test",
"contents": "{{#ask:[[knows page::+]]|?knows page |sort=knows page|format=plainlist}}"
}
],
"tests": [
{
"type": "parser",
"about": "#0 (verify pages referencing non-existent pages are included in the result)",
"subject": "Example/P1007/Test",
"assert-output": {
"to-contain": "Example/P1007/3.*Example/P1007/2.*Example/P1007/1"
}
}
],
"settings": {
"wgContLang": "en",
"wgLang": "en",
"smwgNamespacesWithSemanticLinks": {
"NS_MAIN": true,
"SMW_NS_PROPERTY": true
}
},
"meta": {
"version": "2",
"is-incomplete": false,
"debug": false
}
}
|