Loading...
 
Skip to main content

Duplicated footnotes are not detected any more.

Status
Closed
Subject
Duplicated footnotes are not detected any more.
Version
15.x Regression
Category
  • Regression
Feature
Wiki Plugin (extends basic syntax)
Resolution status
Fixed or Solved
Submitted by
Jean-Marc Libs
Volunteered to solve
Jean-Marc Libs
Lastmod by
drsassafras
Rating
(0)
Description

When the same footnote is reproduced, this was detected in Tiki12 and both had the same number and would link to the same item in footnotearea

Now, as can be seen in our explanation page: https://doc.tiki.org/PluginFootnote duplicated footnotes are shown twice (the 3 & 4 both show Ibid.)

Using "sameas" option is not really a good solution because adding a footnote above other footnotes does not recalculate the sameas parameter even though the number of the previous footnote changed.

It seems the regression was introduced by: http://sourceforge.net/p/tikiwiki/code/53263 but a simple rollback would remove the "class" option.

I suggest recovering the duplicate detection and also adding two new optional options:
Id (alnum)
sameasId (alnum)

so we can express that a footnote is the same as another by Id. This way, adding new footnotes only changes the numbers (displayed), not the Ids (not displayed).

Solution

http://sourceforge.net/p/tikiwiki/code/59134
Please test/comment before backport to Tiki15

Importance
8
Easy to solve?
8
Priority
64
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6021
Created
Thursday 07 July, 2016 17:53:54 UTC
by Jean-Marc Libs
LastModif
Sunday 26 February, 2017 14:43:12 UTC


Show PHP error messages