{
	"description": "filter values with special characters",
	"setup": [
		{
			"namespace": "SMW_NS_PROPERTY",
			"page": "SomeText",
			"contents": "[[Has type::Text]]"
		},
		{
			"namespace": "NS_CATEGORY",
			"page": "Category1",
			"contents": "{{#drilldowninfo: filters=Text (property=SomeText),Number (property=SomeNumber),Date (property=SomeDate),Page (property=SomePage),Boolean (property=SomeBoolean),Unused (property=Unused)|display parameters=format=list}}"
		},
		{
			"page": "Page1",
			"contents": "[[Category:Category1]]{{#set: SomeText=x & y}}{{#set: SomeText=x < y}}"
		}
	],
	"tests": [
		{
			"type": "special",
			"about": "& is allowed in simple filter parameter value",
			"special-page": {
				"page": "BrowseData",
				"query-parameters": "Category1",
				"request-parameters": {
					"Text": "x & y"
				}
			},
			"assert-output": {
				"to-contain": [
					"<a href=\"/index.php/Page1\" title=\"Page1\">Page1</a>"
				]
			}
		},
		{
			"type": "special",
			"about": "< is allowed in simple filter parameter value",
			"special-page": {
				"page": "BrowseData",
				"query-parameters": "Category1",
				"request-parameters": {
					"Text": "x < y"
				}
			},
			"assert-output": {
				"to-contain": [
					"<a href=\"/index.php/Page1\" title=\"Page1\">Page1</a>"
				]
			}
		},
		{
			"type": "special",
			"about": "& is allowed in search filter parameter value",
			"special-page": {
				"page": "BrowseData",
				"query-parameters": "Category1",
				"request-parameters": {
					"_search_Text": [ "x & y" ]
				}
			},
			"assert-output": {
				"to-contain": [
					"<a href=\"/index.php/Page1\" title=\"Page1\">Page1</a>"
				]
			}
		},
		{
			"type": "special",
			"about": "< is allowed in search filter parameter value",
			"special-page": {
				"page": "BrowseData",
				"query-parameters": "Category1",
				"request-parameters": {
					"_search_Text": [ "x < y" ]
				}
			},
			"assert-output": {
				"to-contain": [
					"<a href=\"/index.php/Page1\" title=\"Page1\">Page1</a>"
				]
			}
		}
	],
	"settings": {
		"wgLang": "en"
	},
	"meta": {
		"version": "2",
		"is-incomplete": false,
		"debug": false
	}
}
