{
"description": "Test RDF output on canonical entities (`wgContLang=fr`, `wgLang=es`, syntax=rdf/turtle)",
"setup": [
{
"page": "Example/R0010/1",
"contents": "[[Boolean::true]]"
},
{
"page": "Example/R0010/2",
"contents": "[[Date::2034]]"
},
{
"page": "Example/R0010/Q1",
"contents": "{{#ask: [[Booléen::+]] }}"
}
],
"tests": [
{
"type": "rdf",
"about": "#0",
"exportcontroller": {
"print-pages": [
"Example/R0010/1"
],
"parameters": {
"backlinks": true,
"recursion": "1",
"revisiondate": false
}
},
"assert-output": {
"to-contain": [
"Special:ExportRDF/Example/R0010/1",
"true"
],
"not-contain": [
"Sp%C3%A9cial:ExportRDF/Example/R0010/1",
"true"
]
}
},
{
"type": "rdf",
"about": "#1",
"exportcontroller": {
"print-pages": [
"Example/R0010/2"
],
"parameters": {
"backlinks": true,
"recursion": "1",
"revisiondate": false
}
},
"assert-output": {
"to-contain": [
"Special:ExportRDF/Example/R0010/2",
"2034",
"2463963.5"
]
}
},
{
"type": "rdf",
"about": "#2",
"exportcontroller": {
"print-pages": [
"Example/R0010/Q1"
],
"parameters": {
"backlinks": true,
"recursion": "1",
"revisiondate": false
}
},
"assert-output": {
"to-contain": [
"fr",
""
],
"not-contain": [
"Sp%C3%A9cial:ExportRDF/Example/R0010/2",
"true"
]
}
}
],
"settings": {
"smwgExportBCNonCanonicalFormUse": false,
"smwgNamespacesWithSemanticLinks": {
"NS_MAIN": true,
"NS_CATEGORY": true,
"SMW_NS_PROPERTY": true
},
"wgContLang": "fr",
"wgLang": "es",
"smwgNamespace": "http://example.org/id/"
},
"meta": {
"skip-on": {
"sitelanguage": [ "ja", "Some issues with canonical NS_SPECIAL output when 'ja' is used as sitelanguage." ]
},
"version": "2",
"is-incomplete": false,
"debug": false
}
}