Item13434: FootNotePlugin screws up WebChanges Layout

pencil
Priority: Urgent
Current State: Confirmed
Released In: n/a
Target Release:
Applies To: Extension
Component: FootNotePlugin
Branches:
Reported By: LieVen
Waiting For:
Last Change By: GeorgeClark
FootNotePlugin is working properly, but it seems to mess up my Webchanges results. I'm not sure this is the problem, maybe it's something else - anyway the problem starts at the position where the footnote is displayed in the changes results. It gives an incorrect link and moves other results down to the end of the page. The following image will show the problem.

(click to enlarge)

Webchanges.jpg

If you like, you can check the page directly: http://www.klingonwiki.net/De/WebChanges

Thanks for any answer. -- LieVen - 25 May 2015

I think what's going on is that the non-standard footnote syntax {{ ... }} is truncated in the summary, and the regex which extracts the footnote in the "common tags handler" runs away and matches all of the summaries until it finds a summary with an ending }}.

I'm not sure if there's a great way to fix this. We could try to hack the Footnote hander to exclude foswikiSummary divs which are generated in WebChanges. Another way would be to convert the extension to use a %FN{} conventional macro instead of the {{ }} markup. Another option would be to disable the extension on pages like the WebChanges page. That might be more reasonable as it's unlikely that footnotes would be useful on that page. (Actually it would need to be disabled on any pages using SEARCH macros with topic summaries).

-- GeorgeClark - 15 Aug 2016

FootNotePlugin is broken by its own design. It needs a rewrite.

-- MichaelDaum - 16 Aug 2016
 

ItemTemplate edit

Summary FootNotePlugin screws up WebChanges Layout
ReportedBy LieVen
Codebase 1.1.9
SVN Range
AppliesTo Extension
Component FootNotePlugin
Priority Urgent
CurrentState Confirmed
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
I Attachment Action Size Date Who Comment
Webchanges.jpgjpg Webchanges.jpg manage 313 K 22 Feb 2015 - 19:34 LieVen scrambled up WebChanges results
Topic revision: r5 - 25 Sep 2016, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy