Wouldn't a logging service make more sense ?
This sounds a lot like a hack to me.
On Mon, Jun 28, 2010 at 17:01, Caleb James DeLisle
<calebdelisle(a)lavabit.com> wrote:
I would like to start deprecating templates which are
no longer used and I think the right way is to make
the deprecated template throw a warning to the logs when it's called.
I am proposing adding a service which does nothing but is deprecated. Templates which we
deprecate will
have this call added and then users of said templates will have fair warning that the
template will be
removed.
Not knowing what the convention is I will blindly suggest:
$services.velocity.deprecated()
If anyone has a better name, I'd like to hear it.
WDYT?
Caleb
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne