User "Platonides" posted a comment on MediaWiki.r90858.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90858#c18839
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:

I'm not convinced about this, since that requires a much bigger knowledge at 
the parser side. Setting the getPageLanguage() to the ParserOptions seems a 
better alternative IMHO.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to