On Aug 5, 2007, at 11:34 PM, Simetrical wrote:
On 8/5/07, Jim Hu <jimhu(a)tamu.edu> wrote:
Templates
are always substituted before any other wikimarkup parsing
occurs. Changing that would break everything.
That makes sense to me! Has it always been the case? I vaguely
recall some time in the past where template substitution and Cite
weren't happening in the desired order from the pov of some Cite
users.
Well, I fudged that part a bit. ;) Actually it's more correct to say
that substitution of parser tags like <ref> happens first;
substitution of things in curly braces (other than subst) happens
second; and then everything else happens. This way the results of
parser tags/templates can be treated as wikisyntax. But they don't
have to be, I don't think. Certainly parser functions don't have to
output wikitext. Which is why I dodged them in my last post, because
I don't know offhand exactly how they work.
cool. It's what I thought, then, i.e. it's still true that <ref>
inside a template/transclusion doesn't trigger Cite? I assume
there's a reason why doing parser tags after templates would break
something else.
Jim
In any case, as far as I know, templates have output wikitext since
their inception.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054