{ "description": "Test RDF output generation that contain a monolingual text annotations `_PDESC` (`wgContLang=en`, `wgLang=es`, syntax=rdf/turtle)", "setup": [ { "namespace": "SMW_NS_PROPERTY", "page": "Has number", "contents": "[[Has type::Number]] [[Has property description::Is a number@en]] [[Has property description::数@ja]]" } ], "tests": [ { "type": "rdf", "about": "#0", "exportcontroller": { "print-pages": [ "Property:Has number" ], "parameters": { "backlinks": true, "recursion": "1", "revisiondate": false } }, "assert-output": { "to-contain": [ "", "Is a number", "", "", "", "", "Is a number", "en", "", "", "ja" ] } }, { "type": "rdf", "about": "#0", "exportcontroller": { "syntax": "turtle", "print-pages": [ "Property:Has number" ], "parameters": { "backlinks": true, "recursion": "1", "revisiondate": false } }, "assert-output": { "to-contain": [ "rdfs:label \"Has number\" ;", "skos:scopeNote \"Is a number\"@en , \"数\"@ja ;", "property:Property_description property:Has_number-23_ML13b181afba7d1e489a656a75fa7917b2 , property:Has_number-23_ML4c33eabf5c7dfbb1292c817504951018 ;", "swivt:wikiPageSortKey \"Has number\" ;", "swivt:type .", "property:Language_code \"en\" ;", "property:Text \"Is a number\" .", "property:Language_code \"ja\" ;", "property:Text \"数\" ." ] } } ], "settings": { "smwgExportBCNonCanonicalFormUse": false, "smwgNamespacesWithSemanticLinks": { "NS_MAIN": true, "NS_CATEGORY": true, "SMW_NS_PROPERTY": true }, "wgContLang": "en", "wgLang": "es", "smwgNamespace": "http://example.org/id/" }, "meta": { "skip-on": { "mediawiki": [ ">1.42.x", "Skipping, broken due to 2 and 3 in #0" ] }, "version": "2", "is-incomplete": false, "debug": false } }