? mw.patch
Index: includes/menu.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/menu.inc,v
retrieving revision 1.255.2.1
diff -u -F^f -r1.255.2.1 menu.inc
--- includes/menu.inc	6 Feb 2008 12:11:22 -0000	1.255.2.1
+++ includes/menu.inc	6 Feb 2008 16:05:39 -0000
@@ -1,5 +1,5 @@
 <?php
-// $Id: menu.inc,v 1.255.2.1 2008/02/06 12:11:22 goba Exp $
+// $Id: menu.inc,v 1.255 2008/02/04 12:07:23 goba Exp $
 
 /**
  * @file
@@ -176,13 +176,13 @@
  *
  * For example, the ancestors of node/12345/edit are:
  *
- * node/12345/edit
- * node/12345/%
- * node/%/edit
- * node/%/%
- * node/12345
- * node/%
- * node
+ * - node/12345/edit
+ * - node/12345/%
+ * - node/%/edit
+ * - node/%/%
+ * - node/12345
+ * - node/%
+ * - node
  *
  * To generate these, we will use binary numbers. Each bit represents a
  * part of the path. If the bit is 1, then it represents the original
@@ -615,11 +615,11 @@ function menu_tail_to_arg($arg, $map, $i
  *   A menu link
  * @return
  *   Returns the map of path arguments with objects loaded as defined in the
- *   $item['load_functions'].
- *   $item['access'] becomes TRUE if the item is accessible, FALSE otherwise.
- *   $item['href'] is generated from link_path, possibly by to_arg functions.
- *   $item['title'] is generated from link_title, and may be localized.
- *   $item['options'] is unserialized; it is also changed within the call here 
+ * - $item['load_functions'].
+ * - $item['access'] becomes TRUE if the item is accessible, FALSE otherwise.
+ * - $item['href'] is generated from link_path, possibly by to_arg functions.
+ * - $item['title'] is generated from link_title, and may be localized.
+ * - $item['options'] is unserialized; it is also changed within the call here 
  *   to $item['localized_options'] by _menu_item_localize().
  */
 function _menu_link_translate(&$item) {
@@ -681,7 +681,7 @@ function _menu_link_translate(&$item) {
  *   The expected position for $type object. For node/%node this is 1, for
  *   comment/reply/%node this is 2. Defaults to 1.
  * @param $path
- *   See @menu_get_item for more on this. Defaults to the current path.
+ *   See menu_get_item() for more on this. Defaults to the current path.
  */
 function menu_get_object($type = 'node', $position = 1, $path = NULL) {
   $router_item = menu_get_item($path);
@@ -1780,13 +1780,13 @@ function _menu_delete_item($item, $force
  * @param $item
  *   An array representing a menu link item. The only mandatory keys are
  *   link_path and link_title. Possible keys are
- *     menu_name   default is navigation
- *     weight      default is 0
- *     expanded    whether the item is expanded.
- *     options     An array of options, @see l for more.
- *     mlid        Set to an existing value, or 0 or NULL to insert a new link.
- *     plid        The mlid of the parent.
- *     router_path The path of the relevant router item.
+ * - menu_name   default is navigation
+ * - weight      default is 0
+ * - expanded    whether the item is expanded.
+ * - options     An array of options, @see l for more.
+ * - mlid        Set to an existing value, or 0 or NULL to insert a new link.
+ * - plid        The mlid of the parent.
+ * - router_path The path of the relevant router item.
  */
 function menu_link_save(&$item) {
   $menu = menu_router_build();
