User "^demon" posted a comment on MediaWiki.r90691. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90691#c22298 Commit summary:
Fix problems in r90526. Started adding proper i18n support as well as replaced individual global config with one array of config options. Comment: Doing something like <tt>$str = '[' . wfMsg( 'foo' ) . ']'</tt> is bad i18n, so I wouldn't recommend that. Yes, messages are (usually) considered to be wikitext, but <tt>[foo]</tt> isn't going to turn into anything since it doesn't match any link protocols. If you're super paranoid though, you could use <tt>wfMsgNoTrans( 'foo' )</tt>. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
