"Krinkle" posted a comment on MediaWiki.r99444.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99444#c26727

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

Krinkle's comment:

Yeah, it's fine as it is. There is no regression, it's an improvement. 

But now that there will be more than one object constructor for Uri's 
(fabricated by mw.UriRelative) it would be clean to be theoretically able to 
alter the prototype for all or some of them at any point in time (which is what 
makes prototypes so cool, due to the inheriting nature, adding one later 
affects all). However it's a non-issue at this point, just an idea. 

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

Reply via email to