"Krinkle" changed the status of MediaWiki.r108312 to "resolved" and commented
it.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/108312#c29158
Old Status: new
> New Status: resolved
Commit summary for MediaWiki.r108312:
Don't expand templates in html <title>. This seems to have regressed some time
ago.
Krinkle's comment:
What kind of template do you mean ? <code><nowiki>{{SITENAME}}</nowiki></code>
and <code><nowiki>{{test}}</nowiki></code> expands both before and after this
revision for me.
If you don't want this we should probably use <code>->plain()</code> instead.
Although parsing is expected behavior as the default message is
"<code><nowiki>$1 - {{SITENAME}}</nowiki></code>.
If the $1 value should not be parsed, then rawParams is indeed good, but I
don't think it needs additional escaping. Patch applied in r108376.
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview