On 21 August 2010 13:46, Jeroen De Dauw jeroendedauw@gmail.com wrote:
Example:
You enter: {{display_map:foobar}}
Then save the page, and when you edit, it shows: {{display_map:93.42, 12.34}}
What hook would be suited for such a thing?
None of them. Either store it out-of-band, or require users to subst: - it's not possible to do anything else in a consistent manner. Consider the behaviour of a template containing: {{display_map: {{{1}}} }}.
Conrad
________________________________________
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l