* (bug 7766) Remove redundant / from AJAX requests, can break some servers
This commit is contained in:
parent
ac28d6f10a
commit
ada13258ea
3 changed files with 4 additions and 2 deletions
|
|
@ -110,6 +110,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
|
|||
styling (class="mw-templatesUsedExplanation").
|
||||
* Added {{#special:}} parser function, to give the local default title for
|
||||
special pages
|
||||
* (bug 7766) Remove redundant / from AJAX requests, can break some servers
|
||||
|
||||
|
||||
== Languages updated ==
|
||||
|
||||
|
|
|
|||
|
|
@ -1037,7 +1037,7 @@ $wgCacheEpoch = '20030516000000';
|
|||
* to ensure that client-side caches don't keep obsolete copies of global
|
||||
* styles.
|
||||
*/
|
||||
$wgStyleVersion = '22';
|
||||
$wgStyleVersion = '23';
|
||||
|
||||
# Server-side caching:
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ function sajax_do_call(func_name, args, target) {
|
|||
var i, x, n;
|
||||
var uri;
|
||||
var post_data;
|
||||
uri = wgServer + "/" + wgScriptPath + "/index.php?action=ajax";
|
||||
uri = wgServer + wgScriptPath + "/index.php?action=ajax";
|
||||
if (sajax_request_type == "GET") {
|
||||
if (uri.indexOf("?") == -1)
|
||||
uri = uri + "?rs=" + encodeURIComponent(func_name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue