Last modified: 2011-02-08 21:55:57 UTC
The documentation on mediawiki.org is not clear about the status of the alias mw for mediaWiki. Some examples use mediaWiki, some mw. It should be clearly stated whether mw is the preferred short alias for mediaWiki (like $ is for jQuery) or whether it is a legacy alias (like $j).
I've made two  edits  which I hope will clear it up.
There are some parts in core that map mediaWiki to mw (although not litterly by var mw = mediaWiki, it's done with anonymous function enclosers), this should no longer be done from now on and will be phased out for now. We supposedly were doing that for some unknown 'what if', but now that it's cleared up there's no point in enclosing them like that. mw == mediaWiki everywhere.