ajax.php getpage now cals $template->set_page() so that templates that depend on PAGE_URLNAME etc. will not show errors
--- a/ajax.php Fri Jul 30 14:39:47 2010 -0400
+++ b/ajax.php Fri Jul 30 15:01:06 2010 -0400
@@ -173,6 +173,7 @@
$revision_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 );
$page = new PageProcessor( $paths->page_id, $paths->namespace, $revision_id );
+ $template->set_page($page);
$pagepass = ( isset($_REQUEST['pagepass']) ) ? $_REQUEST['pagepass'] : '';
$page->password = $pagepass;