https://bugzilla.wikimedia.org/show_bug.cgi?id=48799

--- Comment #1 from Daniel Kinzler <[email protected]> ---
Well, what should the parser function return in an error case? It would have to
be some pre-defined, fixed string, right? But that's not good when shown to the
user. So, rather, an HTML formatted error? 

The reason that it currently returns an empty string is to indicate "there's
nothing here", so it can be used in conditionals. If you need more fine grained
info, you can use Lua.

I'd actually like a nice way to return more detailed status/error info from a
parser function, but I don't see a good way to do that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to