Footnote conflicts when FOOTNOTEAREA called twice
- Status
- Open
- Subject
- Footnote conflicts when FOOTNOTEAREA called twice
- Version
- 17.x
18.x - Category
- Regression
- Feature
- Wiki Plugin (extends basic syntax)
- Resolution status
- New
- Submitted by
- Philippe Cloutier
- Lastmod by
- Philippe Cloutier
- Rating
- Description
When the FOOTNOTEAREA plugin is called more than once for a single context, footnote numbers are duplicated. For example, if a single wiki page contains 2 footnotes and that each is displayed in its own footnote area, both notes have the number 1. Moreover, clicking on the second footnote reference brings to the first footnote's content.
When a page displays several footnote areas because it contains several objects, it is OK to re-use footnote numbers. For example, if reading a list of articles and 2 articles use footnotes, it would be bad to use different footnote numbers than the numbers which would be used if viewing the articles individually. It is good that each article is displayed with a footnote number 1.
Unfortunately the parser has no idea about context up to Tiki 19. In Tiki 19, the second footnote area displays both footnotes, as in Tiki 16 and below, so the first footnote is duplicated. In Tiki 17 to 18, each footnote is displayed just once, the problem is a conflict between these.
- Solution
- This bug was solved by r65252
and r65257
. But it was re-introduced by r66044
, which works around Footnote re-use impossible (sameas FOOTNOTE parameter removed). - Importance
- 6
- Easy to solve?
- 7
- Priority
- 42
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7046
- Created
- Tuesday 19 March, 2019 15:10:24 UTC
by Philippe Cloutier - LastModif
- Tuesday 19 March, 2019 21:39:58 UTC