User "Brion VIBBER" posted a comment on MediaWiki.r90858. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90858#c20954 Commit summary:
Make parser->getFunctionLang be dependent on title->getPageLanguage() instead of $wgContLang, i.e. the page content language instead of the wiki content language. This sets the right language on page view + edit for all pages, instead of only edit preview on MediaWiki namespace pages (as in EditPage.php). Comment: Isn't the parser supposed to always have a title context? Pretty sure I've seen other things break in this circumstance and it seems like it violates basic assumptions. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
