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

--- Comment #112 from Marcus Buck <[email protected]> 2010-11-19 19:35:53 UTC 
---
As far as I can see all of the StringFunctions are already present in
template-implemented versions now. Just in an inefficient way. So any "abuse"
(quotation marks because of Le Chat's good remark) would be possible already
now.

Does anybody have any ideas in which direction possible "abuse" could go? I
cannot think of any new class of functionality that would become possible if we
allowed StringFunctions. The template-based string functions too were not
enabled by ParserFunctions alone. Template-based string functions would be
impossible without "padleft:" and "padright:". These two are string functions.
It's clear that when you provide a single string function and simple logic,
that other string functions can be emulated. That door was left open and people
walked through. But if StringFunctions do not open new doors nothing bad can
happen. I don't see open doors in them. If you do see them, please report.

I guess we can safely assume that when you provide functionality people will
_always_ test the limits of the functionality. It doesn't matter how few or how
amazingly much functionality you provide. They will test it limits. It's almost
a law of nature. That's normal and we will never have success with "We provide
this functionality but please don't fully utilize it".

We have to put limitations on functionality because we need to limit the
computation cost and rendering time. If we replace the template-based string
functions with extension-based StringFunctions we will reduce computation cost
and rendering time. That's a good thing. If you want to secure that this gain
will not be consumed by increased use of the functions then set limitations on
how many instances of the functions can be called on a single page.

By the way, I'm sure there are wikis with activated StringFunctions. Are there
any reports that these wikis had problems with it? If there are any open doors
in them, I'm sure somebody must have discovered them already!?

-- 
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 on the CC list for the bug.

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

Reply via email to