Index: trunk/extensions/jQueryMsg/jQueryMsg.js |
— | — | @@ -1,8 +1,8 @@ |
2 | 2 | |
3 | | -jQuery( document ).ready( function() { |
| 3 | +jQuery( document ).ready( function( $ ) { |
4 | 4 | // add "magic" to Language template parser for keywords |
5 | | - var options = { magic: { 'SITENAME' : wgSiteName } }; |
| 5 | + var options = { magic: { 'SITENAME' : mw.config.get( 'wgSiteName' ) } }; |
6 | 6 | |
7 | 7 | window.gM = mediaWiki.language.getMessageFunction( options ); |
8 | | - $j.fn.msg = mediaWiki.language.getJqueryMessagePlugin( options ); |
| 8 | + $.fn.msg = mediaWiki.language.getJqueryMessagePlugin( options ); |
9 | 9 | } ); |