On 22.05.2012 22:37, Gabriel Wicke wrote:
{{{data.color}}} would be inaccessible to Lua
templates, unless it is
expanded as a parameter in a custom preprocessor frame and then passed
by value to the Lua template. The custom preprocessor frame code would
be specific to the current PHP preprocessor, and incompatible with other
parsers.
A parser function call with explicit item parameter on the other hand
would work as-is through the generic API- be it from Lua or Parsoid.
even though {{{data}}} wouldn't be text, but a complex data object that needs
special handling when evaluating it to wikitext?
-- daniel
--
Daniel Kinzler, Softwarearchitekt
Wikimedia Deutschland e.V. | Eisenacher Straße 2 | 10777 Berlin
http://wikimedia.de | Tel. (030) 219 158 260
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt
für Körperschaften I Berlin, Steuernummer 27/681/51985.