On 29.05.2012 18:58, Gregor Hagedorn wrote:
Would it not be error prone to have the item setting
being inherited
in a subtemplate, which, on its own, expects to refer to the default
item?
Well, conceptually, I'd say that a template works on whatever was the default
item for the caller - that's actually consistent, not breaking any assumptions.
It would be more confusing to have it otherwise, imho.
But as Gabriel points out, this is nasty to implement, because it constitutes
"context" apart from the actual parameters.
-- 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.