{
"description": "Test property page, '...' more than (`smwgMaxPropertyValues`)",
"setup": [
{
"namespace": "SMW_NS_PROPERTY",
"page": "P1011",
"contents": "[[Has type::Number]]"
},
{
"namespace": "NS_MAIN",
"page": "P1011/1",
"contents": "[[P1011::1]] [[P1011::2]] [[P1011::3]] [[P1011::4]] [[P1011::5]]"
}
],
"tests": [
{
"type": "parser",
"about": "#0 (ensure only one `…` appears when more than 3 (see `smwgMaxPropertyValues`) annotations are available)",
"namespace": "SMW_NS_PROPERTY",
"subject": "P1011",
"assert-output": {
"onPageView": {
"parameters": {}
},
"to-contain": [
"…"
],
"not-contain": [
"…, …"
]
}
}
],
"settings": {
"wgContLang": "en",
"wgLang": "en",
"smwgPageSpecialProperties": [
"_MDAT"
],
"smwgMaxPropertyValues": 3,
"smwgNamespacesWithSemanticLinks": {
"NS_MAIN": true,
"SMW_NS_PROPERTY": true,
"NS_CATEGORY": true
}
},
"meta": {
"version": "2",
"is-incomplete": false,
"debug": false
}
}