ajax.php
changeset 963 b572ce1114f1
parent 880 218b6d4de908
child 968 105a24b4de8f
equal deleted inserted replaced
962:ceeecb160aec 963:b572ce1114f1
   173       $revision_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 );
   173       $revision_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 );
   174       $page = new PageProcessor( $paths->page_id, $paths->namespace, $revision_id );
   174       $page = new PageProcessor( $paths->page_id, $paths->namespace, $revision_id );
   175       
   175       
   176       $pagepass = ( isset($_REQUEST['pagepass']) ) ? $_REQUEST['pagepass'] : '';
   176       $pagepass = ( isset($_REQUEST['pagepass']) ) ? $_REQUEST['pagepass'] : '';
   177       $page->password = $pagepass;
   177       $page->password = $pagepass;
       
   178       $page->allow_redir = ( !isset($_GET['redirect']) || (isset($_GET['redirect']) && $_GET['redirect'] !== 'no') );
   178             
   179             
   179       $page->send();
   180       $page->send();
   180       break;
   181       break;
   181     case "savepage":
   182     case "savepage":
   182       /* **** OBSOLETE **** */
   183       /* **** OBSOLETE **** */