Index: trunk/extensions/Maps/includes/ext.maps.common.js |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | * @licence GNU GPL v3+ |
10 | 10 | * @author Jeroen De Dauw <jeroendedauw at gmail dot com> |
11 | 11 | */ |
12 | | -window.maps = new ( function( $ ) { |
| 12 | +window.maps = new ( function( $, mw ) { |
13 | 13 | |
14 | 14 | this.log = function( message ) { |
15 | 15 | if ( mw.config.get( 'egMapsDebugJS' ) ) { |
— | — | @@ -16,4 +16,4 @@ |
17 | 17 | } |
18 | 18 | }; |
19 | 19 | |
20 | | -} )( jQuery ); |
\ No newline at end of file |
| 20 | +} )( jQuery, mediaWiki ); |
\ No newline at end of file |