https://bugzilla.wikimedia.org/show_bug.cgi?id=46566

Brad Jorsch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Brad Jorsch <[email protected]> ---
getAllExpandedArguments does process arguments in order.

The linked discussion complains that the following parses list1 before below:

  {{Navbox with columns
  |navbar = plain
  |state = plain
  |title = Navbox with columns
  |list1 = Item<ref group="b">aaa</ref>
  |below = Reflist: {{reflist|group="b"}}
  }}

This is expected, considering that [[Template:Navbox with columns]] simply
calls [[Template:Navbox]] and passes {{{below|}}} to that template before
{{{list1}}}. Template:Navbox is the one that has the #invoke, so its argument
order is the order that is used by getAllExpandedArguments in pairs(
frame:getParent().args ).

The reason this sort of thing worked with the old parserfunction-based
templates is that the old version of Template:Navbox itself processed its
arguments in the expected order rather than in whatever order they were passed
to the template.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to