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

--- Comment #4 from Krinkle <krinklem...@gmail.com> ---
OK, looks like that wasn't a good way to reproduce it because it always uses
the fallback in case of a db connection failure, since db connection failure
prevents localisation from initialising.

I can reproduce the error when adding:

    throw new MWException( 'X'); 

to a function bound to a parser hook (e.g. 'DoEditSectionLink'), then the
following is rendered:

    <h1 id="firstHeading">Internal error - {{SITENAME}}</h1>

Makes sense as, indeed, we call wfMessage()->plain().

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to