I think I should post this after having made so much noise:
I've added a new parameter to (:include:) that excludes the starting anchor when set to 0. Default is 1.
Just a single line of change in pmwiki.php, it's attached below.

--- pmwiki.php  2011-02-08 03:29:41.000000000 +0200
+++ /var/www/wiki/pmwiki.php    2011-02-20 00:12:04.356212000 +0200
@@ -1280,7 +1280,7 @@
         $ipage = RetrieveAuthPage($iname, 'read', false, READPAGE_CURRENT);
         $itext = IsEnabled($PCache[$iname]['=preview'], @$ipage['text']);
       }
-      $itext = TextSection($itext, $v, array('anchors' => 1));
+      $itext = TextSection($itext, $v, array('anchors' => 
IsEnabled($args['stanchor'],1)));
       continue;
     }
     if (preg_match('/^(?:line|para)s?$/', $k)) {
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to