Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 23440 invoked from network); 5 Apr 2008 19:16:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2008 19:16:02 -0000 Received: (qmail 67541 invoked by uid 500); 5 Apr 2008 19:16:03 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 67527 invoked by uid 500); 5 Apr 2008 19:16:02 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 67518 invoked by uid 99); 5 Apr 2008 19:16:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Apr 2008 12:16:02 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Apr 2008 19:15:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4865F234C0AD for ; Sat, 5 Apr 2008 12:13:24 -0700 (PDT) Message-ID: <261454490.1207422804287.JavaMail.jira@brutus> Date: Sat, 5 Apr 2008 12:13:24 -0700 (PDT) From: "Janne Jalkanen (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Commented: (JSPWIKI-228) Headings with identical titles do not have different section IDs In-Reply-To: <2133464824.1207223664339.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586035#action_12586035 ] Janne Jalkanen commented on JSPWIKI-228: ---------------------------------------- Yes, keeping a track of the duplicate headings makes more sense, that way the anchors would be more robust. What I meant is that if I send you a link which says "look here, http://ourwiki/wiki/FooBar#section-heading-72", the link won't be usable after any edit to the page. So I would like to avoid that. > Headings with identical titles do not have different section IDs > ---------------------------------------------------------------- > > Key: JSPWIKI-228 > URL: https://issues.apache.org/jira/browse/JSPWIKI-228 > Project: JSPWiki > Issue Type: Bug > Components: Core & storage, Plugins > Affects Versions: 2.6.2 > Reporter: Alexander Chow > Attachments: JSPWIKI-228.patch > > > When two or more headings in a given wiki article have the same title, their section IDs will be identical. The TableOfContents plugin will then not know which section ID to go to and will most likely go to the first one found. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.