{
	"description": "Test in-text legacy `:=` and `::` annotation style with enabled LinksInValue (#2153, `wgContLang=en`, `smwgLinksInValues=SMW_LINV_OBFU`)",
	"setup": [
		{
			"namespace": "SMW_NS_PROPERTY",
			"page": "Has text",
			"contents": "[[Has type::Text]]"
		},
		{
			"namespace": "SMW_NS_PROPERTY",
			"page": "Has page",
			"contents": "[[Has type::Page]]"
		},
		{
			"namespace": "SMW_NS_PROPERTY",
			"page": "Has number",
			"contents": "[[Has type::Number]]"
		},
		{
			"namespace": "SMW_NS_PROPERTY",
			"page": "Has date",
			"contents": "[[Has type::Date]]"
		},
		{
			"page": "Example/P0449/2",
			"contents": "[[Has text:=[[Lorem ipsum]]]]"
		},
		{
			"page": "Example/P0449/3",
			"contents": "[[Has text:=[http://example.org/eleifend eleifend]]] [[Has text::[http://example.org/eleifend eleifend]]]"
		},
		{
			"page": "Example/P0449/4",
			"contents": "[[Has text:=[[Has number:=42]] [[Has number::1001]]]] [[Category:P0449]]"
		},
		{
			"page": "Example/P0449/Q.1",
			"contents": "{{#ask: [[Category:P0449]] |format=embedded }}"
		}
	],
	"tests": [

		{
			"type": "parser",
			"about": "#1 internal wiki link",
			"subject": "Example/P0449/2",
			"assert-store": {
				"semantic-data": {
					"strictPropertyValueMatch": false,
					"propertyCount": 3,
					"propertyKeys": [
						"_SKEY",
						"_MDAT",
						"Has text"
					],
					"propertyValues": [
						"[[Lorem ipsum]]"
					]
				}
			},
			"assert-output": {
				"to-contain": [
					">Lorem ipsum</a>"
				]
			}
		},
		{
			"type": "parser",
			"about": "#2 external link",
			"subject": "Example/P0449/3",
			"assert-store": {
				"semantic-data": {
					"strictPropertyValueMatch": false,
					"propertyCount": 3,
					"propertyKeys": [
						"_SKEY",
						"_MDAT",
						"Has text"
					],
					"propertyValues": [
						"[http://example.org/eleifend eleifend]"
					]
				}
			},
			"assert-output": {
				"to-contain": [
					">eleifend</a>"
				],
				"not-contain": [
					"[[Has text::<a rel=\"nofollow\" class=\"external text\" href=\"http://example.org/eleifend\">eleifend</a>]]"
				]
			}
		},
		{
			"type": "parser",
			"about": "#3 link-in annotation",
			"subject": "Example/P0449/4",
			"assert-store": {
				"semantic-data": {
					"strictPropertyValueMatch": false,
					"propertyCount": 5,
					"propertyKeys": [
						"_SKEY",
						"_MDAT",
						"_INST",
						"Has text",
						"Has number"
					],
					"propertyValues": [
						"42",
						"1001"
					]
				}
			},
			"assert-output": {
				"to-contain": [
					"42 1001"
				]
			}
		},
		{
			"type": "parser",
			"about": "#4 embbeded format to verify that [[SMW::OFF]]/[[SMW:ON]] remain after transclusion",
			"subject": "Example/P0449/Q.1",
			"assert-store": {
				"semantic-data": {
					"strictPropertyValueMatch": false,
					"propertyCount": 4,
					"propertyKeys": [
						"_SKEY",
						"_MDAT",
						"_ASK",
						"_INST"
					],
					"propertyValues": []
				}
			}
		}
	],
	"settings": {
		"wgContLang": "en",
		"smwgLinksInValues": "SMW_LINV_OBFU",
		"smwgPageSpecialProperties": [
			"_MDAT"
		]
	},
	"meta": {
		"version": "2",
		"is-incomplete": false,
		"debug": false
	}
}