(bug 41415) Use mw.config instead of global.  Also:

* Use mw abbreviation everywhere.
* Fix file comments.

Change-Id: I29bbbf91e575e94ac915be90784e7b6047a9e1f8
Merge "(bug 41415) Use mw.config instead of global.  Also:"