Wiki Extension suggest: Variables

Web discussions, including project website, forums, wiki, and others.
Post Reply
User avatar
nelson6e65
Peon
Peon
Posts: 68
Joined: 25 Aug 2010, 01:05
Location: Venezuela
Contact:

Wiki Extension suggest: Variables

Post by nelson6e65 » 17 Oct 2015, 20:17

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.
The Mana World - Comunidad Hispanohablante


"When we die, we go to the same place: Soul Menhir"nelson6e65
Edit: Well... Not anymore. u.u

nelson6e65: Image
Edward Elric: Image
Edward Elric (Hagane): Image
User avatar
wushin
TMW Adviser
TMW Adviser
Posts: 1756
Joined: 18 Dec 2012, 06:56
Location: RiverBest, Brew City, Merica
Contact:

Re: Wiki Extension suggest: Variables

Post by wushin » 17 Oct 2015, 21:41

Make a PR (Pull Request) on github and we can discuss. Could you give some page examples this would help on?
The secret to getting all the important stuff done is doing nothing.
Post Reply