Page 1 of 1

Wiki Extension suggest: Variables

Posted: 17 Oct 2015, 19:17
by nelson6e65
I would like to suggest the Extension:Variables for the Wiki.
The Variables extension allows you to define a variable on a page, use it later in that same page or included templates, change its value, possibly to a value given by an expression in terms of the old value, etc.

It is much like a template, only very lightweight and scoped to only a single page, so you can use many variables on a page without slowing down the wiki with huge numbers of templates.
This will make easier the templates creation job, specially when using Parser functions, like #switch or #ifexist.

Re: Wiki Extension suggest: Variables

Posted: 17 Oct 2015, 20:41
by wushin
Make a PR (Pull Request) on github and we can discuss. Could you give some page examples this would help on?