diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
commit | d9022f63880ce039446fba8364f68e656b7bf4cb (patch) | |
tree | 16b40fbf17bf7c9ee6f4ead25b16dd192378050a /skins/common/ajax.js | |
parent | 27cf83d177256813e2e802241085fce5dd0f3fb9 (diff) |
Update to MediaWiki 1.19.0
Diffstat (limited to 'skins/common/ajax.js')
-rw-r--r-- | skins/common/ajax.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/skins/common/ajax.js b/skins/common/ajax.js index 2a93373f..121f9d12 100644 --- a/skins/common/ajax.js +++ b/skins/common/ajax.js @@ -84,9 +84,7 @@ window.sajax_do_call = function(func_name, args, target) { var i, x, n; var uri; var post_data; - uri = wgServer + - ( ( wgScript == null ) ? ( wgScriptPath + '/index.php' ) : wgScript ) + - '?action=ajax'; + uri = mw.util.wikiScript() + '?action=ajax'; if ( sajax_request_type == 'GET' ) { if ( uri.indexOf( '?' ) == -1 ) { uri = uri + '?rs=' + encodeURIComponent( func_name ); |