I’m not a developer so it would be great if either of you (Aryeh or
Mr.Z-man) could explain whether a character-counting parser function
(or similar tool) is currently available (or could be made) for
template authors to use. As for “we currently have no plans to enable
StringFunctions or any similar functionality on Wikimedia sites”, why
would that be a good plan? If it makes sense to Jimbo to have
character-counting a parser function, and to several template authors,
and to some editors who rely upon templates that could benefit from
such tools, then what is wrong a character-counting parser function?
Or is there something particular about “StringFunctions” that goes
beyond the straight and narrow requirements of the character-counting
parser function as required to implement {val} and {delimitnum}?
BTW: Has anyone looked at
http://en.wikipedia.org/wiki/Wikipedia_talk:Manual_of_Style_(dates_and_numbers)/Archive_94#Grouping_of_digits_after_the_decimal_point_.28next_attempt.29
The functionality required is explained there.
Greg L
On Jan 7, 2009, at 11:55 AM, Alex wrote:
Aryeh Gregor wrote:
> On Wed, Jan 7, 2009 at 8:36 AM, Andrew Garrett <[email protected]>
> wrote:
>> Wikitext is supposed to be a markup language, not a programming
>> language, and for this reason we currently have no plans to enable
>> StringFunctions or any similar functionality on Wikimedia sites.
>>
>> This is my understanding of Brion and Tim's position. Please correct
>> me if I'm wrong.
>
> My understanding is that StringFunctions isn't enabled because it
> hasn't passed review, and needs improvements before it can, but that
> it's planned to eventually merge it into ParserFunctions. Tim
> explicitly recommended that string-related functions be added to
> ParserFunctions:
>
> https://bugzilla.wikimedia.org/show_bug.cgi?id=6455#c36
>
I believe its LoopFunctions[1] and VariablesExtension[2] that have the
"programming language" issues, and DynamicFunctions[3], which also has
caching problems.
[1] <http://www.mediawiki.org/wiki/Extension:LoopFunctions>
[2] <http://www.mediawiki.org/wiki/Extension:VariablesExtension>
[3] <http://www.mediawiki.org/wiki/DynamicFunctions>
--
Alex (wikipedia:en:User:Mr.Z-man)
_______________________________________________
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