On Fri, Jan 20, 2012 at 7:25 PM, Mark A. Hershberger mhershberger@wikimedia.org wrote:
Let's ensure that the Wiki* experience is consistent. We can avoid some of the mistakes like those that happened when we introduced ResourceLoader. Backwards compatibility is important. If we upgrade MediaWiki and we know that people are going to complain because a widespread dependency (like mw.util) disappeared, let's eliminate that "experience gap".
Thanks for posting this to the list. I've highlighted above the most important part of what you wrote -- we will not introduce known incompatibilities and count on our ability to clean these things up after the fact unless that's the only way to do it. My understanding is we have far better options in this case, and we'll have more than enough work on our hands cleaning up after unknown incompatibilities.
A couple of relevant bugs: Bug 33711 - mw.util.$content is undefined in MediaWiki:Common.js https://bugzilla.wikimedia.org/show_bug.cgi?id=33711
Bug 33746 - Resource Loader should pre-depend on mw.util https://bugzilla.wikimedia.org/show_bug.cgi?id=33746
Roan should be weighing in on these soon. My understanding is that he plans to add the necessary dependency to make this work.
Rob