EditPage: Show EditFilterMergedContent hook errors in an errorbox
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 13 Oct 2016 18:39:07 +0000 (11:39 -0700)
committerTim Starling <tstarling@wikimedia.org>
Sat, 15 Oct 2016 05:59:47 +0000 (05:59 +0000)
commita02a7ff8eab9d589d77c03d4b4c58fc4a05e65c8
treed58166b81016a468c3b710d57b0ef0405ef49f95
parent6f1df8091115a751d78f76e7f3949fe78d863ddb
EditPage: Show EditFilterMergedContent hook errors in an errorbox

Errors that go through the Status object of the EditFilterMergedContent
hook have less control over how their errors are displayed, compared to
the legacy EditFilterMerged hook. Notably, Scribunto wrapped its errors
in an errorbox for increased visibility. That was a good idea in
general, so let's do that for all errors.

Change-Id: I1f0e463841298b8c59ed8bd898c8a4661c5e3aa4
includes/EditPage.php
languages/i18n/en.json
languages/i18n/qqq.json