https://bugzilla.wikimedia.org/show_bug.cgi?id=3264


Philippe Verdy <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]




--- Comment #4 from Philippe Verdy <[EMAIL PROTECTED]>  2008-11-13 23:49:27 UTC 
---
Hmmm... I've just posted bug 16337 describing a more general ParserFunction
extension to handle what I call "Context Variables" (at first only "Global
Context Variables") for a similar task.

There's a page on Meta discussing it and why we need something like that for
existing problems on Wiktionary and similar multilingual projects on Commons
(where the same page needs specialization of templates according to a "language
context", without depending only on explicit template parameters.

Basically, it defined first the following two syntaxes {{#v:get:x}} and
{{#v:set:x|value}}, part of a proposal for a parserfunction identified by {{#v:
}} ("v" for "variable") and with general form {{#v:action:variableName|optional
parameters...}} and a default "action" which would be "get".

The syntax adopted here is very near from the syntax already used for template
parameters, and its use would be similar. No more embedded braces, no difficult
syntax with XML-like open/close tags, and more versatile, using an approach
that would be easy to adopt by existing MW template designers.

See [[Meta:GlobalContextVariables_Extension]] for the discussion started there,
and Bug 16337 where I have posted this reference and an introduction.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to