"NeilK" posted a comment on MediaWiki.r99444. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99444#c26726
Commit summary for MediaWiki.r99444: protocol-relative URLs for javascript. Could also be extended to relative urls of any kind -- now mw.Uri is just "relative" to the current URL NeilK's comment: Also, unfortunately for performance, all of Uri becomes dependent on the environment, but that's the whole point of this change. I might be able to stash the Uri.prototype outside of the function, and then just say that Uri.prototype = thatPrototype in the UriRelative constructor. But I think for a smart compiler that won't really make much of a difference. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
