[WikiEN-l] MediaWiki is getting a new programming language

Carcharoth carcharothwp at googlemail.com
Fri Jul 3 20:40:11 UTC 2009


On Fri, Jul 3, 2009 at 9:28 PM, Apoc 2400<apoc2400 at gmail.com> wrote:

<snip>

> {{Birth date and age}} is a rather popular template we use to show a persons
> birth date and automatically calculate the current age. It allows us to
> provide this without having to update it every year. I guess some developers
> hate us for doing something like that in wikicode, but hey, it works. The
> only problem it that it's hard to read in the article code. It is used as
> {{Birth date and age|1993|2|4|mf=yes}}. If we had the StringFunctions
> extension enabled it could be simplified to take dates like 1993-02-04
> rather than 1993|2|4. Perhaps it could even take plain text dates like
> "February 4, 1993". If we had the variables extension one could specify the
> dateformat (month or day first) in one place in the article and template
> like {{Birth date and age}} would follow.

I think we *already* have templates that can take February 4, 1993 (or
something similar). They had some weird name, similar to the current
templates, but slightly different. I can't find them right now, but
maybe someone else remembers them?

Carcharoth



More information about the WikiEN-l mailing list