{ "description": "Test `#set_recurring_event` (`wgContLang=en`, `wgLang=en`)", "setup": [ { "namespace": "SMW_NS_PROPERTY", "page": "Has date", "contents": "[[Has type::Date]]" }, { "page": "Example/P0210/1", "contents": "{{#set_recurring_event:property=Has date |start=01 Feb 1970 |Has title=Recurring event |unit=year |period=12 |limit=3 }}" }, { "page": "Example/P0210/Q1", "contents": "{{#ask: [[Has title::Recurring event]] |?Has date |format=table |link=none }}" }, { "page": "Example/P0210/2", "contents": "{{#set_recurring_event:property=Has date |start=01 Feb 1970 |Has title=Recurring event 2 |unit=month |period=1 |limit=2 }} {{#set_recurring_event:property=Has date |start=01 Feb 1970 |Has title=Recurring event 2, Test|+sep=, |unit=month |period=1 |limit=2 }}" }, { "page": "Example/P0210/2", "contents": "{{#set_recurring_event:property=Has date |start=01 Feb 1970 |Has title=Recurring event 2, Test|+sep=, |unit=month |period=1 |limit=2 }}" }, { "page": "Example/P0210/Q.2", "contents": "{{#ask: [[Has title::Recurring event 2]] |?Has date |format=table |link=none }}" } ], "tests": [ { "type": "parser", "about": "#0", "subject": "Example/P0210/Q1", "assert-output": { "to-contain": [ "