Last modified: 2013-06-06 00:59:52 UTC
Request URL:https://en.m.wikipedia.org/w/api.php Request Method:POST Form Data: format:json action:parse title:Saudade text:<ref>[http://www.priberam.pt/DLPO/default.aspx?pal=saudade Dicionário Priberam da Língua Portuguesa]</ref> prop:text Gives the response: {"parse":{"title":"Saudade","text":{"*":"<p><sup id=\"cite_ref-1\" class=\"reference\"><a href=\"#cite_note-1\"><span>[</span>1<span>]</span></a></sup><br />\n<strong class=\"error\">Cite error: There are <code><ref></code> tags on this page, but the references will not show without a <code>{{Reflist}}</code> template or a <code><references /></code> tag (see the <a href=\"/wiki/Help:Cite_errors/Cite_error_refs_without_references\" title=\"Help:Cite errors/Cite error refs without references\">help page</a>).</strong></p>\n\n\n<!-- \nNewPP limit report\nPreprocessor visited node count: 134/1000000\nPreprocessor generated node count: 1529/1500000\nPost\u2010expand include size: 3063/2048000 bytes\nTemplate argument size: 1864/2048000 bytes\nHighest expansion depth: 12/40\nExpensive parser function count: 0/500\n-->\n"}}} This should be a warning - not part of the HTML output. As an API consumer I should be able to choose how I handle errors in the parser.
No, it shouldn't. When a page is actually rendered it's part of the HTML output, so it should be the same here.