Index: trunk/extensions/WikiLove/wikiLove.js |
— | — | @@ -60,6 +60,9 @@ |
61 | 61 | */ |
62 | 62 | openDialog: function() { |
63 | 63 | if ( $.wikiLove.$dialog === null ) { |
| 64 | + // Load local configuration |
| 65 | + var wikiLoveConfigUrl = wgServer + wgScript + '?' + $.param( { 'title': 'MediaWiki:WikiLove.js', 'action': 'raw', 'ctype': 'text/javascript' } ); |
| 66 | + mw.loader.load( wikiLoveConfigUrl ); |
64 | 67 | // Find out if we can email the user |
65 | 68 | $.wikiLove.getEmailable(); |
66 | 69 | // Build a type list like this: |