equal
deleted
inserted
replaced
289 echo PageUtils::flushlogs($paths->page_id, $paths->namespace); |
289 echo PageUtils::flushlogs($paths->page_id, $paths->namespace); |
290 break; |
290 break; |
291 case "deletepage": |
291 case "deletepage": |
292 $reason = ( isset($_POST['reason']) ) ? $_POST['reason'] : false; |
292 $reason = ( isset($_POST['reason']) ) ? $_POST['reason'] : false; |
293 if ( empty($reason) ) |
293 if ( empty($reason) ) |
294 die('Please enter a reason for deleting this page.'); |
294 die($lang->get('page_err_need_reason')); |
295 echo PageUtils::deletepage($paths->page_id, $paths->namespace, $reason); |
295 echo PageUtils::deletepage($paths->page_id, $paths->namespace, $reason); |
296 break; |
296 break; |
297 case "delvote": |
297 case "delvote": |
298 echo PageUtils::delvote($paths->page_id, $paths->namespace); |
298 echo PageUtils::delvote($paths->page_id, $paths->namespace); |
299 break; |
299 break; |