"Tim Starling" posted a comment on MediaWiki.r113001. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/113001#c31831
Commit summary for MediaWiki.r113001: * Fix for r41340, r96405, r97849: introduce a function which gets the current content language, called Parser::getTargetLanguage() following the ParserOptions terminology, and added doc comments, to improve the chances of a human being able to work out what is going on. Just because a function happens to do the thing you want doesn't mean you should call it. * The language object used for lc() in Parser::braceSubstitution() must match the one used in setFunctionHook() during firstCallInit(). It can't change depending on what message you are parsing. Use $wgContLang like before r97849. Tim Starling's comment: Tagged 1.19 because it is a dependency for r113024. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
