Yes, I heard about that one. Do you think it is more feasible to fix  
Extension:StringFunctions or to just make a new, specialized one? -Greg


On Jan 5, 2009, at 8:58 PM, Chad wrote:

On Mon, Jan 5, 2009 at 11:54 PM, Greg L  
<[email protected]>wrote:

> Hi,
>
> I'm new to this venue so please have patience with me. Jimbo suggested
> I contact Erik and Erik said I should post here.
>
> Wikipedia authors of magic words and templates could really use a
> character-counting parser function. All the background information can
> be found here:
>
>
> http://en.wikipedia.org/w/index.php?title=User_talk:Jimbo_Wales&oldid=260819871
> - Developer_support_for_parser_function
>
> In a nutshell though, there is currently a template on en.Wikipedia
> called {{val}} that delimits numbers (places what appears to be
> thinspaces very three characters in scientific notation). It currently
> must use math-based techniques to parse the value and this results in
> rounding errors 5–10% of the time.
>
> A character-counting parser function would accept interrogations such
> as "Are there more than four characters remaining in the string when
> counting right from the decimal point?" And "If so, feed me three more
> characters." Such a parser function would be very handy for many other
> purposes. With a good, bullet-proof parser function, our small army of
> template authors could produce some nice new tools.
>
> I can be reached at [email protected]
>
> Greg
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>

There's http://www.mediawiki.org/wiki/Extension:StringFunctions, but
it had some issues (which caused a reversal of a merge with Parser
Functions). IIRC, it was mentioned at the time that without some
improvements, it wouldn't get enabled on WMF wikis.

-Chad
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


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

Reply via email to