Cannot have multiple put footnote sections in a single page

XWiki 14.10.13

Is it expected? The Put Footnote macro description says

Displays the footnotes defined so far. If missing, all footnotes are displayed by default at the end of the page.

I may by misunderstanding of course. To me this means I can have several Put footnote blocks in a single page, each only containing the footnotes added to the text before the current “Put footnote” block but after the previous one - or since the beginning of the page, if having only one.

But, if I add a second Put footnote macro with the in-place editor the macro disappears without any error.
If I use the WYSIWYG editor, the last Put footnote macro added replaces the previous one, effectively removing the old one from its position in the page.

Hi,

I’ve verified that no regression had happened and I confirm the following:

  • Only the last putFootnotes macro is honored
  • The putFootnotes macro lists all footnotes, even if some of them are defined after that macro

I’ll fix the doc.

Thanks

1 Like

Done, see https://extensions.xwiki.org/xwiki/bin/view/Extension/Footnote%20Macro

Cool, thanks. Will this be reflected in the macro description inside XWiki (editor) too?

Thanks for mentioning this, I hadn’t relalized it needs to be fixed there too. It’s now done for the English translation, see [Misc] Improve English translation to fix errors · xwiki/xwiki-platform@7493aaa · GitHub

For other languages, the community will need to help on https://l10n.xwiki.org

Thanks!

1 Like