Project

General

Profile

Actions

Feature #974

closed

footnotes wiki markup

Added by Luca Pireddu over 16 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-04-02
Due date:
% Done:

0%

Estimated time:
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.

Actions #1

Updated by Ignacio Carrera over 16 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

Actions #2

Updated by Ignacio Carrera over 16 years ago

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

Redmine::WikiFormatting.to_html(a)

nachokb

Actions #3

Updated by Jan Losinski over 16 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.

Actions #4

Updated by Jean-Philippe Lang about 16 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.

Actions #5

Updated by Dmitry Pashkevich about 12 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.

Actions #6

Updated by Etienne Massip about 12 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.

Actions #7

Updated by Mischa The Evil over 11 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.

Actions

Also available in: Atom PDF