Given the following text
<out2>blah <in2>blah</in2></out2> <out1>blah <in1>blah</in1></out1>
where out1, in1, in2, out2 are tags defined as usual in that order. In which order are these tags "expanded"?
out1 in1 in2 out2 (ie, as defined)? out2 in2 out1 in1 (ie, as found)? in2 out2 in1 out1? Someting else?
Thanks Javier .................. www.wikilengua.org
I'm pretty sure it's as found. The inner tags will not expend if the outer tags do not specifically allow them to do so. (i.e. if out2 doesn't parse the input, it just manipulates it in2 will never get a chance to run.)
-Courtney
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Javier Bezos Sent: Friday, November 21, 2008 5:42 AM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] Order of tag extensions
Given the following text
<out2>blah <in2>blah</in2></out2> <out1>blah <in1>blah</in1></out1>
where out1, in1, in2, out2 are tags defined as usual in that order. In which order are these tags "expanded"?
out1 in1 in2 out2 (ie, as defined)? out2 in2 out1 in1 (ie, as found)? in2 out2 in1 out1? Someting else?
Thanks Javier .................. www.wikilengua.org
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org