Index: trunk/extensions/MoodBar/modules/jquery.moodBar/jquery.moodBar.js |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | 'format' : 'json' |
36 | 36 | }; |
37 | 37 | |
38 | | - var path = wgScriptPath+'/api'+wgScriptExtension; |
| 38 | + var path = mediaWiki.util.wikiScript('api'); |
39 | 39 | |
40 | 40 | $j.post( path, apiRequest, |
41 | 41 | function(data) { |