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
|
{
"description": "Test `#concept` on predefined property (`wgContLang=en`, `wgLang=es`)",
"setup": [
{
"namespace": "SMW_NS_CONCEPT",
"page": "Example/P0501/1",
"contents": "{{#concept: [[Modification date::+]] |Modification date}}"
}
],
"tests": [
{
"type": "parser",
"about": "#0 canonical representation, not userlang specific",
"subject": "Example/P0501/1",
"namespace": "SMW_NS_CONCEPT",
"assert-output": {
"to-contain": [
"<p class=\"concept-documenation\">Modification date</p><pre>[[Modification date::+]]</pre>"
],
"not-contain": [
"<p class=\"concept-documenation\">Modification date</p><pre>[[Fecha de modificación::+]]</pre>"
]
}
}
],
"settings": {
"wgContLang": "en",
"wgLang": "es"
},
"meta": {
"version": "2",
"is-incomplete": false,
"debug": false
}
}
|