User "Brion VIBBER" posted a comment on MediaWiki.r90099.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90099#c18104
Commit summary:

Only define 'isMainPage' if we are on the main page, the new mw.config library 
is specifically built for this efficient way of exporting variables as it will 
prevent any TypeError exceptions and simply return null (it's not a real global 
anymore).

This is a follow-up on Brion's CR at r87212.

Comment:

Maybe can just set it to true. :)

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

Reply via email to