--- a/includes/clientside/static/ajax.js Sat Jun 07 12:50:21 2008 -0400
+++ b/includes/clientside/static/ajax.js Sat Jun 07 22:50:31 2008 -0400
@@ -179,12 +179,13 @@
// IE <6 pseudo-compatibility
if ( KILL_SWITCH )
return true;
- var ns_id = strToPageID(title);
+ var ns_id = strToPageID(physical_title);
if ( ns_id[1] == 'Special' || ns_id[1] == 'Admin' )
return false;
enableUnload();
setAjaxLoading();
- ajaxGet(stdAjaxPrefix+'&_mode=getpage&noheaders', function() {
+ var redir = ( disable_redirect ) ? '&redirect=no' : '';
+ ajaxGet(scriptPath + '/ajax.php?title=' + physical_title +'&_mode=getpage&noheaders' + redir, function() {
// Allow for 404 here, it's generated by the "page not found" error message
// (even with noheaders specified, probably should be fixed)
if ( ajax.readyState == 4 && ( ajax.status == 200 || ajax.status == 404 ) ) {