William Allen Simpson wrote:
Conrad Dunkerson wrote:
- Tim Starling wrote:
The extension for mathematical expressions and conditional constructs has been enabled on all Wikimedia wikis, on a trial basis. Documentation is at:
http://meta.wikimedia.org/wiki/ParserFunctions
See the talk page for discussion.
Great! Wonderful job Tim! This is wonderful and will vastly simplify tons of things.
When Tim says "trial", how is the testing coordinated? Shouldn't it be tried on a few not too prominent places, rather than fix every qif now?
Where should I be looking for posts coordinating this?
The main reason I'm calling it a trial is to avoid appearing to have made a unilateral decision to enable it permanently. The critics of this concept now have one final chance to turn community opinion against it, before it becomes ingrained. However the reception has generally been positive. I've received a number of private compliments on it, in addition to what can be seen publically.
There's also the possibility of bugs and syntax changes. We've already had one syntax change: I changed the whitespace handling in #if to mirror the behaviour in template parameters, to allow for easier conversion and neater multi-line syntax. There's also a pending suggestion to allow whitespace between the #if and the colon, and a suggestion to make #if treat "0" as true, both of which may well be implemented.
One of Gangleri's syntax suggestions sounded quite reasonable and I may well implement it. The idea if I understand it correctly was to treat pipe characters beyond the specified maximum number of arguments literally, e.g. {{#if: 1 || literal pipe: | }}.
-- Tim Starling