On 12 August 2010 10:12, Michael Dale mdale@wikimedia.org wrote:
I think the we should do server side msg parse and cache for everything it can, with variable substitution arguments like {{PLURAL:$1|value 1| value 2}} being delivered to the client in a way that it can manage relevant in-line substitutions.
I might be stating the obvious, but please do not forget that {{PLURAL}} handling (and number of its parameters) is language-dependent. The client-side JavaScript code handling this would have to be defined in LanguageXx.php.
-- [[cs:User:Mormegil | Petr Kadlec]]