"IAlex" posted a comment on MediaWiki.r107773. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/107773#c28743
Commit summary for MediaWiki.r107773: * (bug 32686) Tooltip on links to non-existing pages are now always in user's language Fixed this by "abusing" of the $options parameter of Linker::link() to pass the Language object (as we did for wfMsgExt()), has the two following advantages: * The tooltip is displayed in the requested language instead of depending on $wgLang * The usage of the Language object is detected in the ParserOptions, thus the parser cache key will not have "*" for the language IAlex's comment: If there's something else depending on requested language (like a TOC or <code><nowiki>{{int:}}</nowiki></code>), the parser cache will not be more fragmented; and the only other solution would be to always show this in page's language. _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview