https://bugzilla.wikimedia.org/show_bug.cgi?id=41042
--- Comment #4 from Brad Jorsch <[email protected]> 2012-10-16 12:23:12 UTC --- (In reply to comment #2) > > The point, Dereckson, is that no error is returned by API action=parse when a > page does not exist, despite documentation stating it will. Where does the documentation state this? The only thing I see at [[mw:API:Parsing wikitext#parse]] that is even close is a note that an error will be returned for an ''invalid'' title. Or are we referring to the misleading message quoted for the "missingtitle" error? It seems to me that a page that does not exist has no sections, so the returned result is technically correct. As noted above, Special-namespace pages cannot be parsed at all. Note you can check if the page existed by including 'revid' in the props and checking for 0, e.g. https://en.wikinews.org/w/api.php?action=parse&format=xml&prop=sections|revid&page=doesnotexist. This is noted in the documentation at [[mw:API:Parsing wikitext#parse]]. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
