Page MenuHomePhabricator

Add a generic function to sort template parameters to match the order of parameters passed
Open, Needs TriagePublic

Description

Basically, a template sorter that's generic and will accept a template invocation (or similar), and an ordered (defined by the caller) list of parameters, and will sort the template parameters (and their values) into that order

Event Timeline

rev 12512 does the main functionality of this... But the rebuilding of templates is horrible

If a template has TemplateData and has the order of parameters defined there, it should use that order.