Page MenuHomePhabricator

It's impossible to include <ref></ref> between two elements <ref> and </ref>.
Closed, ResolvedPublic

Description

Author: picsou-val31

Description:
Hello, I've a problem.
Effectively, in the page http://fr.wikipedia.org/wiki/Métro_de_Toulouse, I've include a note. After, I've wanted to sourcing this note with including <ref></ref>.
So my script was : "My text<ref>My note<ref>The source of my note</ref></ref>", and there was : "Erreur : cloture </ref> manquante pour la balise <ref>", and, just down : </ref>, without formating. Can you explain me why it is impossible to insert reference between two elements <ref> and </ref>, and solve out the bug ? Thanks.
P.-S. : Can you answer me in French ? I'm Frenche, and I am not a god English-speaker...


Version: unspecified
Severity: minor
URL: http://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Guilde_des_Guides/semaine_34_2009#.3Cref.3E.3Cref.3E.3C.2Fref.3E.3C.2Fref.3E

Details

Reference
bz20350

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:56 PM
bzimport set Reference to bz20350.
bzimport added a subscriber: Unknown Object (MLST).

[en] Er.. If you place a footnote in a footnote, then where can we place it?

[fr (Google Translate)] Er .. Si vous mettez une note dans une note, alors, où peut-on le lieu?

Adding bug 16330 as a dep (ordering of results is confusing if you do manage to get things nested).

I hope someone can translate this into French for you.

The software sees <ref> and takes everything until the next </ref> without looking at what is in between. It doesn't check for nested tags. There is a workaround using the #tag magic word, like this: "My text{{#tag:ref|My note<ref>The source of my note</ref>}}"

(In reply to comment #3)

I hope someone can translate this into French for you.

This is a brave attempt at that using rusty high school French.

The software sees <ref> and takes everything until the next </ref> without
looking at what is in between. It doesn't check for nested tags. There is a
workaround using the #tag magic word, like this: "My text{{#tag:ref|My
note<ref>The source of my note</ref>}}"

Le software voit <ref> et prend tout le text au prochaine </ref> sans regarder qu'est-ce qu'il y a entre les deux. Il ne regarde pas ou il y a un autre <ref>. Il y a un solution avec #tag, comme ça: "My text{{#tag:ref|My note<ref>The source of my note</ref>}}"

  • This bug has been marked as a duplicate of bug 1310 ***