mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
720f1db084
* Now that we are in sync land, we don't need to catch exceptions and log error messages at multiple places. Let them bubble up to the top. * I noticed this was actually getting in the way of debugging because with $env->log unimplemented, I was only getting very generic failures instead of the root cause that was being suppressed and unlogged. * There are still a couple of places where we have generic Exception catching in place where it does make sense currently. For example, we aren't interested in what caused a templatedata fetch to fail. We simply fall back to regular serialization - the rationale here is that it is better to emit a transclusion without the preferred formatting (but syntactically correct) instead of losing the edit altogether. * Minor unrelated fix in Cite/Ref.php: Use !isset() instead of empty() Change-Id: Iebff6f37dcd8278185c4a74b72a99b528efa20ff |
||
---|---|---|
lib/ext/Cite | ||
src/Parsoid |