{ "description": "Test #info parser output (#1019, `wgContLang=en`, `wgLang=en`)", "setup": [ { "message-cache": "clear", "page": "P0106/Warning", "contents": "{{#info: an warning text | warning }}" }, { "message-cache": "clear", "page": "P0106/Error", "contents": "{{#info: an error text | error }}" }, { "message-cache": "clear", "page": "P0106/Note", "contents": "{{#info: an info note | note }}" }, { "message-cache": "clear", "page": "P0106/Numeric_value", "contents": "{{#info: 1 }}" }, { "message-cache": "clear", "page": "P0106/maxwidth_theme", "contents": "{{#info: some text |max-width=300 |theme=square-border}}" } ], "tests": [ { "type": "parser", "about": "#0", "subject": "P0106/Warning", "assert-output": { "to-contain": [ "", "", "an warning text" ] } }, { "type": "parser", "about": "#1", "subject": "P0106/Error", "assert-output": { "to-contain": [ "", "", "an error text" ] } }, { "type": "parser", "about": "#2", "subject": "P0106/Note", "assert-output": { "to-contain": [ "", "", "an info note" ] } }, { "type": "parser", "about": "#3", "subject": "P0106/Numeric_value", "assert-output": { "to-contain": [ "", "", "1" ] } }, { "type": "parser", "about": "#4 (adding max-width, theme parameters)", "subject": "P0106/maxwidth_theme", "assert-output": { "to-contain": [ "", "", "some text" ] } } ], "settings": { "wgContLang": "en", "wgLang": "en" }, "meta": { "version": "2", "is-incomplete": false, "debug": false } }