On Tue, 30 Jun 2009 22:53:36 +0100, Thomas Dalton wrote:

> 2009/6/30 Steve Sanbeg <ssan...@ask.com>:
>> On Tue, 30 Jun 2009 21:38:07 +0100, Thomas Dalton wrote:
>>
>>> 2009/6/30 Michael Daly <michael.d...@kayakwiki.org>:
>>
>>> How does that work with anonymous variables? Are all $[NUMBER] style
>>> names count as auto-declared?
>>>
>>
>> They're not anonymous, they're just named sequentially.
> 
> They are anonymous when you call the template, though. The names are
> determined by the order in the call rather than written explicitly.
> They do need to be considered separately.

Anonymous would mean they don't have names, which isn't the case.  They
are named, but those names may, or may not, be implicit.  Currently, they
aren't handled separately; the parser names any unnamed arguments prior to
calling the template, which has no way of knowing how they were named; to
the template, they're all just named arguments  {{t|a|b}} is the same as
{{t|2=b|1=a}} or even {{t|2=a|b}}.



_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to