Moin,
On Friday 02 June 2006 01:02, Brion Vibber wrote:
Brion Vibber wrote:
The new one-pass tag stripping* is now in trunk and live on Wikimedia's sites. It passes all parser tests, and has additionally fixed bug 5384 (<!-- comments --> in <ref> tags).
- Comments are actually done on a separate pass, but unstripped back
into tag contents where they can be dealt with appropriately by the extension.
[snipabit]
Under the new system this can actually work correctly. The embedded second <ref> gets rendered during the rendering of the <gallery>, which is between the external first and third <ref>s. Since they're executed in the expected logical order, they keep that order in the references list.
Definitely an improvement.
Very cool. I am not sure if this will help my problem with nesting templates and extensions, but maybe I can nest some extension tags to achive the effect I want, namely:
{{slides|output=foo}}
and
{{slides|output=bar}}
to result in (inside the slides template):
{{navbar|txt= <slides output="{{{output}}}"> </slides> }}
e.g. the template parameter is passed somehow along to the extension. At the moment (well in 1.6.5) this doesn't work since {{{output}}} isn't replaced by the parameter text. I also tried to put the {{{output}}} inside the tags so:
{{navbar|txt= <slides> output={{{output}}} </slides> }}
but had no luck, either. But maybe now I can trick it into working by using some pseudo-extension tags.
Thanx a lot,
Tels