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

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

Does this still need to be marked fixme?

I was thinking to perhaps check if we have a $this->mTitle object, and if not, 
either give an error or fallback to $wgContLang however that would give 
different output for e.g. magic words.

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

Reply via email to