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
|
{
"description": "Test in-text annotation with preferred property label/`_PPLB` (#1879, `wgContLang=en`, `wgLang=ja`)",
"setup": [
{
"namespace": "SMW_NS_PROPERTY",
"page": "P106",
"contents": {
"import-from": "/../Fixtures/P106.txt"
}
},
{
"page": "Example/P0437/1",
"contents": "{{#subobject: |P106=Teacher }}{{#subobject: |P106=Actor }}"
},
{
"page": "Example/P0437/Q.1",
"contents": "{{#ask: [[P106::+]] |?P106 }}"
}
],
"tests": [
{
"type": "parser",
"about": "#0 (ja)",
"subject": "Example/P0437/Q.1",
"assert-output": {
"to-contain": [
"data-title=\"プロパティ\" title=\"人物の職業。「専門分野」(Property:P101) も参照\">",
"title=\"Property:P106\">職業</a>"
]
}
}
],
"settings": {
"wgContLang": "en",
"wgLang": "ja"
},
"meta": {
"version": "2",
"is-incomplete": false,
"debug": false
}
}
|