(bug 8652) Catch exceptions generated by malformed XML in multipage media. Note...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 25 Jan 2007 03:07:39 +0000 (03:07 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 25 Jan 2007 03:07:39 +0000 (03:07 +0000)
commit414fca2323456c0f59d0a155784f9dcac393a227
tree885229482aea8c44452a8265286af9780c9311ce
parent29013159064ae489d413cc16b6ce7317928a36c9
(bug 8652) Catch exceptions generated by malformed XML in multipage media.  Note: not tested, since I don't have all that fancy image-using stuff set up (:P), but it's just a try/catch block, so at worst it just won't work.  Better than having the entire page crash due to an unhandled exception . . .

Incidentally, should we maybe use set_exception_handler()?
RELEASE-NOTES
includes/ImagePage.php
languages/messages/MessagesEn.php