[Solved] The meaning of ua and mw in JavaScript

In a MediaWiki context, mw is a global object containing a number of Javascript methods and properties, that other javascript modules can make use of. If, for instance, you are adding Javascript code to MediaWiki:Common.js, you will always be able to access the mw variable. (Read more about MediaWiki JS modules here.) The mw.config in … Read more