diff -u b/core/modules/node/node.module b/core/modules/node/node.module --- b/core/modules/node/node.module +++ b/core/modules/node/node.module @@ -1036,17 +1036,26 @@ 'weight' => 20, 'type' => MENU_LOCAL_TASK, ); - $items['node/%node/revisions/%node_revision/view'] = array( - 'title' => 'Revisions', + $items['node/%node/revisions/%node_revision'] = array( + 'title' => 'View', 'route_name' => 'node.revision_show', ); + $items['node/%node/revisions/%node_revision/view'] = array( + 'title' => 'View', + 'weight' => -10, + 'type' => MENU_DEFAULT_LOCAL_TASK, + ); $items['node/%node/revisions/%node_revision/revert'] = array( 'title' => 'Revert to earlier revision', 'route_name' => 'node.revision_revert_confirm', + 'weight' => 0, + 'type' => MENU_LOCAL_TASK, ); $items['node/%node/revisions/%node_revision/delete'] = array( 'title' => 'Delete earlier revision', 'route_name' => 'node.revision_delete_confirm', + 'weight' => 10, + 'type' => MENU_LOCAL_TASK, ); return $items; } @@ -1786,18 +1795,13 @@ 'type' => MENU_LOCAL_TASK, 'file' => 'node.pages.inc', ); - $items['node/%node/revisions/%node_revision'] = array( - 'title' => 'View', + $items['node/%node/revisions/%node_revision/view'] = array( + 'title' => 'Revisions', 'page callback' => 'node_show', 'page arguments' => array(3, TRUE), 'access callback' => '_node_revision_access', 'access arguments' => array(3), ); - $items['node/%node/revisions/%node_revision/view'] = array( - 'title' => 'View', - 'type' => MENU_DEFAULT_LOCAL_TASK, - 'weight' => -10, - ); $items['node/%node/revisions/%node_revision/revert'] = array( 'title' => 'Revert to earlier revision', 'page callback' => 'drupal_get_form', @@ -1805,8 +1809,6 @@ 'access callback' => '_node_revision_access', 'access arguments' => array(3, 'update'), 'file' => 'node.pages.inc', - 'type' => MENU_LOCAL_TASK, - 'weight' => 0, ); $items['node/%node/revisions/%node_revision/delete'] = array( 'title' => 'Delete earlier revision', @@ -1815,8 +1817,6 @@ 'access callback' => '_node_revision_access', 'access arguments' => array(3, 'delete'), 'file' => 'node.pages.inc', - 'type' => MENU_LOCAL_TASK, - 'weight' => 10, ); return $items; }