Feature #974

footnotes wiki markup

Added by Luca Pireddu almost 10 years ago. Updated over 4 years ago.

Status:ClosedStart date:2008-04-02
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Wiki
Target version:-
Resolution:Wont fix

Description

It would be nice to be able to have footnotes on the wiki pages. Dokuwiki has a nice syntax:

You can add footnotes ((This is a footnote)) by using double parentheses.

Dokuwiki in my opinion has the best wiki markup out there. It could inspire many good features for the Wiki engine in Redmine.

Associated revisions

Revision 1941
Added by Jean-Philippe Lang over 9 years ago

Fixed: textile footnotes no longer work after r1113 (#974).

History

#1 Updated by Ignacio Carrera over 9 years ago

First of all, Redmine uses RedCloth for all its semantic formatting needs, which is an implementation of Textile.

Textile does indeed support footnotes, using the following syntax:

This is some foo[1].

fn1. And "foo" is related to "bar".

You can verify that indeed Textile supports footnotes (try that text with the link I provided). You can even try it with RedCloth:

RedCloth.new(text).to_html

The trouble is, Redmine extends RedCloth's parsing with its own processing (special links, and a few other extensions).

So, footnotes are not working (incidentally, in my job I'm still using 0.5.1, and it worked then!). Sadly, somewhere between 0.5.1 and 0.7.1.1415 footnotes parsing got broken.

A shame, as I used them frequently.

nachokb

#2 Updated by Ignacio Carrera over 9 years ago

And, ifI might add, you can see Redmine's modifications typing this in the console:

Redmine::WikiFormatting.to_html(a)

nachokb

#3 Updated by Jan Losinski over 9 years ago

Because I need footnotes I traversed all the redcloth revs in redmine and I found out, that the bug was born in r1113, which should fix ticket #210.

I think disable glyths at all is not the best solution.

#4 Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

Textile footnotes now work in r1941.
I like the Dokuwiki syntax, but Redmine uses Textile.

#5 Updated by Dmitry Pashkevich over 5 years ago

  • Status changed from Closed to Reopened

This seems to be partially broken in Redmine 2.0.3.stable.9893 that I am using.

The fn1. gets recognized and gets transformed in to supertext but the reference [1] isn't transformed into a link and left as is.

#6 Updated by Etienne Massip over 5 years ago

Dmitry Pashkevich wrote:

This seems to be partially broken in Redmine 2.0.3.stable.9893 that I am using.

The fn1. gets recognized and gets transformed in to supertext but the reference [1] isn't transformed into a link and left as is.

Works in 2.1, I think that the note reference must be placed right after the word with no space between them.

#7 Updated by Mischa The Evil over 4 years ago

  • Status changed from Reopened to Closed

Etienne Massip wrote:

Dmitry Pashkevich wrote:

This seems to be partially broken in Redmine 2.0.3.stable.9893 that I am using.

The fn1. gets recognized and gets transformed in to supertext but the reference [1] isn't transformed into a link and left as is.

Works in 2.1, I think that the note reference must be placed right after the word with no space between them.

Etienne is right about this. Syntax must be like:

Text with a footnote[1]
...
...
fn1. and here the actual footnote.

Otherwise this issue is outdated and long fixed. The actual issue regarding broken footnotes parsing was introduced in r1113 and fixed in r1941.

Also available in: Atom PDF