[Mediawiki-i18n] wfMessage()->parse() produces unexpected <pre> tag

S Page spage at wikimedia.org
Sat Jan 4 13:37:57 UTC 2014

On Fri, Jan 3, 2014 at 12:37 AM, Niklas Laxström
<niklas.laxstrom at gmail.com>wrote:

> Is there any other wikitext besides the magic words? You could just use
> ->text() instead of ->parse().

Great! and it's about 25% faster on my simple test. I mis-remembered that
GENDER and PLURAL require parse().

Yes, the <pre> tag made the needed fix even more obvious. Garbage In,
Unexpected Behavior Out :)

=S Page  Features engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/mediawiki-i18n/attachments/20140104/5fa52e73/attachment.html>

More information about the Mediawiki-i18n mailing list