diff -r be6c5fdd9203 -r 4ccdfeee9a11 plugins/admin/PageManager.php --- a/plugins/admin/PageManager.php Mon Dec 31 21:43:51 2007 -0500 +++ b/plugins/admin/PageManager.php Thu Jan 03 00:53:33 2008 -0500 @@ -569,7 +569,14 @@ } $title = get_page_title_ns($row['urlname'], $row['namespace']); $pathskey = $paths->nslist[$row['namespace']] . $row['urlname']; - $url = makeUrlNS('Special', 'Administration', "module={$paths->nslist['Admin']}PageManager&action=select&page_id=$pathskey", true); + if ( isset($row['mode']) && $row['mode'] == 'edit' ) + { + $url = makeUrlNS($row['namespace'], $row['urlname'], false, true) . '#do:edit'; + } + else + { + $url = makeUrlNS('Special', 'Administration', "module={$paths->nslist['Admin']}PageManager&action=select&page_id=$pathskey", true); + } $url = '' . htmlspecialchars($title) . ''; $return .= '